Writing a new language to replace robobasic

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

Writing a new language to replace robobasic

Post by tum » Mon May 12, 2008 2:08 am

Post by tum
Mon May 12, 2008 2:08 am

I'm pretty frustrated with robobasic. It doesn't support functions, multiple logical operations, etc.

I've got a background in compiler construction and I'm contemplating writing a new language for the robonova but I'm pretty new to the C3024 so I'm not quite sure how difficult it will be to integrate with the existing robonova functions.

There are two approaches:

- Have the compiler output robobasic bytecode. This will only be possible if the robobasic bytecode is low level enough to support all the features with decent speed.

- Replace the firmware with a new one and write an interpreter and for the language in C. I think this would be the better option.

I know that i-bot has managed to hack the firmware and wrap the hitec assembly routines for move, gyroset, etc with equivalent C functions.

A question for I-Bot:

How easy is it to setup the C3024 so that it can be programmed from C (with full access to robonova functions like MOVE etc)?
I'm pretty frustrated with robobasic. It doesn't support functions, multiple logical operations, etc.

I've got a background in compiler construction and I'm contemplating writing a new language for the robonova but I'm pretty new to the C3024 so I'm not quite sure how difficult it will be to integrate with the existing robonova functions.

There are two approaches:

- Have the compiler output robobasic bytecode. This will only be possible if the robobasic bytecode is low level enough to support all the features with decent speed.

- Replace the firmware with a new one and write an interpreter and for the language in C. I think this would be the better option.

I know that i-bot has managed to hack the firmware and wrap the hitec assembly routines for move, gyroset, etc with equivalent C functions.

A question for I-Bot:

How easy is it to setup the C3024 so that it can be programmed from C (with full access to robonova functions like MOVE etc)?
tum offline
Savvy Roboteer
Savvy Roboteer
Posts: 34
Joined: Fri Jun 08, 2007 5:28 am

1 postPage 1 of 1
1 postPage 1 of 1
cron