-
Notifications
You must be signed in to change notification settings - Fork 123
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
Add pose subscriber (instead of #26) #27
base: lunar-devel
Are you sure you want to change the base?
Conversation
* changed the topic name from 'pose' to 'cmd_pose', for parallelism with 'cmd_vel' (yes, that should probably be 'cmd_twist' instead, but we're not changing that now) * added tests for the effects of publishing to cmd_vel and cmd_pose
@wjwwood, you OK if I merge this? |
+1 with CI |
I had already answered previously in my first feature request to @slremy. |
@daenny We could also add a service interface if you think that's useful. But I like the simplicity of the topic interface. Good point about accepting PoseStamped for interaction with rviz. Should we add both (service and PoseStamped topic)? |
@wjwwood Regarding CI, the Travis build failed on the new test, apparently because the import of
Perhaps related,
Did I miss a dependency somewhere? |
No I think some recent changes have broken the travis config I made for this repository. I'm going to try to update it in a new pr. |
@gerkey So for convenience PoseStamped makes more sense, to be able to set the poses via rviz directly. The service call might be useful if we add the collision check, so that we can get a result whether the teleport was successful or not. If that check is not there, I think only having the message interface is fine, since we can assume that the move always works. |
d92d199
to
fae142d
Compare
I just realized the branch was on this repo, so I went a head and rebased it. |
* changed the topic name from 'pose' to 'cmd_pose', for parallelism with 'cmd_vel' (yes, that should probably be 'cmd_twist' instead, but we're not changing that now) * added tests for the effects of publishing to cmd_vel and cmd_pose
fae142d
to
b1d2538
Compare
I rebased again after another travis-ci fixup pull request. |
In f94cb5a I added a PoseStamped subscriber (with a test), as suggested by @daenny. In doing so, I had to decide what to do with the
In summary, the operations on Stage's ground truth information, whether published or subscribed, are operating outside of tf entirely and require the user to have implicit knowledge of that frame. That's not the perfect solution, but it should still be very useful. Thoughts? |
Based on that, my conclusion would be to only accept Is the argument for accepting a Ignoring the time stamp has similar issues, but unlike frame id, I think the amount of time that passes between is small enough and the robots slow enough for that not to matter much. In contrast, ignoring the frame id could result large errors in position and also invalid orientations due to transforms. |
Sorry, I accidentally closed this when changing the branch layout of the repository. I've reopened it and updated the target base to be |
Added @slremy's changes from #26 to add a Pose subscriber. Then I: