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

Control Boards running C, C++, ect.

Discussions regarding building a walking robot at home. Most of the robots participating at Robo-One competitions are custom fabricated.
3 postsPage 1 of 1
3 postsPage 1 of 1

Control Boards running C, C++, ect.

Post by NewBreedWarrior » Thu Nov 16, 2006 8:53 am

Post by NewBreedWarrior
Thu Nov 16, 2006 8:53 am

I searched a little for this topic, and did not dig to far but I felt like this needs to be up on the home built portion of the forum......OK so I have a RN-1.....which I hate robobasic the board itself is good but....limited due to its "secret" coding and booting process...yeah so what would be a great board from off the shelf to program in C,C++ that has some satisfying I/O pins and easy connection for (gyros, bluetooth, tilt, range, sensors on and so forth? I know that Avr tools have a great community behind them and C++ is the god like language it seems. Any bt of knowledge is and would be helpful
I searched a little for this topic, and did not dig to far but I felt like this needs to be up on the home built portion of the forum......OK so I have a RN-1.....which I hate robobasic the board itself is good but....limited due to its "secret" coding and booting process...yeah so what would be a great board from off the shelf to program in C,C++ that has some satisfying I/O pins and easy connection for (gyros, bluetooth, tilt, range, sensors on and so forth? I know that Avr tools have a great community behind them and C++ is the god like language it seems. Any bt of knowledge is and would be helpful
In the fell clutch of circumstance
I have not winced nor cried aloud.
Under the bludgeonings of chance
My head is bloody, but unbowed.
NewBreedWarrior
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 53
Joined: Fri Jul 28, 2006 1:00 am
Location: United States, Kentucky

Post by limor » Sat Nov 18, 2006 1:16 pm

Post by limor
Sat Nov 18, 2006 1:16 pm

The AVR CPU's are programmed with C not C++. Try compiling some code involving multiple inheritance or derived classes. The by-product code produced by the compiler is substantial and there are no spare cycles to allow such things.

IMHO the language used to program these microcontrolers is not a big factor. be it C or Basic or Forth. most of the debugging and hard work is in tweaking the registers. The "high level language" for microcontrolers only takes you one notch up from assembly code. So you don't have the advantage of OOD reusable code. It is very different than a windows or linux environment that have 3Ghz cpu, drivers, processes and threads.

As for board selection, there were a few threads the past months on the RN1 and Bioloid forums regarding replacing of the boards. Search the words replacing and board.
I'm currently evaluating an exciting new board from Japan specifically designed for Hitec/Kondo servo humanoids and based on Renesas M30260F6AGP which may end up being sold exclusively here on RoboSavvy.
The AVR CPU's are programmed with C not C++. Try compiling some code involving multiple inheritance or derived classes. The by-product code produced by the compiler is substantial and there are no spare cycles to allow such things.

IMHO the language used to program these microcontrolers is not a big factor. be it C or Basic or Forth. most of the debugging and hard work is in tweaking the registers. The "high level language" for microcontrolers only takes you one notch up from assembly code. So you don't have the advantage of OOD reusable code. It is very different than a windows or linux environment that have 3Ghz cpu, drivers, processes and threads.

As for board selection, there were a few threads the past months on the RN1 and Bioloid forums regarding replacing of the boards. Search the words replacing and board.
I'm currently evaluating an exciting new board from Japan specifically designed for Hitec/Kondo servo humanoids and based on Renesas M30260F6AGP which may end up being sold exclusively here on RoboSavvy.
limor
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 1845
Joined: Mon Oct 11, 2004 1:00 am
Location: London, UK

Post by beermat » Sat Nov 18, 2006 2:55 pm

Post by beermat
Sat Nov 18, 2006 2:55 pm

limor, can you talk about more about what the new board can offer a RN/KHR owner?
limor, can you talk about more about what the new board can offer a RN/KHR owner?
beermat
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 137
Joined: Sun Jul 23, 2006 1:00 am


3 postsPage 1 of 1
3 postsPage 1 of 1