Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a test node that accepts device' serial number as ROS Param and publishes. #7

Open
wants to merge 1 commit into
base: por_indigo
Choose a base branch
from

Conversation

130s
Copy link

@130s 130s commented Jul 18, 2018

No description provided.

@130s 130s requested a review from geoffreychiou July 18, 2018 02:28
@@ -47,6 +47,9 @@ target_link_libraries(openni2_wrapper ${catkin_LIBRARIES} ${PC_OPENNI2_LIBRARIES
add_executable(test_wrapper test/test_wrapper.cpp )
target_link_libraries(test_wrapper openni2_wrapper ${Boost_LIBRARIES})

add_executable(camera_serial_faker test/camera_serial_faker.cpp)
target_link_libraries(camera_serial_faker ${catkin_LIBRARIES} ${PC_OPENNI2_LIBRARIES})
Copy link

@geoffreychiou geoffreychiou Jul 18, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Might need the add_dependencies for the services to generate before building this. At a glance the CI looks like it can't find the service header.

Errors     << openni2_camera:make /root/catkin_ws/logs/openni2_camera/build.make.000.log
/root/catkin_ws/src/openni2_camera/test/camera_serial_faker.cpp:31:38: fatal error: openni2_camera/GetSerial.h: No such file or directory
 #include <openni2_camera/GetSerial.h>
                                      ^
compilation terminated.
make[2]: *** [CMakeFiles/camera_serial_faker.dir/test/camera_serial_faker.cpp.o] Error 1
make[1]: *** [CMakeFiles/camera_serial_faker.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
make: *** [all] Error 2

Edit: Sorry, looks like I forgot to click submit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants