timestamp working

This commit is contained in:
winterhalderp 2021-06-28 13:24:24 +02:00
parent ddf993ee94
commit 36dd783f61
3 changed files with 5 additions and 9 deletions

View File

@ -35,10 +35,12 @@ find_package(rclcpp REQUIRED)
rosidl_generate_interfaces(${PROJECT_NAME} rosidl_generate_interfaces(${PROJECT_NAME}
"msg/CustomMsg1.msg" "msg/CustomMsg1.msg"
"msg/CustomMsg2.msg" "msg/CustomMsg2.msg"
"msg/CANopenFeedback.msg"
"srv/CustomSrv1.srv" "srv/CustomSrv1.srv"
"srv/StateMachineSrv.srv" "srv/StateMachineSrv.srv"
"srv/CheckState.srv" "srv/CheckState.srv"
"srv/ChangeState.srv" "srv/ChangeState.srv"
"srv/CANopenCmd.srv"
DEPENDENCIES builtin_interfaces DEPENDENCIES builtin_interfaces
) )

View File

@ -1,4 +1,5 @@
std_msgs/Header header #std_msgs/Header header
builtin_interfaces/Time stamp
int64 position int64 position
float64 velocity float64 velocity
float32[] temperature float32[] temperature

View File

@ -12,24 +12,17 @@
<test_depend>ament_lint_common</test_depend> <test_depend>ament_lint_common</test_depend>
<depend>std_msgs</depend>
<!-- ADD THESE LINES: START HERE --> <!-- ADD THESE LINES: START HERE -->
<build_depend>builtin_interfaces</build_depend> <build_depend>builtin_interfaces</build_depend>
<build_depend>rosidl_default_generators</build_depend> <build_depend>rosidl_default_generators</build_depend>
<exec_depend>builtin_interfaces</exec_depend> <exec_depend>builtin_interfaces</exec_depend>
<exec_depend>rosidl_default_runtime</exec_depend> <exec_depend>rosidl_default_runtime</exec_depend>
<member_of_group>rosidl_interface_packages</member_of_group> <member_of_group>rosidl_interface_packages</member_of_group>
<!-- END HERE --> <!-- END HERE -->
<depend>std_msgs</depend>
<!-- DO NOT ENTER THIS DEPENDENCY WHEN CREATING NEW PACKAGE --> <!-- DO NOT ENTER THIS DEPENDENCY WHEN CREATING NEW PACKAGE -->
<!-- <depend>builtin_interfaces</depend> --> <!-- <depend>builtin_interfaces</depend> -->