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

my rasberry pi 3 got bloked in 77% in scaning dependencies ?

asked 2020-06-17 10:52:14 -0500

houhou gravatar image

so am having problem with my hector_SLAM foolder from this https://github.com/NickL77/RPLidar_He... and i end ep building the project after that i got error of qt problem i did instal all of tools neded but i get my rpi 3 b+ module blocked in 77 % scanning dependencies so how to fix it ?? this is the building code Base path: /home/ubuntu/catkin_ws Source space: /home/ubuntu/catkin_ws/src Build space: /home/ubuntu/catkin_ws/build Devel space: /home/ubuntu/catkin_ws/devel Install space: /home/ubuntu/catkin_ws/install

#

Running command: "cmake /home/ubuntu/catkin_ws/src -DCATKIN_DEVEL_PREFIX=/home/ubuntu/catkin_ws/devel -DCMAKE_INSTALL_PREFIX=/home/ubuntu/catkin_ws/install -G Uni$

#

-- Using CATKIN_DEVEL_PREFIX: /home/ubuntu/catkin_ws/devel -- Using CMAKE_PREFIX_PATH: /home/ubuntu/catkin_ws/devel;/opt/ros/kinetic -- This workspace overlays: /home/ubuntu/catkin_ws/devel;/opt/ros/kinetic -- Found PythonInterp: /usr/bin/python2 (found suitable version "2.7.12", minimum required is "2") -- Using PYTHON_EXECUTABLE: /usr/bin/python2 -- Using Debian Python package layout -- Using empy: /usr/bin/empy -- Using CATKIN_ENABLE_TESTING: ON -- Call enable_testing() -- Using CATKIN_TEST_RESULTS_DIR: /home/ubuntu/catkin_ws/build/test_results -- Found gtest sources under '/usr/src/gmock': gtests will be built -- Found gmock sources under '/usr/src/gmock': gmock will be built -- Found PythonInterp: /usr/bin/python2 (found version "2.7.12") -- Using Python nosetests: /usr/bin/nosetests-2.7 -- catkin 0.7.20 -- BUILD_SHARED_LIBS is on -- BUILD_SHARED_LIBS is on -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- ~~ traversing 5 packages in topological order: -- ~~ - dnn_rotate -- ~~ - docking -- ~~ - fiducial_follow -- ~~ - move_demo -- ~~ - robot_me -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- +++ processing catkin package: 'dnn_rotate' -- ==> add_subdirectory(demos/dnn_rotate) -- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy -- dnn_rotate: 0 messages, 1 services -- +++ processing catkin package: 'docking' -- ==> add_subdirectory(demos/docking) -- Configuring done -- Generating done -- Build files have been written to: /home/ubuntu/catkin_ws/build

#

Running command: "make -j1" in "/home/ubuntu/catkin_ws/build"

#

[ 0%] Built target _dnn_rotate_generate_messages_check_deps_StringTrigger [ 0%] Built target std_msgs_generate_messages_lisp [ 7%] Built target dnn_rotate_generate_messages_lisp [ 7%] Built target std_msgs_generate_messages_nodejs [ 14%] Built target dnn_rotate_generate_messages_nodejs [ 14%] Built target std_msgs_generate_messages_py [ 28%] Built target dnn_rotate_generate_messages_py [ 28%] Built target std_msgs_generate_messages_cpp [ 35%] Built target dnn_rotate_generate_messages_cpp [ 35%] Built target std_msgs_generate_messages_eus [ 50%] Built target dnn_rotate_generate_messages_eus [ 50%] Built target dnn_rotate_generate_messages [ 50%] Built target _docking_generate_messages_check_deps_Dock [ 57%] Built target docking_generate_messages_lisp [ 71%] Built target docking_generate_messages_py [ 78%] Built target docking_generate_messages_cpp [ 92%] Built target docking_generate_messages_eus [100%] Built target docking_generate_messages_nodejs [100%] Built target docking_generate_messages

this is before i did add the hector rp lidar slam file

after i add the file ubuntu@ubiquityrobot:~/catkin_ws$ catkin_make Base path: /home/ubuntu/catkin_ws Source space: /home/ubuntu/catkin_ws/src Build space: /home/ubuntu/catkin_ws/build Devel space: /home/ubuntu/catkin_ws/devel Install space: /home/ubuntu/catkin_ws/install

#

-- Using CATKIN_DEVEL_PREFIX: /home/ubuntu/catkin_ws/devel -- Using CMAKE_PREFIX_PATH: /home/ubuntu/catkin_ws/devel;/opt/ros/kinetic -- This workspace overlays: /home/ubuntu/catkin_ws/devel;/opt/ros/kinetic -- Found PythonInterp: /usr/bin/python2 (found suitable version "2.7.12", minimum required is "2") -- Using PYTHON_EXECUTABLE: /usr/bin/python2 -- Using Debian Python package layout -- Using empy: /usr/bin/empy -- Using CATKIN_ENABLE_TESTING: ON -- Call enable_testing() -- Using CATKIN_TEST_RESULTS_DIR: /home/ubuntu/catkin_ws/build/test_results -- Found gtest sources under '/usr/src/gmock': gtests will be built -- Found gmock sources under '/usr/src/gmock': gmock ... (more)

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2020-06-18 09:27:58 -0500

Weasfas gravatar image

Hi @houhou

The Rasberry pi 3 is not a very powerful board and you may just lacking of memory to compile your whole catkin enviroment.

Even though the raspberry freezes, the compile targets will be already build (until it blocks of course) than means that you can just compile it twice after restarting it. Since the other last targets are already compiled the Raspberry will only compile the rest of your packages in the workspace not demanding a huge amount of memory for this last set of targets.

The other solution is more elegant and is about adding more memory to the board by generating a swap space, this will allow the compilation process to have more memory.

Hope that helps.

Cheers.

edit flag offensive delete link more

Comments

thanks alot i will do the swap and am sure it will work

houhou gravatar image houhou  ( 2020-06-21 08:19:48 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2020-06-17 10:51:00 -0500

Seen: 101 times

Last updated: Jun 18 '20