Sending movement / Waypoint Commands through topics/services #483
Replies: 3 comments 6 replies
-
Hi! spot_ros2/spot_driver/spot_driver/spot_ros2.py Line 2508 in c2123e9 For your second question, the timing for the Lastly, the driver provides
Using these robot commands shouldn't block. For the action specifically, you will receive feedback on the status of the command's execution and in your code can choose how to handle that. |
Beta Was this translation helpful? Give feedback.
-
Hi,
All of our actions should be set up as interruptible -- it should try to
cancel the previous command, then send the most recent one. (I know this is
the case with the robot command action and it *should* be the case with
trajectory, but I personally haven't worked with trajectory before).
…On Mon, Sep 23, 2024 at 9:35 AM Arihant Pandey ***@***.***> wrote:
Hi, thank you for pointing out the trajectory action.
Is this action interruptible i.e if I command a trajectory and then want
to override it and cancel/reroute the path is this possible?
—
Reply to this email directly, view it on GitHub
<#483 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BFRBBBXLE6ZLMDQDKZ7E35DZYAKLDAVCNFSM6AAAAABOOOYRFWVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTANZSGY3DGMY>
.
You are receiving this because you commented.Message ID:
***@***.***
com>
|
Beta Was this translation helpful? Give feedback.
-
Thank you for all your help so far. I have been doing some testing using the Trajectory Action server. I have noticed that very often when commanding a waypoint (e.g 1m in x direction) by using the async_send_goal method in my action client, the robot will correctly move but will not correctly update its status and simply stop moving while continually sending "Moving to goal" as feedback. I was wondering if this is a known issue or if there is likely something wrong with my implementation. Another more general question is that is there any particular reason why the Trajectory action server only accepts the body frame? Thanks again, |
Beta Was this translation helpful? Give feedback.
-
Hi,
What is the syntax for sending local waypoint commands through available ros2 interfaces?
I have tried sending
and the robot does not respond at all.
I have also tried sending
and while the robot does seem to respond to the command, the movement can be best described as "hesitant" and jerky. I suspect I am doing something wrong!
On a similar note, I noticed an available service called robot_command, is there documentation on how I can use this service to construct more complex commands? Would commands sent through this interface block until completed, or only block until the request is received?
Beta Was this translation helpful? Give feedback.
All reactions