From 919857d2e743a0cf8afe28ca1e81437f08bcc730 Mon Sep 17 00:00:00 2001 From: Zeerek Date: Tue, 14 Apr 2026 20:28:56 +0000 Subject: [PATCH] Add in vehicle joint command service --- srv/VehicleJointCommand.srv | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 srv/VehicleJointCommand.srv diff --git a/srv/VehicleJointCommand.srv b/srv/VehicleJointCommand.srv new file mode 100644 index 0000000..0477779 --- /dev/null +++ b/srv/VehicleJointCommand.srv @@ -0,0 +1,27 @@ +## Request +# Commands for a specific joint, assumes it will get to what you target async +# If you want to use a command, set the value to something other than UNUSED +# Only one command type will be used, priority is position, then velocity, then effort. If you set more than one, the priority will be used to determine which one is used. + +float64 UNUSED=-999999 + +# Target position for the joint command +float64 target_position -999999 + +# Target velocity for the joint command +float64 target_velocity -999999 + +# Target effort for the joint command +float64 target_effort -999999 + +# Timeout for the command being sent +uint32 tiemout_ms 5000 + +--- +## Response + +# Indicate successful run of service +bool success + +# Error messages +string error