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

feat(raw_vehicle_cmd_converter): add vehicle adaptor #8782

Merged
merged 5 commits into from
Dec 21, 2024

Conversation

kosuke55
Copy link
Contributor

@kosuke55 kosuke55 commented Sep 5, 2024

Description

add empty vehicle adaptor which compensates control commands by taking into account vehicle-specific dynamic characteristics.

this feature is set false by default

we will add an algorithm of vehicle adaptor

Related links

Parent Issue:

  • Link

How was this PR tested?

check if ACTUATION_CMD sim works with fase and true.

false

image

true

image

Notes for reviewers

None.

Interface changes

None.

Effects on system behavior

None.

@github-actions github-actions bot added component:planning Route planning, decision-making, and navigation. (auto-assigned) component:vehicle Vehicle-specific implementations, drivers, packages. (auto-assigned) component:simulation Virtual environment setups and simulations. (auto-assigned) labels Sep 5, 2024
Copy link

github-actions bot commented Sep 5, 2024

Thank you for contributing to the Autoware project!

🚧 If your pull request is in progress, switch it to draft mode.

Please ensure:

@kosuke55 kosuke55 force-pushed the feat/vehicle_adaptor_in_raw branch from 61e0b78 to a71f089 Compare September 5, 2024 15:46
@github-actions github-actions bot removed the component:planning Route planning, decision-making, and navigation. (auto-assigned) label Sep 5, 2024
@kosuke55 kosuke55 force-pushed the feat/vehicle_adaptor_in_raw branch 2 times, most recently from 044667d to afe1b58 Compare September 6, 2024 10:22
@kosuke55 kosuke55 force-pushed the feat/vehicle_adaptor_in_raw branch from afe1b58 to 6196bf2 Compare September 9, 2024 14:08
Copy link

stale bot commented Nov 8, 2024

This pull request has been automatically marked as stale because it has not had recent activity.

@stale stale bot added the status:stale Inactive or outdated issues. (auto-assigned) label Nov 8, 2024
@kosuke55 kosuke55 marked this pull request as ready for review November 14, 2024 06:37
@stale stale bot removed the status:stale Inactive or outdated issues. (auto-assigned) label Nov 14, 2024
@kosuke55 kosuke55 force-pushed the feat/vehicle_adaptor_in_raw branch from 6196bf2 to 6591c55 Compare November 14, 2024 06:37
@kosuke55 kosuke55 force-pushed the feat/vehicle_adaptor_in_raw branch from 6591c55 to 2d2a581 Compare November 26, 2024 02:02
@kosuke55 kosuke55 force-pushed the feat/vehicle_adaptor_in_raw branch 3 times, most recently from b745ae6 to fef4523 Compare December 20, 2024 10:07
@github-actions github-actions bot added type:documentation Creating or refining documentation. (auto-assigned) and removed component:simulation Virtual environment setups and simulations. (auto-assigned) labels Dec 20, 2024
@kosuke55 kosuke55 force-pushed the feat/vehicle_adaptor_in_raw branch 4 times, most recently from 7fe1a73 to c97147c Compare December 20, 2024 12:34
Signed-off-by: kosuke55 <kosuke.tnp@gmail.com>

sub operation status

Signed-off-by: kosuke55 <kosuke.tnp@gmail.com>
Signed-off-by: kosuke55 <kosuke.tnp@gmail.com>
Signed-off-by: kosuke55 <kosuke.tnp@gmail.com>
Signed-off-by: kosuke55 <kosuke.tnp@gmail.com>
Signed-off-by: kosuke55 <kosuke.tnp@gmail.com>
@kosuke55 kosuke55 force-pushed the feat/vehicle_adaptor_in_raw branch from c97147c to 1b3b6c0 Compare December 20, 2024 12:46
@kosuke55 kosuke55 merged commit b107ac7 into autowarefoundation:main Dec 21, 2024
24 of 27 checks passed
@kosuke55 kosuke55 deleted the feat/vehicle_adaptor_in_raw branch December 21, 2024 16:36
@@ -30,7 +34,7 @@ if(BUILD_TESTING)
)
set(TEST_RAW_VEHICLE_CMD_CONVERTER_EXE test_autoware_raw_vehicle_cmd_converter)
ament_add_ros_isolated_gtest(${TEST_RAW_VEHICLE_CMD_CONVERTER_EXE} ${TEST_SOURCES})
target_link_libraries(${TEST_RAW_VEHICLE_CMD_CONVERTER_EXE} actuation_map_converter autoware_raw_vehicle_cmd_converter_node_component)
target_link_libraries(${TEST_RAW_VEHICLE_CMD_CONVERTER_EXE} actuation_map_converter vehicle_adaptor autoware_raw_vehicle_cmd_converter_node_component)
Copy link
Contributor

Choose a reason for hiding this comment

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

@kosuke55 why did you merge this without running the required checks?

https://github.com/autowarefoundation/autoware.universe/actions/runs/12449651244/job/34755555845#step:16:18956

Because this line is too long, the test is failing.

We should never merge without passing the required checks.

@xmfcx
Copy link
Contributor

xmfcx commented Dec 22, 2024

I'm now checking how it was possible to merge this in the first place.

image

This bypass list only has @mitsudome-r in it and no one else should be able to merge without passing the status checks.

Maybe something is wrong with the required checks maybe?

Right now it is like this:

image

@kosuke55 do you remember if you had to press this button before merging this PR?

image

@kosuke55
Copy link
Contributor Author

@xmfcx
hmm, thanks for checking. I don't remember doing a bypass merge, ignoring the required ...

@kosuke55
Copy link
Contributor Author

I am not sure the reason why I could mere but sent PR to fix too long line
#9716

kyoichi-sugahara pushed a commit to kyoichi-sugahara/autoware.universe that referenced this pull request Dec 25, 2024
…ion#8782)

* feat(raw_vehicle_cmd_converter): add vehicle adaptor

Signed-off-by: kosuke55 <kosuke.tnp@gmail.com>

sub operation status

Signed-off-by: kosuke55 <kosuke.tnp@gmail.com>

* feat(raw_vehicle_cmd_converter): publish vehicle adaptor output

Signed-off-by: kosuke55 <kosuke.tnp@gmail.com>

* use control horizon

Signed-off-by: kosuke55 <kosuke.tnp@gmail.com>

* revert carla

Signed-off-by: kosuke55 <kosuke.tnp@gmail.com>

* update docs

Signed-off-by: kosuke55 <kosuke.tnp@gmail.com>

---------

Signed-off-by: kosuke55 <kosuke.tnp@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:vehicle Vehicle-specific implementations, drivers, packages. (auto-assigned) type:documentation Creating or refining documentation. (auto-assigned)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants