Legacy Forum: Preserving Nearly 20 Years of Community History - A Time Capsule of Discussions, Memories, and Shared Experiences.

Looking for C librairie or help

Hitec robotics including ROBONOVA humanoid, HSR-8498HB servos, MR C-3024 Controllers and RoboBasic
2 postsPage 1 of 1
2 postsPage 1 of 1

Looking for C librairie or help

Post by BlackDiamond » Fri Jul 07, 2006 10:19 am

Post by BlackDiamond
Fri Jul 07, 2006 10:19 am

Hi guyz.

I'm currently working for my university on Robonova. That's the first time i'm dealing with robots. The aim of my job is to integrate an interface between RN and the university's neural network simulator.

Did anybody already code C functions to program Robonova? (Move servos, read servos values, simulate the ir remote contro, manage servos speed...)?

I saw that some of you were working on the serial dialog protocol with the robot. I used the PDF to send few commands through the serial port (activate/desactivate servos, basic moves...) but it seems that the PDF isn't complete and i really don't see how to upload some embedded code into the robot.

If some of you are working on this, can they bring me some help ? i will send my contribution in return if i can participate into a C interface.

PS : sorry if my english sux, Frenchies aren't good in foreign languages :)
Hi guyz.

I'm currently working for my university on Robonova. That's the first time i'm dealing with robots. The aim of my job is to integrate an interface between RN and the university's neural network simulator.

Did anybody already code C functions to program Robonova? (Move servos, read servos values, simulate the ir remote contro, manage servos speed...)?

I saw that some of you were working on the serial dialog protocol with the robot. I used the PDF to send few commands through the serial port (activate/desactivate servos, basic moves...) but it seems that the PDF isn't complete and i really don't see how to upload some embedded code into the robot.

If some of you are working on this, can they bring me some help ? i will send my contribution in return if i can participate into a C interface.

PS : sorry if my english sux, Frenchies aren't good in foreign languages :)
BlackDiamond
Newbie
Newbie
User avatar
Posts: 1
Joined: Fri Jul 07, 2006 1:00 am

Post by i-Bot » Fri Jul 07, 2006 12:50 pm

Post by i-Bot
Fri Jul 07, 2006 12:50 pm

The pdf is not complete, but we are not going to get much more about the serial protocol, since we only have the meager information from Hitec plus what is captured from normal RoboBasic or Roboscript transactions. You can make the Robonova do pretty much anything with these commands, but the limitation is the 9600 serial speed.

To program the Robonova, requires to go one level deeper. The intermediate byte code which is downloaded to the Robonova using the download command is created from RoboBasic. The code created from RoboScript is identical, only having less commands, and doing some extra intitialisation. The download protocol is pretty simple and the script is put into the Robonova EEPROM. It can be executed from the start command.

So what of the actual intermediate code ? Well it is byte aligned, so fairly easy to read. GOTOs use actual physical EEPROM addresses, and variables are allocated in RAM starting at location 0x40.

So you could create your own intermediate code for the Robonova to execute. Execution is still fairly slow with a few ms per instruction.

If there is interest, I can document the intermediate code format. I already have many of the keywords, variables, constants. I am not an expert in such areas, so it may be best if I just dump down what I know first, then someone who understands interpreters and syntax descriptions could help describe the structure properly.
The pdf is not complete, but we are not going to get much more about the serial protocol, since we only have the meager information from Hitec plus what is captured from normal RoboBasic or Roboscript transactions. You can make the Robonova do pretty much anything with these commands, but the limitation is the 9600 serial speed.

To program the Robonova, requires to go one level deeper. The intermediate byte code which is downloaded to the Robonova using the download command is created from RoboBasic. The code created from RoboScript is identical, only having less commands, and doing some extra intitialisation. The download protocol is pretty simple and the script is put into the Robonova EEPROM. It can be executed from the start command.

So what of the actual intermediate code ? Well it is byte aligned, so fairly easy to read. GOTOs use actual physical EEPROM addresses, and variables are allocated in RAM starting at location 0x40.

So you could create your own intermediate code for the Robonova to execute. Execution is still fairly slow with a few ms per instruction.

If there is interest, I can document the intermediate code format. I already have many of the keywords, variables, constants. I am not an expert in such areas, so it may be best if I just dump down what I know first, then someone who understands interpreters and syntax descriptions could help describe the structure properly.
i-Bot
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 1142
Joined: Wed May 17, 2006 1:00 am


2 postsPage 1 of 1
2 postsPage 1 of 1