ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
This is not my area of expertise, but check rosbuild out.
This isn't the place for a tutorial, but a project I work on, that use CMake, and builds ROS nodes, but avoids catkin, roughly uses these commands:
INCLUDE($ENV{ROS_ROOT}/core/rosbuild/rosbuild.cmake)
ROSBUILD_INIT()
ROSBUILD_ADD_EXECUTABLE(slam
src/slam/slam_main.cc
src/slam/slam.cc)
The link to the repo's CMakeLists.txt is here.
Cheers!
2 | No.2 Revision |
EDIT: Don't use rosbuild per @gvdhoorn 's comment below
This is not my area of expertise, but check rosbuild out.
This isn't the place for a tutorial, but a project I work on, that use CMake, and builds ROS nodes, but avoids catkin, roughly uses these commands:
INCLUDE($ENV{ROS_ROOT}/core/rosbuild/rosbuild.cmake)
ROSBUILD_INIT()
ROSBUILD_ADD_EXECUTABLE(slam
src/slam/slam_main.cc
src/slam/slam.cc)
The link to the repo's CMakeLists.txt is here.
Cheers!