apollo
apollo copied to clipboard
Apollo 9.0 scripts/planning.sh bug
Describe the bug
The script scripts/planning.sh is no longer useable given launch file for the planning module moved from module/planning/launch to module/planning/planning_component/launch
To Reproduce Steps to reproduce the behavior:
- Go to the root directory in the docker container
- Compile Apollo with
bash apollo.sh build - Use the command
bash scripts/planning.sh - See error "[ERROR] Could not launch module planning. Is it already built?"
Expected behavior The planning module is launched.
Additional context
Shell function run_module calls start_customized_path which then attempts to execute cyber_launch start ${APOLLO_ROOT_DIR}/modules/${MODULE_PATH}/launch/${MODULE}.launch so under the current implementation attempts to start ...modules/planning/launch/planning.launch. Command start_customized_path planning/planning_component planning would work correctly to launch the planning module.