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

Update host vehicle data with kinematics data #679

Merged

Conversation

MaikolDrechsler
Copy link
Contributor

@MaikolDrechsler MaikolDrechsler commented Oct 25, 2022

Include velocity, acceleration and orientation rate data related to the vehicle coordinate system in the host_vehicle_data message

Signed-off-by: Maikol Drechsler maikol.drechsler@carissma.eu

#### Reference to a related issue in the repository
Due to the deprecation of localization and localization_rmse attributes of host_vehicle_data the velocity, acceleration and yaw_rate of the vehicle cannot be described.
The issue had been discussed per e-mail with @ThomasNaderBMW

Add a description

Include a new attribute vehicle_kinametics which include the ego velocity, orientation rate and acceleration in the host_vehicle_data.

Some questions to ask:
What is this change?
Include a new attribute, that enables the exchange of vehicle kinematics data.
What does it fix?
The data lost by the deprecation of the attributes localization and localization_rmse.
Is this a bug fix or a feature? Does it break any existing functionality or force me to update to a new version?
It is a new optional attribute, no update is forced.
How has it been tested?
It has been tested locally with a C++ implementation.

Take this checklist as orientation for yourself, if this PR is ready for the Change Control Board:

If you can’t check all of them, please explain why.
If all boxes are checked or commented and you have achieved at least one positive review, you can assign the label ReadyForCCBReview!

@MaikolDrechsler MaikolDrechsler force-pushed the host_vehicle_kinematic_THI branch from 7341b29 to b8e74c6 Compare October 25, 2022 12:17
@jdsika jdsika requested a review from ThomasNaderBMW November 4, 2022 12:59
@jdsika jdsika added the FeatureRequest Proposals which enhance the interface or add additional features. label Nov 4, 2022
//
//\brief Current calculated and estimated acceleration, velocity and orientation rate on Inertial Measurement Unit measurements and related sensors.
//
//This message contains the most accurate information the vehicle knows about its velocity,
Copy link
Contributor

Choose a reason for hiding this comment

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

// This
Space is missing

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thank you for the review.
Spaces have been included.

Copy link
Contributor

@ThomasNaderBMW ThomasNaderBMW left a comment

Choose a reason for hiding this comment

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

Maybe correct the missing space, but in general ok for me. Thanks!

@ThomasNaderBMW ThomasNaderBMW added this to the V3.6.0 milestone Nov 15, 2022
@MaikolDrechsler MaikolDrechsler force-pushed the host_vehicle_kinematic_THI branch 2 times, most recently from a7f2272 to 4791864 Compare December 2, 2022 16:33
@ThomasNaderBMW ThomasNaderBMW added the ReadyForCCBReview Indicates that this MR is ready for a final review and merge by the CCB. label Dec 5, 2022
@pmai pmai removed the ReadyForCCBReview Indicates that this MR is ready for a final review and merge by the CCB. label Dec 12, 2022
@MaikolDrechsler MaikolDrechsler force-pushed the host_vehicle_kinematic_THI branch from f4be538 to 4791864 Compare December 12, 2022 16:26
@ThomasNaderBMW ThomasNaderBMW added the ReadyForCCBReview Indicates that this MR is ready for a final review and merge by the CCB. label Jan 16, 2023
@pmai
Copy link
Contributor

pmai commented Jan 16, 2023

CCB 2023-01-16: To be changed as discussed (include references to bbcenter_to_rear in description of reference point for VehicleMotion, reorder fields to match derivative structure, and add comment to VehicleLocalization to indicate middle of bounding box reference point), then rediscussed for merge in next CCB.

@pmai pmai removed the ReadyForCCBReview Indicates that this MR is ready for a final review and merge by the CCB. label Jan 16, 2023
@pmai pmai added the ReadyToMerge This PR has been approved to merge and will be merged by a member of the CCB. label Jan 30, 2023
@pmai pmai force-pushed the host_vehicle_kinematic_THI branch from f91f2e8 to 71438a3 Compare February 13, 2023 09:40
Include velocity, acceleration and orientation rate data related to the vehicle coordinate system in the host_vehicle_data message

Signed-off-by: Maikol Drechsler <maikol.drechsler@carissma.eu>
Move velocity, acceleration and orientation rate data  to VehicleLocalization message and add current_curvature. 

Signed-off-by: Maikol Drechsler <maikol.drechsler@carissma.eu>
In order to have position and orientation in the same coordinate system as the velocity and the acceleration   (rear axle) a new message (VehicleMotion) was included.

Signed-off-by: Maikol Drechsler <maikol.drechsler@carissma.eu>
According to discussion in CCB 2023-01-16:
References to bbcenter_to_rear in description of  VehicleMotion were included; 
Fields were reorder to match derivative structure; 
Comment were added to VehicleLocalization to indicate the reference point.

Signed-off-by: Maikol Drechsler <maikol.drechsler@carissma.eu>
Minor changes on the VehicleLocalization description

Signed-off-by: Maikol Drechsler <maikol.drechsler@carissma.eu>
@pmai pmai force-pushed the host_vehicle_kinematic_THI branch from 71438a3 to a79ff72 Compare February 13, 2023 10:08
@pmai pmai merged commit f52aeb3 into OpenSimulationInterface:master Feb 13, 2023
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. Other Models ReadyToMerge This PR has been approved to merge and will be merged by a member of the CCB.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants