ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

how to interlink arduino with gazebo? [closed]

asked 2015-06-13 09:14:54 -0600

baiju gravatar image

hi, i have just completed rosserial_arduino tutorials. in time, i realised that the answer for my above question is through th flow like arduino->rosserial_arduino->ros->rqt->rviz->gazebo. however, i'm not quite sure is this the right track or it? if not, how can i do it? i found rosserial_arduino tutorials very helpful(example mentioned under it). but when i tried to go for rqt or tf or for gazebo, i find myself sometimes lost the track. thus can anybody tell me proper way for it?isnt there more simpler tutorials available? my final goal is to move 2DOF robot built using arduino(and simple servo motors...lets say) and get its complete geometric simulation in realtime as well as offline. i'm using ubuntu 14, ros indigo, gazebo 2.2.

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by baiju
close date 2015-07-11 22:48:00.881163

1 Answer

Sort by ยป oldest newest most voted

answered 2015-06-14 21:49:51 -0600

130s gravatar image

updated 2015-06-14 21:53:57 -0600

First of all I'm sorry that you found some tutorials are not simple, but I suggest you split questions into smaller pieces. Otherwise I'm afraid that we don't exactly know what problem you're facing.

To point out one thing,

arduino --> rosserial_arduino --> ros --> rqt --> rviz --> gazebo

I'd say the link between arduino and Gazebo can become like the following (despite the fact I don't exactly know what you're trying):

arduino --> rosserial_arduino --> ros --> gazebo
                                      --> RViz
                                      --> rqt

You don't necessarilly have to go through rqt and RViz in order to connect to Gazebo, since they are GUIs.

edit flag offensive delete link more


i have:arduino connected to stepper motor.pen attached to motor shaft.i control rotation of shaft through rosserial_arduino monitor. i want:simulation of single rod/bar rotating in realtime & control of it in gui. future:i will convert it to PID control,feedback,more link... which should i follow?

baiju gravatar image baiju  ( 2015-06-15 01:00:42 -0600 )edit

Question Tools

1 follower


Asked: 2015-06-13 09:14:54 -0600

Seen: 1,909 times

Last updated: Jun 14 '15