I have been trying to write my own code to control the robot and so far I have been trying to prove that I can get a good connection and send commands but I didn't quite manage that. I have tried multiple bits of codes and used some snippets from the AR4 source code as well as some of the last commands sent using the actual application to make sure the format of the command wasn't the problem.
Please see below the few snippets I have tried. Anyone has any pointers on what I could be doing wrong?
I'm on the right COM port as it is detected by my laptop and throws me an error if I run the code without something plugged in COM3. I have tried both 115200, 9600 as baud rate. Which one is the right one? The source code seemed to use both.
Sorry, not the most experienced on that front... :)