element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Open Source Hardware
  • Technologies
  • More
Open Source Hardware
Forum Install ROS Groovy on pcDuino
  • Blog
  • Forum
  • Documents
  • Events
  • Polls
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Open Source Hardware to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 0 replies
  • Subscribers 315 subscribers
  • Views 431 views
  • Users 0 members are here
  • ROS
  • groovy
  • pcduino
Related

Install ROS Groovy on pcDuino

alvin_jin
alvin_jin over 12 years ago

Install ROS Groovy on pcDuino

Posted on August 9, 2013 by admin — No Comments ↓

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

http://www.pcduino.com/wp-content/uploads/2013/08/modify.jpgSave 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. SUMMARY
  4. ========
  5. PARAMETERS
  6. * /rosdistro
  7. * /rosversion
  8. NODES
  9. auto-starting new master
  10. process[master]: started with pid [3734]
  11. ROS_MASTER_URI=http://ubuntu:11311/
  12. setting /run_id to 5956b562-f670-11de-8ea2-26eb04d6389b
  13. process[rosout-1]: started with pid [3747]
  14. started core service [/rosout]
  • Sign in to reply
  • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube