• Home
  • pcDuino
  • WiKi
  • Store
  • Distributors
  • Home
  • pcDuino
  • WiKi
  • Store
  • Distributors
HomepcDuinoInstall ROS Groovy on pcDuino
Previous Next

Install ROS Groovy on pcDuino

Posted by: admin , January 13, 2015

This post was translated from a post by Yuanbo She.

When talking about installing ROS on pcDuino, many people will refer to the experiences with Raspberry Pi, or directly build the source codes. Actually, ROS team already takes the boards requirement into ROS, and has support of Ubuntu ARM remote library. The official tutorial can be found at here.  It is perfect to install ROS on pcDuino + Lubuntu OS. I highlight the  procedures that I took to install it.

The image I used is version 20130531.

Don’t use user root, and we should switch to user ‘ubuntu’.  Otherwise, we will get the following error when running ‘roscore’:

  1. ubuntu@ubuntu:~$ roscore
  2. 2Traceback (most recent call last):
  3. 3 File “/opt/ros/groovy/lib/python2.7/dist-packages/roslaunch/__init__.py”, line 230, in main
  4. 4 write_pid_file(options.pid_fn, options.core, options.port)
  5. 5 File “/opt/ros/groovy/lib/python2.7/dist-packages/roslaunch/__init__.py”, line 107, in write_pid_file
  6. 6 f.write(str(os.getpid()))
  7. 7IOError: [Errno 28] No space left on device

Configure apt-get source:

  1. sudo sh –c ‘echo “deb http://packages.ros.org/ahendrix-mirror/ubuntu precise main” > /etc/apt/sources.list.d/ros-latest.list’

Configure key:

  1. $wget http://packages.ros.org/ros.key -O – | sudo apt-key add –

Update software:

  1. $sudo apt–get update

On Ubuntu 20130531, there should be an error:

  1. W: Conflicting distribution: http://www.wiimu.com pcduino Release (expected pcduino but got )

We can comment out the source list using LeadPad:

  1. $sudo leafpad /etc/apt/sources.list

and comment out wiimu.com stuff.

modify

Save the changes, and use “sudo apt-get update” to update.

Install ROS:

I use the following command:

  1. sudo apt–get install ros–groovy–ros–base

We can also use “apt-cache search ros-groovy” to check what packages can be installed.

Initialize rosdep:

  1. sudo apt–get install python–rosdep
  2. sudo rosdep init
  3. rosdep update

Configure ROS to launch with Terminal:

  1. echo “source /opt/ros/groovy/setup.bash” >> ~/.bashrc
  2. source ~/.bashrc

Now if we run ‘roscore’, we should see ROS master message:

  1. started roslaunch server http://ubuntu:37709/
  2. ros_comm version 1.9.44
  3.  
  4. SUMMARY
  5. ========
  6.  
  7. PARAMETERS
  8. * /rosdistro
  9. * /rosversion
  10.  
  11. NODES
  12.  
  13. auto–starting new master
  14. process[master]: started with pid [3734]
  15. ROS_MASTER_URI=http://ubuntu:11311/
  16.  
  17. setting /run_id to 5956b562–f670–11de–8ea2–26eb04d6389b
  18. process[rosout–1]: started with pid [3747]
  19. started core service [/rosout]

Share!
Tweet

admin

About the author

Leave a Reply Cancel reply

You must be logged in to post a comment.

Category

  • Home
  • pcDuino
  • WiKi
  • Store
  • Distributors