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

(Twizy) Extrinsic Manual Calibration #44

Open
2 tasks
dtonda8 opened this issue Jul 9, 2024 · 2 comments
Open
2 tasks

(Twizy) Extrinsic Manual Calibration #44

dtonda8 opened this issue Jul 9, 2024 · 2 comments
Assignees
Milestone

Comments

@dtonda8
Copy link
Member

dtonda8 commented Jul 9, 2024

Relevant Autoware Docs

Aim: To roughly calibrate the sensors

  • Research priority between Autoware Individual Params and Sensor Kit Param
  • Calibrate the Lidar (and potentially the Camera)
@dtonda8 dtonda8 self-assigned this Jul 9, 2024
@dtonda8 dtonda8 added this to the Milestone 1 milestone Jul 9, 2024
@dtonda8
Copy link
Member Author

dtonda8 commented Jul 9, 2024

The CalibrationTools tier4 repo is doesn't match with the current Autoware Docs (as of 9-July-2024), I've created a fork here that matches the current docs as well as using correct package naming (check last few commits for more details).

Previously had issues like this when launching the first ros2 launch command

[component_container-1]          at line 93 in ./src/buffer_core.cpp
[component_container-1] Warning: Invalid frame ID "velodyne_top" passed to canTransform argument source_frame - frame does not exist
[component_container-1]          at line 93 in ./src/buffer_core.cpp
[component_container-1] [ERROR] [1720483974.548080857] [lidar.top.crop_box_filter_self]: [get_transform_matrix] timeout tf: velodyne_top->base_link
[component_container-1] Warning: Invalid frame ID "velodyne_top" passed to canTransform argument source_frame - frame does not exist

Turns out, we need to set up the tf transforms, this can be done with the following:

source install/setup.bash
ros2 launch tier4_vehicle_launch vehicle.launch.xml launch_vehicle_interface:=false sensor_model:=twizy_sensor_kit vehicle_model:=twizy_vehicle vehicle_id:=twizy

Next we need to launch sensing:

source install/setup.bash
ros2 launch twizy_sensor_kit_launch sensing.launch.xml vehicle_mirror_param_file:=/home/mcav/twizy/autoware.twizy/src/vehicle/twizy_vehicle_launch/twizy_vehicle_description/config/mirror.param.yaml vehicle_param_file:=/home/mcav/twizy/autoware.twizy/src/vehicle/twizy_vehicle_launch/twizy_vehicle_description/config/vehicle_info.param.yaml 

Finally, the calibraiton manager:

source install/setup.bash
ros2 launch extrinsic_calibration_manager calibration.launch.xml mode:=manual sensor_model:=twizy_sensor_kit vehicle_model:=twizy_vehicle vehicle_id:=twizy

Camera works, altough /lidar/top/velodyne_points is not publishing despite following the setup here:

TODO:

  • Fix issue with velodyne

Edit: turns out velodyne was off, now working

@dtonda8 dtonda8 changed the title (Twizy) Extrinsic Manaul Calibration (Twizy) Extrinsic Manual Calibration Jul 9, 2024
@dtonda8
Copy link
Member Author

dtonda8 commented Dec 8, 2024

Managed to get a successful build with calibration tools on the autoware.twizy repo:

Image

TODO: Continue steps of the doc's steps

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant