Results 1 to 5 of 5

Thread: How to program a bioloid with C

  1. #1
    Hamed Guest

    How to program a bioloid with C

    Hi.
    I have a bioloid comprehensive kit to work on a Q-learning project.I've read in some sites which sell this kit that for programming there is a program called "Behaviour Control Program" and experts can program with C. I'm wondering whether anyone here knows how to do that. Before I make a new thread here i have searched this forum but there wasn't a good result.If you know please tell me how to do that exactly!besides I know programming with C.
    thanks

  2. #2
    Join Date
    Sep 2010
    Location
    ಠ_ಠ
    Posts
    2,296
    Images
    27
    Rep Power
    278

    Re: How to program a bioloid with C

    If you are referencing the program I think you are, then you need to upgrade your software. Robotis released a new software suite a while ago called RoboPlus. It is much easier to use and the programming language is based primarily on C. That said, they also provided Embedded C libraries for use by anyone who wants them, but unfortunately they do not seem to have placed the CM-5 library on their support site (It is unlikely you have a CM-510 or CM-700 with a comprehensive kit). If you have a CM-5 and want to use Embedded C, you will need the cd that should be included with you kit named "BioloidCD2" containing a folder named "Bioloid SDK". Within this is another folder named "CM-5", which contains the compiled library, the required header, and a few example programs. In case you do not have the CD, I have uploaded the CM-5 SDK to the Data Center (see the last link of this post).


    Old version of Robotis' software (In no way do I recommend this):
    http://www.robotis.com/xe/download_en/20614

    New RoboPlus software (highly recommended if you are not using Embedded C):
    http://www.robotis.com/xe/download_en/29345

    If you do happen to have a CM-510 or CM-700 and you want to use Embedded C:
    http://support.robotis.com/en/techsu...ded_c_main.htm

    Highly recommend the new zigbee/dynamixel SDKs if you want the controller to communicate with a PC:
    http://support.robotis.com/en/techsu...namixelsdk.htm
    http://support.robotis.com/en/techsu...zigbee_sdk.htm


    The CM-5 Embedded C SDK (uploaded much faster than I expected over my cheapo ADSL connection):
    http://forums.trossenrobotics.com/da...ded-c-sdk-167/
    Last edited by tician; 12-02-2010 at 04:39 AM. Reason: Added a link

  3. #3

    Re: How to program a bioloid with C

    Some links have been already pointed by tician

    I think it's necessay to have a working knowledge about:

    1. C programming
    2. CM-5/CM-510 programming
    3. Dynamixel protocol


    1. C programming
    I think C Programming for Microcontrollers is a fast and very practical introduction to C and microcontrolers programming, but I'm a not sure if it an easy way to start learning C.

    If you a want a more structured and deeper introduction to the C programming language,C introduction (pdf) is a pretty good and free introduction.

    But there are a lot:

    C Language Tutorial (html)
    How C Programming Works (html)
    Several C programming tutorials (html)

    and more from Google

    2. CM-5/CM-510 programming
    From Robotis support website CM-5/CM-510 programming

    3. Dynamixel protocol
    From Robotis support website Dynamixel actuator

    Two others great sources of information are:
    Robosavvy Bioloid information wiki (please, feel free to change it if there's a similar page at trossen)
    Source code of Stuart&Matt library (please, feel free to change it if there's a similar page at trossen)

    I hope it helps
    Last edited by siempre.aprendiendo; 12-02-2010 at 01:39 PM.

  4. #4
    Join Date
    May 2008
    Location
    TN
    Posts
    853
    Images
    99
    Rep Power
    73

    Re: How to program a bioloid with C

    You may want to look at the Arbotix board sold by Trossen. It it's an Atmega644 based board that is designed specifically for the Robotis servos. You program the board is the same C like language as the Arduino. It also has a cool IK engine for quadruped robots called "NUKE". It's a very cool board.
    "If A is a success in life, then A equals x plus y plus z. Work is x; y is play; and z is keeping your mouth shut."
    -
    Einstein

    Don't be a HelpVampire

  5. #5
    Join Date
    Feb 2010
    Location
    Silicon Valley, CA
    Posts
    321
    Images
    1
    Rep Power
    40

    Re: How to program a bioloid with C

    Quote Originally Posted by jes1510 View Post
    You may want to look at the Arbotix board sold by Trossen. It it's an Atmega644 based board that is designed specifically for the Robotis servos. You program the board is the same C like language as the Arduino. It also has a cool IK engine for quadruped robots called "NUKE". It's a very cool board.
    Plus, ArbotiX has a ROS driver. Which would allow your robot to do far, far more than you could ever hope to write yourself.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Bioloid Premium Kit with embedded C
    By Buell24 in forum Humanoids, Walkers & Crawlers
    Replies: 13
    Last Post: 06-02-2010, 12:50 PM
  2. News/Announcement Want to win a Bioloid? Announcing the TRC Tutorial Contest!
    By DresnerRobotics in forum Project Showcase
    Replies: 28
    Last Post: 01-30-2010, 12:49 AM
  3. C# Bioloid Motion Sequence Program
    By DresnerRobotics in forum Mech Warfare
    Replies: 4
    Last Post: 11-25-2009, 04:55 AM
  4. Question(s) Bioloid C programming: including libCM-5.a in makefile
    By tjo5010 in forum Software and Programming
    Replies: 3
    Last Post: 04-08-2009, 05:29 PM
  5. Fingers Program using C #‏ Microsoft robotics studio
    By jems in forum Software and Programming
    Replies: 17
    Last Post: 09-05-2008, 12:13 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •