-
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
feat(control_data_collecting_tool): add constant acceleration/actuation mode #185
feat(control_data_collecting_tool): add constant acceleration/actuation mode #185
Conversation
Signed-off-by: Yoshihiro Kogure <[email protected]>
Signed-off-by: Yoshihiro Kogure <[email protected]>
chore: merge main to feat/add_actuation_mode
Signed-off-by: Yoshihiro Kogure <[email protected]>
Signed-off-by: Yoshihiro Kogure <[email protected]>
Signed-off-by: Yoshihiro Kogure <[email protected]>
Signed-off-by: Yoshihiro Kogure <[email protected]>
Signed-off-by: Yoshihiro Kogure <[email protected]>
Signed-off-by: Yoshihiro Kogure <[email protected]>
Signed-off-by: Yoshihiro Kogure <[email protected]>
Signed-off-by: Yoshihiro Kogure <[email protected]>
chore: merge feat/add_actuation_mode_temp to feat/add_actuation_mode
Signed-off-by: Yoshihiro Kogure <[email protected]>
Signed-off-by: Yoshihiro Kogure <[email protected]>
Signed-off-by: Yoshihiro Kogure <[email protected]>
Signed-off-by: Yoshihiro Kogure <[email protected]>
Signed-off-by: Yoshihiro Kogure <[email protected]>
Signed-off-by: Yoshihiro Kogure <[email protected]>
Thank you for contributing to the Autoware project! 🚧 If your pull request is in progress, switch it to draft mode. Please ensure:
|
acceleration_cmd = self.get_parameter("stop_acc").get_parameter_value().double_value | ||
if self.CONTROL_MODE == "actuation_cmd" or self.CONTROL_MODE == "external_actuation_cmd": | ||
if self.pedal_input is not None: | ||
acceleration_cmd = self.accel_brake_map.convert_actuation_cmd_to_accel_input( |
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.
memo:
actuation_cmd is not published directly, reconverted in raw_vehicle_cmd_converter.
actuation_cmd -[this tool]-> acceleration_cmd -[raw_vehicle_cmd_converter]-> actuation_cmd
Description
I added a script to collect data for acceleration and deceleration with constant acceleration or pedal input (& fixed minor bugs and typos).
Please rebuild the project and then collect data for constant acceleration and pedal input adjustments.
constant acceleration command data collection
Change
CONTROL_MODE
inconfig/common_param.yaml
toexternal_acceleration_cmd
, and follow the instructions in section 7.3 of How to use in README.md under theexternal_acceleration_cmd
item.constant actuation command data collection
Change
CONTROL_MODE
inconfig/common_param.yaml
toexternal_actuation_cmd
, and follow the instructions in section 7.3 of How to use in README.md under theexternal_actuation_cmd
item.Please note that when launching the
control_data_collecting_tool
, specify the file path to the accel/brake map as described in section 4 of How to use.How was this PR tested?
Notes for reviewers
None.
Effects on system behavior
None.