Ros Indigo catkin_make failed and missing src
I was using new drone image of BeagleBone of Indigo, and I am totally new for Indigo.
In the "ls" of my BeagleBone, there is indigo file, and under the indigo only has indigo-isolated file without build, devel, and src.
I was usually download the package into src and catkin_make
&& install it in the catkin directory in the hydro system.
For instance, one engineer emailed me :
If you are going to connect a camera in Erle-Brain(beaglebone). I recommend you install this usb_cam package.
Put the code in ~/indigo/src. Then you must to be located on ~/indigo (cd ~/indigo). Take in account that ROS has his own compilation chain (don't use cmake). Execute the following command:
catkin_make_isolated --install -DCMAKE_BUILD_TYPE=Release --pkg usb_cam
But I wasn't to make it sucessfully. It shows:
/root/indigo/install_isolated/lib/libcamera_calibration_parsers.so: undefined reference to
`YAML::Emitter::SetLocalValue(YAML::EMITTER_MANIP)'
collect2: ld returned 1 exit status
make[2]: *** [/root/indigo/devel/lib/usb_cam/usb_cam_node] Error 1
make[1]: *** [usb_cam/CMakeFiles/usb_cam_node.dir/all] Error 2
make: *** [all] Error 2
Invoking "make -j1 -l1” failed
root@beaglebone:~/indigo# rosrun image_view image_view image:=/camera/image
[rospack] Error: package 'image_view' not found
root@beaglebone:~/indigo#
Does anyone able to help me? if so, I'd really appreciated, please !
Tsao
Hey...
there are the following that I cannot find my catkin_ws
root@beaglebone:~# ls
ArduCopter.elf ardupilot CHANGES.txt indigo rt-tests tools wifi
root@beaglebone:~# cd indigo/
root@beaglebone:~/indigo# ls
install_isolated
root@beaglebone:~/indigo# cd install_isolated/
root@beaglebone:~/indigo/install_isolated# ls
bin env.sh etc include lib setup.bash setup.sh _setup_util.py setup.zsh share
root@beaglebone:~/indigo/install_isolated# cd share/
root@beaglebone:~/indigo/install_isolated/share# ls
Asked by Tsao on 2015-05-15 23:27:35 UTC
Answers
I guess you haven't install usb_cam
rightly.
Please use sudo git clone https://github.com/bosch-ros-pkg/usb_cam.git
in your workplace's src file.
Then catkin_make
in your workplace.
you will find [100%] Built target usb_cam_node
in the terminal.
add the workplace into your working place. Like source devel/setup.bash
or other command.
finally, you can roslaunch usb_cam 'your_launch_name'.launch
I hope you can make it. :)
Asked by wsAndy on 2015-05-16 02:21:23 UTC
Comments
Dear,
thank you for your quick reply.
This is my question that I have no idea of where the workplace is.
root@beaglebone:~/indigo/install_isolated# ls
bin etc lib setup.sh setup setup.zsh env.sh include setup.bash _setup_util.py share
Could you please teach me the installation step by step?
Asked by Tsao on 2015-05-16 07:21:51 UTC
Comments
Well. you can get into catkin_ws/src
file first.
Then, sudo git clone https://github.com/bosch-ros-pkg/usb_cam.git
Then, cd ..
and you are in the catkin_ws
file which has devel build src
.
Now, catkin_make
, in most times, you will see [100%] Built target usb_cam_node
in terminal.
Asked by wsAndy on 2015-05-16 07:34:42 UTC
catkin_ws
is your workplace.
and usb_cam
in the catkin_ws/src
is your package.
Asked by wsAndy on 2015-05-16 07:36:47 UTC
Thanks. but I cannot find the place of catkin_ws also, I only have one file install_isolated of indigo, any idea? by the way, there is a share file under install_isolated, shill I download the package here? Tsao
Asked by Tsao on 2015-05-16 08:50:14 UTC
well, I know what you mean. bin etc lib setup.sh setup setup.zsh env.sh include setup.bash _setup_util.py share
is in your ROS's source. But , what I have said catkin_ws
in in your /home
.
you have to get into your /home
first.
Well , I use ubuntu 14.04.
Asked by wsAndy on 2015-05-16 10:05:52 UTC
Im using OX to link BeagleBone. I followed you said, getting into the /home but there is only debian under the /home And, there are bin and Desktop under the debian....which are no files inside them....
Asked by Tsao on 2015-05-16 11:03:18 UTC
Well, maybe you can create a file named catkin_ws
or other name , its no matter what's the name is.
Remember, you have to create a file named src
in the file that you have created recently.
If you still have any questions, you can read this [http://wiki.ros.org/ROS/Tutorials/CreatingPackage]
Asked by wsAndy on 2015-05-17 04:50:01 UTC
Comments