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

change the behaviour of exported links to match the RBS and RBA documentations #15

Closed
wants to merge 3 commits into from

Conversation

doudou
Copy link
Contributor

@doudou doudou commented Dec 10, 2018

The velocities and accelerations were always output in the body frame, while the pose is output w.r.t. the expected target frame. Fix this to express everything in the target frame.

Hide the new behavior under the use_proper_reference_frames property, to avoid breaking systems that expect the old behavior.

Tests updated in rock-gazebo/simulation-rock_gazebo#21

The specification of the target frame, when the link is exported,
did not have any effect on the acceleration/velocity frame. This
is obviously very inconsistent.

However, this is a VERY breaking change. It's hidden behind a flag
(link_export_use_proper_references) which is currently false.
This is too breaking a change to be left alone like this.
@doudou
Copy link
Contributor Author

doudou commented Dec 10, 2018

@alexfneves could you check this out ?

@joaobrittoneto
Copy link
Contributor

Shouldn't the exported links' RBS follow the same pattern as the output model's RBS?
Shouldn't the definition in RBS's documentation be followed? (Maybe this is another discussion)

@doudou
Copy link
Contributor Author

doudou commented Dec 13, 2018

Shouldn't the exported links' RBS follow the same pattern as the output model's RBS?

They should match for sure. I (very wrongly) assumed that the model would be exported using the same codepath.
.

Shouldn't the definition in RBS's documentation be followed? (Maybe this is another discussion)

I actually should have checked that first ... This at least explains the current behavior.

@alexfneves .... sorry for the mixup, but I think what @joaobrittoneto says makes sense (the RBS definition does not, but that's a wee bit to late to change).

@joaobrittoneto
Copy link
Contributor

RBS definitions are not really clear.
Just a recap of previous discussions regarding RBS representation.
rock-core/base-types#99
rock-core/base-types#100

The documentation is clear (even if confusing), so make sure that
we're following that unconditionally
@doudou doudou changed the title optionally change the behaviour of exported links to fix mixups of reference frames change the behaviour of exported links to match the RBS and RBA documentations Dec 13, 2018
@doudou
Copy link
Contributor Author

doudou commented Dec 13, 2018

@alexfneves updated to follow @joaobrittoneto remarks

@doudou
Copy link
Contributor Author

doudou commented Dec 13, 2018

Closed in favor of #16

@doudou doudou closed this Dec 14, 2018
@doudou doudou deleted the use_proper_reference_frames branch December 14, 2018 18:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants