Trossen 2 Experimenters kit
Results 1 to 3 of 3

Thread: Programs/Software/tools that can control robots from data received in real time

  1. Programs/Software/tools that can control robots from data received in real time


    I am a 4th year Mechatronics student currently doing my thesis. The topic of research I am doing is Real time robotic control using inertial motion capture suit. In other words I need to be able to control a robot from data that is being produced in real time. I am looking to spend about $400 on a robot that I can use for this project.

    The main thing I'm after that I've been having trouble finding information about is that it needs to have suitable software/SDK that would allow me to send data to control the robot in real time. This data would be sent most likely from another program (e.g. MATLAB) and doesn't have to be wireless.

    If anyone has any suggestions on certain programs or robots that has the ability to do this that would be fantastic.


  2. #2

    Re: Programs/Software/tools that can control robots from data received in real time

    Hey Redding,

    From what I gather, you're reading in input from the body suit and processing it with Matlab. You then wish to send out the processed information to a robot of some kind.

    One way to communicate with a robot in real time is with serial communication over a serial port (like USB). Matlab is capable of doing serial communication. The computer can calculate which movement it wants and then send different serial information to the robot accordingly. The robot's own microcontrolller then interprets and executes this command. Matlab could send out serial information like this:

    % set up the serial connection:
    %     This connects your Matlab program with the serial port at COM1,
    %     for example, you may use a USB cable to connect your robot to the computer
         serialOne=serial('COM1', 'BaudRate', 9600); % parameters will probably be different for you
    % Next, determine which command to send to the robot
        if(robot turn left)
            fprintf(serialOne,'1');   % send the robot a '1' over the serial port
        if(robot turn right)
            fprintf(serialOne,'2');   % send the robot a '2' over the serial port
    % Close the serial port at the end of the program
    code source:

    The robot then takes this serial data over the serial port, interprets it, and executes the command accordingly. How the robot hooks up to the serial port and reads serial data depends on the robot and microcontroller. I'm not sure what hardware you're using though. If you're looking for recommendations, read about the Arduino board or the Arbotix board (which is based off Arduino). It really depends on what you're doing with it. If you provide some more details, we can help you out.

    I should also note you can do this with other programs, in addition to MATLAB. Just look up how they communicate via serial.

    Hope this helps,

    PS: I should note that I'm in no way an expert on this stuff and am still trying to understand it myself. In fact, I asked a similar question on this forum and have had some helpful posts from people much more experienced than I.

    Last edited by CyberPenguin; 03-13-2012 at 08:18 PM.

  3. Re: Programs/Software/tools that can control robots from data received in real time

    Currently using USB2Dynamixel and its libraries to control a robotic arm so using the serial commands in MATLAB isn't needed, thanks for the reply!

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Question(s) Looking for Robot that can be control in real time from external data
    By Redding in forum Humanoids, Walkers & Crawlers
    Replies: 1
    Last Post: 04-16-2012, 10:06 AM
  2. general question on real time control and continuous motion
    By animaniac in forum Software and Programming
    Replies: 1
    Last Post: 10-17-2011, 04:43 PM
  3. real time plot of sensor data (in VB 2008)
    By cloud_skyblue in forum Software and Programming
    Replies: 0
    Last Post: 05-25-2010, 09:26 PM
  4. Project Software to record& edit force sensor data
    By fig9078 in forum Projects For Request and/or Sale
    Replies: 26
    Last Post: 06-04-2009, 01:25 PM
  5. Discussion Rendering Tools for our Robots
    By Matt in forum Software and Programming
    Replies: 1
    Last Post: 04-16-2008, 03:01 PM

Posting Permissions

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