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

Revision history [back]

Tom's fixed code is here http://pastebin.com/ebtxMGAD http://pastebin.com/ebtxMGAD . Paste these in the /src and /include directory of your laser_scan_matcher package. Also dont forget to modify your CMakelists.txt file. Add the following lines

Create library

add_library(laser_scan_matcher_odom src/laser_scan_matcher_odom.cpp)

Note we don't link against pcl as we're using header-only parts of the library

target_link_libraries( laser_scan_matcher_odom ${catkin_LIBRARIES} ${csm_LIBRARIES}) add_dependencies(laser_scan_matcher_odom ${csm_EXPORTED_TARGETS} ${catkin_EXPORTED_TARGETS})

Create node

add_executable(laser_scan_matcher_node src/laser_scan_matcher_node.cpp) target_link_libraries( laser_scan_matcher_node laser_scan_matcher_odom )

Tom's fixed code is here http://pastebin.com/ebtxMGAD http://pastebin.com/ebtxMGAD http://pastebin.com/hY5pFWsY . Paste these in the /src and /include directory of your laser_scan_matcher package. Also dont forget to modify your CMakelists.txt file. Add the following lines

Create library

add_library(laser_scan_matcher_odom src/laser_scan_matcher_odom.cpp)

Note we don't link against pcl as we're using header-only parts of the library

target_link_libraries( laser_scan_matcher_odom ${catkin_LIBRARIES} ${csm_LIBRARIES}) add_dependencies(laser_scan_matcher_odom ${csm_EXPORTED_TARGETS} ${catkin_EXPORTED_TARGETS})

Create node

add_executable(laser_scan_matcher_node src/laser_scan_matcher_node.cpp) target_link_libraries( laser_scan_matcher_node laser_scan_matcher_odom )

Tom's fixed code is here http://pastebin.com/ebtxMGAD http://pastebin.com/hY5pFWsY . Paste these in the /src and /include directory of your laser_scan_matcher package. Also dont forget to modify your CMakelists.txt file. Add the following lines

Create library

add_library(laser_scan_matcher_odom src/laser_scan_matcher_odom.cpp)

Note we don't link against pcl as we're using header-only parts of the library

src/laser_scan_matcher_odom.cpp) target_link_libraries( laser_scan_matcher_odom ${catkin_LIBRARIES} ${csm_LIBRARIES}) add_dependencies(laser_scan_matcher_odom ${csm_EXPORTED_TARGETS} ${catkin_EXPORTED_TARGETS})

Create node

${catkin_EXPORTED_TARGETS}) add_executable(laser_scan_matcher_node src/laser_scan_matcher_node.cpp) target_link_libraries( laser_scan_matcher_node laser_scan_matcher_odom )

)