From 33cf81ae1bb73a7a78aaf3eb516313c6e54d01d5 Mon Sep 17 00:00:00 2001 From: Martin Dahl Date: Wed, 25 Aug 2021 09:48:08 +0200 Subject: [PATCH] read digital outputs --- CMakeLists.txt | 1 + msg/Measured.msg | 13 +++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 msg/Measured.msg diff --git a/CMakeLists.txt b/CMakeLists.txt index 366f306..7e69b11 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -22,6 +22,7 @@ find_package(rosidl_default_generators REQUIRED) rosidl_generate_interfaces(${PROJECT_NAME} "action/ExecuteScript.action" "srv/DashboardCommand.srv" + "msg/Measured.msg" ) ament_package() diff --git a/msg/Measured.msg b/msg/Measured.msg new file mode 100644 index 0000000..aecc3d6 --- /dev/null +++ b/msg/Measured.msg @@ -0,0 +1,13 @@ +# Robot state +int32 robot_state +# Program state +int32 program_state +# Digital outputs +bool out0 +bool out1 +bool out2 +bool out3 +bool out4 +bool out5 +bool out6 +bool out7