by Dimitris » Sat May 22, 2010 11:03 am
by Dimitris
Sat May 22, 2010 11:03 am
animemastr: Yes, that's exactly what's supposed to happen! After downloading the new program, pressing the red button or '#' reboots the CM-5. The output you see is the new menu which the supervisor displays. Here you can perform various functions such as:
Pressing 'i' and then the ID of a servo (and Enter) will output info about that servo.
Pressing 'x' scans for servos connected to the CM-5. You will notice that the program returns an 'ok' or 'missing' message if it finds or fails to find servos with ID 1,2,3 and returns 'surplus' for the others. This is because the example main program is set up to control the position of the first 3 servos.
Pressing 'g' or the CM-5 start button will start this main program, constantly displaying the positions of the 3 servos. Pressing q,w,e moves servos one way, and a,s,d the other way. Uppercase commands make the increments larger.
The best way to get an initial understanding of the code is to have a look at the supervisor.c code (in /libbioloid/bioloid), and the main function of example.c.
The problem I have is that most menu functions work, apart from the part which controls the servos using the keyboard. Let me know if you have better luck.
animemastr: Yes, that's exactly what's supposed to happen! After downloading the new program, pressing the red button or '#' reboots the CM-5. The output you see is the new menu which the supervisor displays. Here you can perform various functions such as:
Pressing 'i' and then the ID of a servo (and Enter) will output info about that servo.
Pressing 'x' scans for servos connected to the CM-5. You will notice that the program returns an 'ok' or 'missing' message if it finds or fails to find servos with ID 1,2,3 and returns 'surplus' for the others. This is because the example main program is set up to control the position of the first 3 servos.
Pressing 'g' or the CM-5 start button will start this main program, constantly displaying the positions of the 3 servos. Pressing q,w,e moves servos one way, and a,s,d the other way. Uppercase commands make the increments larger.
The best way to get an initial understanding of the code is to have a look at the supervisor.c code (in /libbioloid/bioloid), and the main function of example.c.
The problem I have is that most menu functions work, apart from the part which controls the servos using the keyboard. Let me know if you have better luck.