Closed maitelorente closed 9 months ago
The problem was that the repository of autoware_launch package had not been updated correctly, now it is solved. Sorry for the inconvenience!
The problem was that the repository of autoware_launch package had not been updated correctly, now it is solved. Sorry for the inconvenience!
@maitelorente
Are you sure the problem already solved?
I update my code, but when I run the command:
ros2 launch autoware_launch planning_simulator.launch.xml map_path:=../sample-map-planning/ vehicle_model:=sample_vehicle sensor_model:=sample_sensor_kit
I get same error:
[INFO] [launch]: All log files can be found below /root/.ros/log/2024-02-07-16-41-57-742203-cynthia-liu-278041
[INFO] [launch]: Default logging verbosity is set to INFO
[ERROR] [launch]: Caught exception in launch (see debug for traceback): Included launch description missing required argument 'crop_box_filter_measurement_range_param_path' (description: 'no description given'), given: [map_path, map_path, vehicle_model, sensor_model, data_path, planning_module_preset, launch_sensing, launch_localization, launch_perception, use_pointcloud_container, launch_vehicle_interface, system_run_mode, launch_system_monitor, launch_dummy_diag_publisher, lanelet2_map_file, pointcloud_map_file, rviz, rviz_config, rviz_respawn, enable_all_modules_auto_mode, use_sim_time, vehicle_model, use_multithread, container_name, vehicle_model, sensor_model, vehicle_id, launch_vehicle_interface, config_dir, ...
I no idea about this error, how to solve it? @maitelorente if you could help me, I would greatly appreciate it.
Hi @cyn-liu,
Did you manage to solve the error? I have checked that the parameter crop_box_filter_measurement_range_param_path is required from launch file localization.launch.xml in package tier4_localization_launch, which is called from tier4_localization_component.launch.xml in package autoware_launch. You may need to add the argument in tier4_localization_component.launch.xml or if you just updated your repository, as in my case, maybe the autoware_launch package could not properly update. To solve the problem, I did "git checkout" to discard any changes I had made in the original repository (in my case, the configuration file for RViz) and "git pull". Then, the autoware_launch package was updated correctly and the problem solved.
Hi @cyn-liu,
Did you manage to solve the error? I have checked that the parameter crop_box_filter_measurement_range_param_path is required from launch file localization.launch.xml in package tier4_localization_launch, which is called from tier4_localization_component.launch.xml in package autoware_launch. You may need to add the argument in tier4_localization_component.launch.xml or if you just updated your repository, as in my case, maybe the autoware_launch package could not properly update. To solve the problem, I did "git checkout" to discard any changes I had made in the original repository (in my case, the configuration file for RViz) and "git pull". Then, the autoware_launch package was updated correctly and the problem solved.
thanks for your reply, I no idea to solve this error? the origin version work well, the latest version is not work, but I need update my branch to latest version.
cc: @xmfcx
cc. @cyn-liu
Please make sure you updated everything. For these kind of issues, my recommended route:
cd autoware
git pull # make sure it succeeds and says "Already up to date."
Pull the sub repositories to latest:
vcs pull src
The output should look like:
Repeat this command one more time to see it cleanly.
Make sure all returns "Already up to date" and you are not on any other branch.
Make sure you have all the necessary repositories pulled:
vcs import src < autoware.repos
The output should look like this:
Here you want to see "Already on" for each of them, make sure you are on the recommended branches.
Then clean your workspace:
rm -rf build install log
Then to clear up your shell environment variables, open up a new terminal tab with CTRL+Shift+T
and close the current terminal tab (you will still be on the same directory).
Update your system and rosdep and then install rosdep dependencies if they are missing.
sudo apt update
sudo apt dist-upgrade # always be careful when upgrading your packages
rosdep update
rosdep install -y --from-paths src --ignore-src --rosdistro humble
Then build the Autoware and hopefully it should work:
colcon build --symlink-install --cmake-args -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_EXPORT_COMPILE_COMMANDS=1
Checklist
Description
I just updated Autoware to the current version. When running autoware with "ros2 launch autoware_launch e2e_simulator.launch.xml map_path:=$HOME/my_workspaces/my_project_ws/maps/carla vehicle_model:=sample_vehicle sensor_model:=sample_sensor_kit", I get this error message: [ERROR] [launch]: Caught exception in launch (see debug for traceback): Included launch description missing required argument 'object_recognition_detection_roi_cluster_fusion_param_path' (description: 'no description given')...
I have checked the perception.launch.xml file and apart from object_recognition_detection_roi_cluster_fusion_param_path, these other parameters are also missing: object_recognition_detection_roi_pointcloud_fusion_param_path object_recognition_detection_roi_detected_object_fusion_param_path object_recognition_detection_radar_lanelet_filtering_range_param_path object_recognition_detection_radar_crossing_objects_noise_filter_param_path object_recognition_detection_object_velocity_splitter_radar_fusion_param_path object_recognition_detection_object_range_splitter_radar_param_path object_recognition_detection_object_range_splitter_radar_fusion_param_path
Also, when trying to launch other examples like "ros2 launch autoware_launch planning_simulator.launch.xml map_path:=$HOME/autoware_map/sample-map-planning vehicle_model:=sample_vehicle sensor_model:=sample_sensor_kit", the same error occurs.
I do not know which values they should have as default values or if i have missed something from the update. Please, could anyone advise me on this matter?
Thanks!
Expected behavior
Being able to launch "ros2 launch autoware_launch e2e_simulator.launch.xml map_path:=$HOME/my_workspaces/my_project_ws/maps/carla vehicle_model:=sample_vehicle sensor_model:=sample_sensor_kit", and having autoware running.
Actual behavior
I do not get to launch autoware from the launch file (autoware.launch.xml) provided in the repository code.
Steps to reproduce
Update Autoware following the step in the documentation page (https://autowarefoundation.github.io/autoware-documentation/main/installation/autoware/source-installation/), and launch autoware.
Versions
Possible causes
No response
Additional context
No response