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

porting ROS onto an autonomous Robot

asked 2013-06-26 01:04:48 -0500

Praseen gravatar image

Hi, I am working for sometime now (around 4 weeks) to try and port ROS onto a robot we have built using the Raspberry Pi as the main controller. This Robot has a variety of peripherals on it like a USB camera , Wifi Router, etc. All the peripherals are connected to the RPi (main controller) using I2C connectors. I am attempting to port the ROS onto this custom built robot. All the drivers for this robot are functional as such. But how do I get the robot vehicle to run ROS. Please let me know of some effective starting point/ link. I know that in this forum many have already done what I intend to do, please help me to get started in the right direction. Until now I have got ROS installed on my Ubuntu 12.04 laptop and onto an RPi board. I am currently working on the ROS basics tutorial, however it does'nt seem to cover, how to port ROS onto a custom built autonomous robot.

As part of this porting procedure, I feel that I need to do this step by step, as a result I am trying to first get ROS on the RPi working between a switch and an LED as a publisher/subscriber. I am not sure, how I need to go about doing this. Please let me know if my approach to solve the porting problem is correct too.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2013-06-26 02:03:04 -0500

davinci gravatar image

You should write some nodes for control that can interface between ROS and your motor controller. I don't know if your robot uses differential drive but if so you can look for instance at the differential drive package. Your own motor node should then accept the motor_cmd commands this node generates. Next step would be to generate a urdf model of your robot so you can use transforms.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2013-06-26 01:04:48 -0500

Seen: 322 times

Last updated: Jun 26 '13