Results 1 to 7 of 7

Thread: Can I use Robotis Dynamixel SDK to control dynamixels connected to CM-510

  1. Can I use Robotis Dynamixel SDK to control dynamixels connected to CM-510

    Hello,

    Question about Bioloid's Dynamixel SDK (C++) from Robotis (could not find it on their site and no one from support is helping) :
    Can I use Dynamixel SDK C++ functions to control dynamixels that are connected to CM-510 which is connected to PC via a serial link and USB2Dynamixel switched to RS232 mode? Essentially, the setup is PC->USB2Dynamixel->CM-510->dynamixels
    I tried Robotis Read-Write code samples for Dyanmixel SDK and even though CM-510 blinks like it receives packets, the actuators are not moving. The RoboPlus Manager can control dynamixels with the same setup running on my PC.

    Thanks
    Nick

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

    Re: Can I use Robotis Dynamixel SDK to control dynamixels connected to CM-510

    There actually are several posts about exactly this on their support site, but their search function is kinda crap. Here is aprendiendo's first post on the topic, here is someone getting confused about aprendiendo's code and how Robotis does it, here is aprendiendo stating how to put a CM-5 into 'toss'/'manage' mode (not sure if his firmware or Robotis') and here is aprendiendo's later explanation and link to his firmware. The actual way in which the firmware on the CM-5/510/530/700 permits RoboPlus Manager to control the dynamixel bus is entirely undocumented and unsupported by Robotis as stated in the second link.
    Please pardon the pedantry... and the profanity... and the convoluted speech pattern...
    "You have failed me, Brain!"
    [git][mech][hack]
    gives free advice only on public threads

  3. Re: Can I use Robotis Dynamixel SDK to control dynamixels connected to CM-510

    Thank you Tician!

    Putting cm-510 to toss mode worked (at least in c#). Although native c code from aprendiendo's site has problems when switching to this mode.

    Does anyone know if standard Robotis firmware also has a special mode for reading gyro sensor values? or the only way to go is the custom firmware (aprendiendo's)

    Seems like Robotis is a bad company - to sell 1200$ kit and NOT to support officially PC link to the controller is kind of a joke probably. Already wasted too much time on this thing. Next time I will buy some other kit. any suggestions on alternatives?

  4. #4
    Join Date
    Dec 2007
    Location
    Portland, OR
    Posts
    3,198
    Images
    952
    Rep Power
    141

    Re: Can I use Robotis Dynamixel SDK to control dynamixels connected to CM-510

    Quote Originally Posted by nsmoly View Post
    Seems like Robotis is a bad company - to sell 1200$ kit and NOT to support officially PC link to the controller is kind of a joke probably. Already wasted too much time on this thing. Next time I will buy some other kit. any suggestions on alternatives?
    Haha, you're cute.

    Good luck finding anyone even close to this level out of the box.

    Any serious developer is writing their own code and/or using their own controller. The software provided by Robotis is essentially aimed at the hobby market.

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

    Re: Can I use Robotis Dynamixel SDK to control dynamixels connected to CM-510

    Quote Originally Posted by nsmoly View Post
    Does anyone know if standard Robotis firmware also has a special mode for reading gyro sensor values? or the only way to go is the custom firmware (aprendiendo's)
    The gyros are on the analog inputs and I know RoboPlus Manager can access them, but you will need to snoop the RS-232 UART connection to figure out how to do it. If you don't have a logic analyzer, you might be able to use just a microcontroller with multiple UARTs and a buffer IC or RS-232 transceiver (one UART to send the snooped data to the PC and two to snoop the TXD and RXD lines of the RS-232 UART - may be able to use software based UARTs if the micro is fast enough).

    Quote Originally Posted by Tyberius View Post
    Good luck finding anyone even close to this level out of the box.

    Any serious developer is writing their own code and/or using their own controller. The software provided by Robotis is essentially aimed at the hobby market.
    QFFT.

    Quote Originally Posted by nsmoly View Post
    Seems like Robotis is a bad company - to sell 1200$ kit and NOT to support officially PC link to the controller is kind of a joke probably. Already wasted too much time on this thing. Next time I will buy some other kit. any suggestions on alternatives?
    As Tyberius stated, "You want more than they make available, write it yourself." Aprendiendo has given you a hell of a start, and Robotis released embedded-c libraries for the CM-510/700 and CM-530 specifically for the more advanced users. It is not that difficult to make some simple firmware with the Robotis libraries to read the pertinent registers of all dynamixels on the bus and all analog ports before sending it over the RS-232 UART to the PC. Hell, look at the gallery and you can download additional ease of use functions for both the CM-510 and CM-530 to read the analog ports, the buttons, and the mic and to control the LEDs and buzzer (files include the Robotis supplied dynamixel, zigbee, and PC-UART/RS-233-UART libraries).
    Please pardon the pedantry... and the profanity... and the convoluted speech pattern...
    "You have failed me, Brain!"
    [git][mech][hack]
    gives free advice only on public threads

  6. Re: Can I use Robotis Dynamixel SDK to control dynamixels connected to CM-510

    Thanks to Aprendiendo's site, I made it working in C++ as well. I can now control my Bioloid dynamixels via CM-510 from PC. I documented most of it here - http://nsmoly.wordpress.com/2012/05/...oloid-from-pc/ in one place. Hope it helps other people.

  7. #7

    Re: Can I use Robotis Dynamixel SDK to control dynamixels connected to CM-510

    I'm glad these examples help you. You can find two links to zips with working examples at http://www.softwaresouls.com/2011/11/23/practical-c-programming-tutorial-for-bioloid-robots/ I just fixed the broken links, sorry!
    Last edited by siempre.aprendiendo; 03-21-2013 at 07:06 AM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 1
    Last Post: 05-10-2012, 12:51 AM
  2. Brand New Robotis Dynamixel MX-28 (2pcs)
    By nizee in forum Garage Sale
    Replies: 0
    Last Post: 03-25-2012, 11:59 PM
  3. Question(s) Dynamixel SDK (Robotis)
    By Pocar19 in forum DYNAMIXEL & Robot Actuators
    Replies: 5
    Last Post: 03-02-2012, 08:27 AM
  4. Closed loop control of Dynamixel AX-12+ ?
    By ngom52 in forum DYNAMIXEL & Robot Actuators
    Replies: 4
    Last Post: 03-07-2010, 02:52 PM
  5. News/Announcement New Robotis Dynamixel Pages
    By Matt in forum Off Topic
    Replies: 0
    Last Post: 01-28-2010, 03:16 PM

Tags for this Thread

Posting Permissions

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