Help with building hector_slam through catkin_make
Hello I'm trying to install hector slam on ~/catkin_ws/src folder through , git clone .....
After I install the package, I run catkin_make
but after it reaches like %30 , the rasberrypi freezes and I can't move the mouse anymore.
If I unplug the pi and then replug it back, and afterr running catkin_make
it will to %80 then freeze again !!
I tried using catkin_make -j1
but same thing happened
I'm not sure if I should just wait more or there is something wrong ???
Can you not use
apt
to install it?I did, but I'm not sure how to edit the lunch file if I use
apt
because after I lunchroslaunch hector_slam_launch tutorial.launch
I don't get the map from my rplidar After doing some research, I think I need to edit some launch file, like the one on the tutorial hereIt's actually not a good idea to edit files from other packages. What you should do is create your own launch file instead and use the contents of the installed package (launch files, nodes, etc.). If/when you update
hector_slam
you'll lose all of your changes if you modify its code.That tutorial is showing you the easiest, quickest way to get something going not the best way.
Can you explain more please ? My rplidar works fine, and it shows up on rviz but after I run
roslaunch hector_slam_launch tutorial.launch
nothing shows on the grid ! What should I do ?Also, when I install hector_slam using
apt
, where I should fine the launch file ?? I mean on what directory ?I'd suggest creating a new question for this line of questioning then we can figure things out.
I added a new a question, thank you