Skip to content

Conversation

@TBreitenbergerAumovio
Copy link
Contributor

No description provided.

@ghost ghost assigned carsten-kuebler Nov 29, 2018
@ghost ghost added the FeatureRequest Proposals which enhance the interface or add additional features. label Nov 29, 2018
@ghost ghost added this to the v3.1.0 milestone Nov 29, 2018
@ghost ghost changed the title Added orientation acceleration to message BaseMoving Added orientation acceleration to message BaseMoving (solves #279) Nov 29, 2018
@ghost
Copy link

ghost commented Nov 29, 2018

@carsten-kuebler what does the ISO say about this value?

@ghost ghost requested review from a user and TimFrickeBMW December 3, 2018 12:10
ghost
ghost previously requested changes Dec 3, 2018
osi_common.proto Outdated
// (all parent frames up to ground truth).
//
// <tt>Rotation_yaw_pitch_roll(#orientation (t)) :=
// Rotation_yaw_pitch_roll(#orientation_rate
Copy link

@ghost ghost Dec 3, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please provide an example for orientation_acceleration here.

@ghost
Copy link

ghost commented Dec 13, 2018

Hi @TBreitenbergerConti and @CarloVanDriestenBMW,

as matrix multiplication on every timestep results in unnecessary numerical drift and as we're neither interested in relative kinematics nor in time derivatives of rotational matrices - why don't we use examples for the scalar values (which I would recommmend to update)?

For discrete time steps and no higher order integration schemes, the linear scalar formulas would be:

orientation.yaw(t) = orientation_rate.yaw(t) * dt + orientation.yaw(t-dt)
orientation.pitch(t) = orientation_rate.pitch(t) * dt + orientation.pitch(t-dt)
orientation.roll(t) = orientation_rate.roll(t) * dt + orientation.roll(t-dt)

orientation_rate.yaw(t) = orientation_acceleration.yaw(t) * dt + orientation_rate.yaw(t-dt)
orientation_rate.pitch(t) = orientation_acceleration.pitch(t) * dt + orientation_rate.pitch(t-dt)
orientation_rate.roll(t) = orientation_acceleration.roll(t) * dt + orientation_rate.roll(t-dt)

Based on the scalar value calculation, the rotation matrices can be freshly set up on every time step.

@TBreitenbergerAumovio
Copy link
Contributor Author

TBreitenbergerAumovio commented Dec 13, 2018 via email

@TBreitenbergerAumovio
Copy link
Contributor Author

TBreitenbergerAumovio commented Dec 13, 2018 via email

@ghost
Copy link

ghost commented Dec 13, 2018

Thanks @TBreitenbergerConti, I just fixed the typo.

@ghost
Copy link

ghost commented Dec 19, 2018

@TBreitenbergerConti could you update until Thursday evening, please? I would like to release on Friday! :)

Copy link

@TimFrickeBMW TimFrickeBMW left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree with the definition and the additional examples suggested by @LudwigFriedmannBMW and @TBreitenbergerConti .

@ghost ghost dismissed their stale review December 20, 2018 10:54

outdated

@ghost
Copy link

ghost commented Dec 20, 2018

@carsten-kuebler could I lend your expertise for a moment and ask how to display the formulas in doxygen the best way? As note?

@carsten-kuebler
Copy link
Contributor

@CarloVanDriestenBMW we could use htmlonly mathml? should I change this in the overall documentation? If yes, I would also add htmlonly where it is necessary...

@ghost
Copy link

ghost commented Dec 21, 2018

@carsten-kuebler Sure, if it is the way to go! We should do it in a separate PR today and I will merge this one before.

@ghost
Copy link

ghost commented Dec 21, 2018

@TimFrickeBMW did you check the file after my commit for consistency? Is update of the documentation/definition fitting all the other definitions in the osi_common file still using the rotational matrices? It would be great to get a go from you in the next hours in order for me to merge.

@ghost ghost merged commit 4483943 into master Dec 21, 2018
@ghost ghost deleted the Conti-suggestions branch December 21, 2018 10:07
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

FeatureRequest Proposals which enhance the interface or add additional features.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants