Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lock force/compliance controller until a wrench message was recieved on the topic #150

Open
firesurfer opened this issue Oct 5, 2023 · 2 comments
Labels
enhancement New feature or request ROS2

Comments

@firesurfer
Copy link

firesurfer commented Oct 5, 2023

System Info

ros2 iron, binary install from repository

Commit: 03057bd

Problem statement and motivation

I ran into some issues when I forgot to remap the Wrench sensor topic . When setting a Wrench target the controller will move but the action does not make sense.

It would be nice if the controller would not accept targets until it has received at least one message on the wrench topic. In the ideal case it would check if the latest received value is recent enough to be used.

Goal of this feature

Safer behavior of the controller

Approach and next steps

  1. Store timestamp of latest received measurement
  2. Check it in the update loop
  3. If the measurement was to old / none was received yet -> Print error once. Keep current position
@stefanscherzinger stefanscherzinger added enhancement New feature or request ROS2 labels Oct 20, 2023
@stefanscherzinger
Copy link
Contributor

@firesurfer

Thanks for this feature request! I think I understand the motivation.

When setting a Wrench target the controller will move but the action does not make sense.

It depends. Users might use wrench inputs to steer their robot without having a force torque sensor. I do that frequently with this teleoperation mechanism. That would no longer be possible with your proposed sanity check..

I agree that there's the risk of triggering the robot's protective stop in contact because there's no force sensor signals that balance the target wrenches..

@firesurfer
Copy link
Author

I agree that there's the risk of triggering the robot's protective stop in contact because there's no force sensor signals that balance the target wrenches..

Or in our industrial use case it actually has the potential to damage the machine.

I suggest making this check optional by introducing an additional flag in the configuration

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request ROS2
Projects
None yet
Development

No branches or pull requests

2 participants