by joerg.wolf » Thu Jun 12, 2008 10:46 am
by joerg.wolf
Thu Jun 12, 2008 10:46 am
1) this is code that runs on the CM5?
2) the CM5 is linked to an analog input gyro ?
3) the code reads from the PDA commands and executes motions there were produced by standard Motion-Editor and are stored on EEPROM?
Hi Limor,
1) The code is for a CM5 correct.
2) There is code for an analog input Gyro, correct, but it is not active, is just something to play around with.
3) You can make it play pages from the Motion editor when you send a command from the PC or PDA to the CM5.
The command is described in "BLC-Protocol.h":
- Code: Select all
0 1 2 3 4 5 6 7 8 9
C C C
[ O P1 P2 P3 P4 P5 R R ]
M C C
COM stands for "command"
Px stands for "Parameter"
if COM == DO_PAGE then P1 contains the page number
if COM == DO_POSE then P1 contains the page number and P2 the pose number
if COM == STOP_NOW then the robot will freeze imidiately
if COM == STOP_POSE then the robot will stop at the end of the next pose
if COM == STOP_PAGE then the robot will stop at the end of the next page
if COM == VERSION then the robot will reply with a text string [BLV1.11]
(Useful command to see if the robot controller is connected)
if COM == TURN_SERVO then P1 = servono , P2 = HSB Pos , P3 = LSB Pos, P4 = HSB Speed , P5 = LSB Speed
regards,
Joerg
1) this is code that runs on the CM5?
2) the CM5 is linked to an analog input gyro ?
3) the code reads from the PDA commands and executes motions there were produced by standard Motion-Editor and are stored on EEPROM?
Hi Limor,
1) The code is for a CM5 correct.
2) There is code for an analog input Gyro, correct, but it is not active, is just something to play around with.
3) You can make it play pages from the Motion editor when you send a command from the PC or PDA to the CM5.
The command is described in "BLC-Protocol.h":
- Code: Select all
0 1 2 3 4 5 6 7 8 9
C C C
[ O P1 P2 P3 P4 P5 R R ]
M C C
COM stands for "command"
Px stands for "Parameter"
if COM == DO_PAGE then P1 contains the page number
if COM == DO_POSE then P1 contains the page number and P2 the pose number
if COM == STOP_NOW then the robot will freeze imidiately
if COM == STOP_POSE then the robot will stop at the end of the next pose
if COM == STOP_PAGE then the robot will stop at the end of the next page
if COM == VERSION then the robot will reply with a text string [BLV1.11]
(Useful command to see if the robot controller is connected)
if COM == TURN_SERVO then P1 = servono , P2 = HSB Pos , P3 = LSB Pos, P4 = HSB Speed , P5 = LSB Speed
regards,
Joerg