* Added primary stepper motor driver code to repo * Added odometery encoder code to repo * Added the ability to update encoder wheel ratio via ros service Co-authored-by: Pimpest <82343504+Pimpest@users.noreply.github.com> Co-committed-by: Pimpest <82343504+Pimpest@users.noreply.github.com>
21 lines
499 B
CMake
21 lines
499 B
CMake
cmake_minimum_required(VERSION 3.8)
|
|
project(mg_msgs)
|
|
|
|
if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
|
|
add_compile_options(-Wall -Wextra -Wpedantic)
|
|
endif()
|
|
|
|
# find dependencies
|
|
find_package(ament_cmake REQUIRED)
|
|
find_package(rosidl_default_generators REQUIRED)
|
|
|
|
rosidl_generate_interfaces(${PROJECT_NAME}
|
|
"msg/Point2d.msg"
|
|
"action/MoveStraight.action"
|
|
"action/MovePoint.action"
|
|
"action/LookAt.action"
|
|
"action/Rotate.action"
|
|
"srv/SendDouble.srv"
|
|
)
|
|
|
|
ament_package() |