by i-Bot » Mon Jun 26, 2006 9:40 pm
by i-Bot
Mon Jun 26, 2006 9:40 pm
While there are two serial ports on the C3024, they are both very sloooww.
The RS232 port which connects to the PC operates at 9600 BPS for the conection protocol. Hitec have given some of the protocol, and we have discovered some more:
http://web.ukonline.co.uk/r.ibbotson/fi ... Serial.pdf
Whilst some of the commands are complex moves, the capability would seem limited to performance of motion sequences by the speed. There is not enough speed to continually update multiple servos from a gyro via this interface.
The alternative serial port is the ERX and ETX, which is meant to operate at 115K. This serial port is only accessible from intermediate code created in Robobasic and downloaded to the C3024 EEPROM. The interpretation of intermediate code from the C3024 EEPROM seems also very sloooww. Even simple commands take a few mSec. While a Robobasic program to parse the commands and perform the actions is not complex, it will again likely be too slow to meet your realtime needs.
So unless Hitec release an new firmware version for the C3024, then both these options seem limited.
The alternative to replace the board is OK. The C3024 board does perform position feedback, but many other boards are capable. Some boards are not hardware capable of reading and measuring pulse widths on the servo ports ! The position feedback is of little use for realtime motion control due to limitations of the HSR 8489 servo protocol:
http://web.ukonline.co.uk/r.ibbotson/fi ... 0Servo.pdf
Since the position feedback is only of real use to read limb positions during programming, the software to perform this function is not too difficult for most alternative controllers.
The group capabilities and sychronised moves which the C3024 performs are good, and you should find a controller, which also has this capability. This capability when implemented properly can quite a hog of processing power.
While there are two serial ports on the C3024, they are both very sloooww.
The RS232 port which connects to the PC operates at 9600 BPS for the conection protocol. Hitec have given some of the protocol, and we have discovered some more:
http://web.ukonline.co.uk/r.ibbotson/fi ... Serial.pdf
Whilst some of the commands are complex moves, the capability would seem limited to performance of motion sequences by the speed. There is not enough speed to continually update multiple servos from a gyro via this interface.
The alternative serial port is the ERX and ETX, which is meant to operate at 115K. This serial port is only accessible from intermediate code created in Robobasic and downloaded to the C3024 EEPROM. The interpretation of intermediate code from the C3024 EEPROM seems also very sloooww. Even simple commands take a few mSec. While a Robobasic program to parse the commands and perform the actions is not complex, it will again likely be too slow to meet your realtime needs.
So unless Hitec release an new firmware version for the C3024, then both these options seem limited.
The alternative to replace the board is OK. The C3024 board does perform position feedback, but many other boards are capable. Some boards are not hardware capable of reading and measuring pulse widths on the servo ports ! The position feedback is of little use for realtime motion control due to limitations of the HSR 8489 servo protocol:
http://web.ukonline.co.uk/r.ibbotson/fi ... 0Servo.pdf
Since the position feedback is only of real use to read limb positions during programming, the software to perform this function is not too difficult for most alternative controllers.
The group capabilities and sychronised moves which the C3024 performs are good, and you should find a controller, which also has this capability. This capability when implemented properly can quite a hog of processing power.