ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A answers.ros.org
Ask Your Question
0

Raspberry Pi Catkin make

asked 2017-10-24 14:58:00 -0500

julimen5 gravatar image

Hi there!

I'm trying to build my workspace with only hector_slam package inside in my new raspberry pi 3 with this http://www.german-robot.com/2016/05/2... OS (suggested by the ROS team) but every time I do catkin_make it freezes in differents %. Here you have the commands I already tried.

catkin_make catkin_make -j1 catkin_make_isolated

May be one of you can help me trying to build this workspace.

edit retag flag offensive close merge delete

Comments

Building on the Raspberry Pi can take hours or days for complex software like hector_slam. How long are you waiting for catkin_make to finish? Is there any CPU activity while it seems stuck?

ahendrix gravatar image ahendrix  ( 2017-10-24 15:01:36 -0500 )edit

not waiting too match. But it freezes everthig, I can't even move the mouse. Are you telling me I should wait longer? I opened just one terminal with this command. Tried to echo 3 /proc/sys/vm/drop_caches but I get permission denied.

julimen5 gravatar image julimen5  ( 2017-10-24 15:05:18 -0500 )edit
1

I've had a lot of success by adding additional 1gb swap space and ssh'ing into the pi rather than using the GUI. I run "catkin_make -j1", compilation typically takes 2-3 minutes. Are you building from source? Hector-Slam should be available as an installable package for 16.04.

rmck gravatar image rmck  ( 2017-10-24 16:59:44 -0500 )edit

It has been compiling for an hour. May be I'll try to disable GUI and do what you are telling me to do. I did not found it as a installable package

julimen5 gravatar image julimen5  ( 2017-10-24 17:04:26 -0500 )edit
1

Hmm, it may be worth checking your package configuration. If I run "sudo apt-get install ros-kinetic-hector-slam", I am able to install the hector-slam metapackaged including all its related packages. If you're able to install via apt-get you can skip compilation issues.

rmck gravatar image rmck  ( 2017-10-24 17:17:12 -0500 )edit

I would be very upset if this is my answer

julimen5 gravatar image julimen5  ( 2017-10-24 17:20:14 -0500 )edit

What OS is running on the Pi? If Raspbian, you'll need to compile from source. Ubuntu MATE will allow you to install hector-slam from pre-built binaries.

clyde gravatar image clyde  ( 2017-11-07 10:39:21 -0500 )edit

I'm resuming this work. I saw (this)[https://downloads.ubiquityrobotics.com/pi.html] which are stable version for raspberry pi made by someone aka ubiquityrobotics. So these might be more stable when running ros rather than the raspbian. Ty anyway.

julimen5 gravatar image julimen5  ( 2018-01-17 16:19:59 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2018-12-15 09:22:13 -0500

change catkin_make to catkin_make -j2 to avoid the pi freezing.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

3 followers

Stats

Asked: 2017-10-24 14:58:00 -0500

Seen: 2,094 times

Last updated: Oct 24 '17