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

ROSARIA+Arduino

asked 2013-12-06 03:05:41 -0500

HI, I want to make my robot move using Arduino (with hand made motor controller) and ROS Groovy. The problem is I have no idea to connect ROSARIA to Arduino for this. I have installed ROSARIA and I can toggle I/Os in arduino using ROSArduinoBridge. I planned to use kinect and build a map using it. Can anyone tell me how I should write a code for Arduino to support for ROSARIA? What is cmd_vel?

edit retag flag offensive close merge delete

3 Answers

Sort by ยป oldest newest most voted
0

answered 2013-12-10 21:55:05 -0500

David Galdeano gravatar image

updated 2013-12-10 21:59:46 -0500

Hello, is your robot a Pioneer, ActivMedia, MobileRobots or Adept? If not, do not use rosaria which is dedicated to these robots. You can use a ros_arduino_bridge or rosserial. Rosserial is given with sample sketches to start easily: http://wiki.ros.org/rosserial_arduino/Tutorials

edit flag offensive delete link more
0

answered 2013-12-10 09:55:22 -0500

ReedHedges gravatar image

Hello, are you running rosaria on the Arduino? Or is it running on a computer, and you want to control it from the Arduino?

/RosAria/cmd_vel is a "topic" provided by the RosAria node. Messages published to this topic set velocities at which to request the robot to move. It's a way to send velocity commands to the robot. See the following for more details:

http://wiki.ros.org/ROSARIA#ROS_API

http://docs.ros.org/api/geometry_msgs/html/msg/Twist.html

http://wiki.ros.org/ROSARIA/Tutorials/How%20to%20use%20ROSARIA

http://wiki.ros.org/ROSARIA/Tutorials/How%20to%20use%20ROSARIA#Topics_and_Commands

edit flag offensive delete link more
0

answered 2013-12-10 18:16:13 -0500

Thank you for the reply. ROSARIA is running on computer. But I don't have arduino sketch to connect to the ros node. I want to send command to Arduino using ROSARIA. But for that I need a sketch. I couldn't find it and have no idea about write about new one.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2013-12-06 03:05:41 -0500

Seen: 574 times

Last updated: Dec 10 '13