Closed xwilson03 closed 7 months ago
PR Link: https://github.com/VEXU-GHOST/VEXU_GHOST/pull/49
Adds "start_timer" and "check_timer" services for general use.
Examine service interface by looking at the requests/responses.
Is there any data missing that should be tracked? Are any variables in the service messages obscure or unapparent in meaning?
Invalid: Timer does not exist. Expired: Self
ros2 run ghost_ros_interfaces timer_service
ros2 run ghost_ros_interfaces start_timer_client
ros2 run ghost_ros_interfaces check_timer_client
ros2 service call /start_timer ghost_msgs/srv/StartTimer "{timer_name: test, duration_ns: 1000000000000}"
ros2 service call /check_timer ghost_msgs/srv/CheckTimer "{timer_name: doesnt_exist}"
timer_demo.webm
PR Summary
PR Link: https://github.com/VEXU-GHOST/VEXU_GHOST/pull/49
Description
Adds "start_timer" and "check_timer" services for general use.
Reviewers
Reviewer Guide
Examine service interface by looking at the requests/responses.
Is there any data missing that should be tracked? Are any variables in the service messages obscure or unapparent in meaning?
Invalid: Timer does not exist. Expired: Self
Testing
ros2 run ghost_ros_interfaces timer_service
ros2 run ghost_ros_interfaces start_timer_client
.ros2 run ghost_ros_interfaces check_timer_client
.ros2 service call /start_timer ghost_msgs/srv/StartTimer "{timer_name: test, duration_ns: 1000000000000}"
twice.ros2 service call /check_timer ghost_msgs/srv/CheckTimer "{timer_name: doesnt_exist}"
timer_demo.webm