Open apat20 opened 3 years ago
Make sure you did source /opt/ros/kinetic/setup.bash
and source ~/catkin_ws/devel/setup.bash
. I don't have a kinetic machine to test with, but the following is working with a Kinetic docker image:
$ xhost +local:docker
$ docker run -it --rm -e DISPLAY=$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix --device=/dev/video0:/dev/video0 ros:kinetic-perception
# apt update && apt install -y ros-kinetic-find-object-2d ros-kinetic-uvc-camera
# roscore &
# rosrun uvc_camera uvc_camera_node &
# rosrun find_object_2d find_object_2d image:=image_raw
I followed the instructions for installing find_object_2d ROS Package found here. To check my installation, I run the following commands:
I tried this separately for both the binary installation and installing using catkin. Using rviz I have verified the correct image topic. However, I keep getting the following error (the error below is after I install it using catkin):
I get a similar error with just binary file installation as well:
Do I need to make any changes in CMakeLists.txt to add the executables? I am missing something here? Please let me know.
Best, Aditya