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(mapless_architecture): add mapless_architecture #7709

Conversation

simon-eisenmann-driveblocks

Description

We created a mission planner with locally-generated, sensor-based maps as described in https://github.com/orgs/autowarefoundation/discussions/4545. The entire project is contained within the mapless_architecture folder, which should be added to the repository.

Related links

How was this PR tested?

This PR was tested using rosbags and unit tests.

Notes for reviewers

None.

Interface changes

None.

Effects on system behavior

None.

@github-actions github-actions bot added type:documentation Creating or refining documentation. (auto-assigned) component:planning Route planning, decision-making, and navigation. (auto-assigned) labels Jun 26, 2024
Copy link

github-actions bot commented Jun 26, 2024

Thank you for contributing to the Autoware project!

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

Please ensure:

@simon-eisenmann-driveblocks simon-eisenmann-driveblocks changed the title Add mapless_architecture feat(mapless_architecture): add mapless_architecture Jun 26, 2024
Signed-off-by: Simon Eisenmann <simon.eisenmann@driveblocks.ai>
Signed-off-by: Simon Eisenmann <simon.eisenmann@driveblocks.ai>
Signed-off-by: Simon Eisenmann <simon.eisenmann@driveblocks.ai>
Signed-off-by: Simon Eisenmann <simon.eisenmann@driveblocks.ai>
Signed-off-by: Simon Eisenmann <simon.eisenmann@driveblocks.ai>
Signed-off-by: Simon Eisenmann <simon.eisenmann@driveblocks.ai>
Signed-off-by: Simon Eisenmann <simon.eisenmann@driveblocks.ai>
Signed-off-by: Simon Eisenmann <simon.eisenmann@driveblocks.ai>
Signed-off-by: Simon Eisenmann <simon.eisenmann@driveblocks.ai>
Signed-off-by: Simon Eisenmann <simon.eisenmann@driveblocks.ai>
Signed-off-by: Simon Eisenmann <simon.eisenmann@driveblocks.ai>
Signed-off-by: Simon Eisenmann <simon.eisenmann@driveblocks.ai>
Signed-off-by: Simon Eisenmann <simon.eisenmann@driveblocks.ai>
Signed-off-by: Simon Eisenmann <simon.eisenmann@driveblocks.ai>
Signed-off-by: Simon Eisenmann <simon.eisenmann@driveblocks.ai>
@github-actions github-actions bot added component:perception Advanced sensor data processing and environment understanding. (auto-assigned) component:sensing Data acquisition from sensors, drivers, preprocessing. (auto-assigned) component:localization Vehicle's position determination in its environment. (auto-assigned) component:control Vehicle control algorithms and mechanisms. (auto-assigned) component:tools Utility and debugging software. (auto-assigned) component:system System design and integration. (auto-assigned) component:map Map creation, storage, and loading. (auto-assigned) component:vehicle Vehicle-specific implementations, drivers, packages. (auto-assigned) type:ci Continuous Integration (CI) processes and testing. (auto-assigned) component:launch Launch files, scripts and initialization tools. (auto-assigned) labels Jun 26, 2024
@github-actions github-actions bot removed component:perception Advanced sensor data processing and environment understanding. (auto-assigned) component:sensing Data acquisition from sensors, drivers, preprocessing. (auto-assigned) component:localization Vehicle's position determination in its environment. (auto-assigned) component:control Vehicle control algorithms and mechanisms. (auto-assigned) component:tools Utility and debugging software. (auto-assigned) component:system System design and integration. (auto-assigned) component:map Map creation, storage, and loading. (auto-assigned) component:vehicle Vehicle-specific implementations, drivers, packages. (auto-assigned) type:ci Continuous Integration (CI) processes and testing. (auto-assigned) component:launch Launch files, scripts and initialization tools. (auto-assigned) component:common Common packages from the autoware-common repository. (auto-assigned) component:simulation Virtual environment setups and simulations. (auto-assigned) component:evaluator Evaluation tools for planning, localization etc. (auto-assigned) labels Jun 26, 2024
Signed-off-by: Simon Eisenmann <simon.eisenmann@driveblocks.ai>
Signed-off-by: Simon Eisenmann <simon.eisenmann@driveblocks.ai>
Signed-off-by: Simon Eisenmann <simon.eisenmann@driveblocks.ai>
Signed-off-by: Simon Eisenmann <simon.eisenmann@driveblocks.ai>
@maxime-clem maxime-clem added run:deploy-docs Mark for deploy-docs action generation. (used-by-ci) run:build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) labels Jun 28, 2024
@@ -40,6 +40,7 @@ nav:
- 'Algorithm': planning/autoware_freespace_planning_algorithms
- 'RRT*': planning/autoware_freespace_planning_algorithms/rrtstar
- 'Mission Planner': planning/autoware_mission_planner
- 'Local Mission Planner': planning/mapless_architecture
Copy link
Contributor

Choose a reason for hiding this comment

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

Please add links to each subpackages under the Local Mission Planner .

Choose a reason for hiding this comment

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

Done!

Copy link
Contributor

Choose a reason for hiding this comment

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

main files like this one should be removed. Please see how nodes are implement in newer Autoware packages (e.g., autoware_motion_velocity_planner_node).

Choose a reason for hiding this comment

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

Done! Should I place the hpp files in the src folder as in autoware_motion_velocity_planner_node?

Copy link
Contributor

Choose a reason for hiding this comment

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

As you like.
It is okay to put the .hpp together with the .cpp files in the src folder for packages whose code is not meant to be included in other packages.

Choose a reason for hiding this comment

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

Ok, thanks for the answer! I will keep the .hpp files in the include folder!

Comment on lines 8 to 9
#include "autoware_auto_planning_msgs/msg/path.hpp"
#include "autoware_auto_planning_msgs/msg/trajectory.hpp"
Copy link
Contributor

Choose a reason for hiding this comment

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

Messages should be from autoware_planning_msgs.

Choose a reason for hiding this comment

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

Done!

Copy link
Contributor

Choose a reason for hiding this comment

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

I guess the commit was not pushed 😅

Choose a reason for hiding this comment

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

Yes, I will push all the changes when the internal review is finished!

Copy link
Contributor

Choose a reason for hiding this comment

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

Please add the basic information about the node in this README (see other nodes' README files). There should be a table with the interface (input/output topics) and the node parameters.

Choose a reason for hiding this comment

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

Done!


# --- SPECIFY TESTS ---
# configure clang format
set(ament_cmake_clang_format_CONFIG_FILE ../../.clang-format)
Copy link
Contributor

Choose a reason for hiding this comment

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

this should not be necessary

Choose a reason for hiding this comment

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

I removed it!

ament_lint_auto_find_test_dependencies()
endif()

ament_auto_package()
Copy link
Contributor

Choose a reason for hiding this comment

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

ament_auto_... are not necessary. Please check other CMakeLists.txt files (e.g., in the autoware_path_smoother).

Choose a reason for hiding this comment

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

Done!

@simon-eisenmann-driveblocks
Copy link
Author

I pushed the requested changes!

@simon-eisenmann-driveblocks
Copy link
Author

PR will be done here: tier4/mapless_autoware#3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:planning Route planning, decision-making, and navigation. (auto-assigned) run:build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) run:deploy-docs Mark for deploy-docs action generation. (used-by-ci) type:documentation Creating or refining documentation. (auto-assigned)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants