-
Notifications
You must be signed in to change notification settings - Fork 34
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
fix: some fix on calibration_adapter and parameter_estimator #127
fix: some fix on calibration_adapter and parameter_estimator #127
Conversation
In this commit, the TwistStamped published from |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I notice that there is a DCO error in the CI checks. Please follow https://github.com/autowarefoundation/autoware_tools/pull/127/checks?check_run_id=30904049078 and tackle with the errors.
@@ -30,7 +30,7 @@ | |||
|
|||
class CalibrationAdapterNode : public CalibrationAdapterNodeBase | |||
{ | |||
using Velocity = autoware_vehicle_msgs::msg::VelocityReport; | |||
using VelocityReport = autoware_vehicle_msgs::msg::VelocityReport; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why are we changing the name of this class, is it necessary? Or you believe it is better to be called "velocityReport"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
At that time I intended to follow the manner of autoware_advc_interface
where VelocityReport
seems preferred, but I missed that it is of the same type with Velocity
. So now the updated version has cancelled all the relevant changes to avoid unpredictable errors.
0ec099d
to
4ea500b
Compare
Signed-off-by: KeiNakazato <[email protected]>
Signed-off-by: KeiNakazato <[email protected]>
Signed-off-by: KeiNakazato <[email protected]>
8a97198
to
18679f3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This works as expected and keep consistent with original codes.
5049ea7
into
autowarefoundation:main
Description
By this change, calibration_adapter will translate VelocityReport received from the vehicle interface into TwistStamped. This value is necessary for parameter_estimator to work well. Also, in the parameter estimating algorithm, I adjusted plus or minus sign of z-angular velocity received from IMU.
Related links
Tests performed
Notes for reviewers
Interface changes
Effects on system behavior
Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.
In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.
Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.
After all checkboxes are checked, anyone who has write access can merge the PR.