-
Notifications
You must be signed in to change notification settings - Fork 145
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: update creating vehicle and sensor model pages (#460)
* init commit Signed-off-by: ismetatabay <[email protected]> * add individual_params page Signed-off-by: ismetatabay <[email protected]> * add vehicle model page Signed-off-by: ismetatabay <[email protected]> * add camera launch documentation Signed-off-by: ismetatabay <[email protected]> * update document according to the tester Signed-off-by: ismetatabay <[email protected]> * update document readability Signed-off-by: ismetatabay <[email protected]> * update document readability Signed-off-by: ismetatabay <[email protected]> * solve conflicts Signed-off-by: ismetatabay <[email protected]> --------- Signed-off-by: ismetatabay <[email protected]>
- Loading branch information
1 parent
89b56e6
commit 9643c40
Showing
18 changed files
with
1,537 additions
and
207 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
204 changes: 0 additions & 204 deletions
204
...ating-vehicle-and-sensor-description/creating-vehicle-and-sensor-description.md
This file was deleted.
Oops, something went wrong.
6 changes: 6 additions & 0 deletions
6
docs/how-to-guides/integrating-autoware/creating-vehicle-and-sensor-model/.pages
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
nav: | ||
- index.md | ||
- Creating sensor model: creating-sensor-model | ||
- Creating individual params: creating-individual-params | ||
- Creating vehicle model: creating-vehicle-model | ||
- Calibrating sensors: calibrating-sensors |
2 changes: 2 additions & 0 deletions
2
...-guides/integrating-autoware/creating-vehicle-and-sensor-model/calibrating-sensors/.pages
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
nav: | ||
- index.md |
File renamed without changes.
2 changes: 2 additions & 0 deletions
2
.../integrating-autoware/creating-vehicle-and-sensor-model/creating-individual-params/.pages
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
nav: | ||
- index.md |
83 changes: 83 additions & 0 deletions
83
...-autoware/creating-vehicle-and-sensor-model/creating-individual-params/index.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
# Creating individual params | ||
|
||
## Introduction | ||
|
||
The [individual_params](https://github.com/autowarefoundation/autoware_individual_params) package is used | ||
to define customized sensor calibrations for different vehicles. | ||
It lets | ||
you define customized sensor calibrations for different vehicles | ||
while using the same launch files with the same sensor model. | ||
|
||
!!! Warning | ||
|
||
The "individual_params" package contains the calibration | ||
results for your sensor kit and overrides the default calibration results found in | ||
VEHICLE-ID_sensor_kit_description/config/ directory. | ||
|
||
## Placing your `individual_parameters` repository inside Autoware | ||
|
||
[Previously on this guide](../../creating-your-autoware-repositories/creating-autoware-repositories.md), | ||
we forked the `autoware_individual_params` repository | ||
to create a [tutorial_vehicle_individual_params](https://github.com/leo-drive/tutorial_vehicle_individual_params) repository | ||
which will be used as an example for this section of the guide. | ||
Your individual_parameters repository should be placed inside your Autoware folder following the same folder structure as the one shown below: | ||
|
||
??? note "sample folder structure for [`tutorial_vehicle_individual_params`](https://github.com/leo-drive/tutorial_vehicle_individual_params)" | ||
|
||
```diff | ||
<YOUR-OWN-AUTOWARE-DIR>/ | ||
└─ src/ | ||
└─ param/ | ||
└─ tutorial_vehicle_individual_params/ | ||
└─ individual_params/ | ||
└─ config/ | ||
├─ default/ | ||
+ └─ tutorial_vehicle/ | ||
+ └─ tutorial_vehicle_sensor_kit_launch/ | ||
+ ├─ imu_corrector.param.yaml | ||
+ ├─ sensor_kit_calibration.yaml | ||
+ └─ sensors_calibration.yaml | ||
``` | ||
|
||
After that, we need to build our `individual_params` package: | ||
|
||
```bash | ||
colcon build --symlink-install --cmake-args -DCMAKE_BUILD_TYPE=Release --packages-up-to individual_params | ||
``` | ||
|
||
Now you are ready to use Autoware with a vehicle_id as an argument. | ||
For example, if you are several, similar vehicles with different sensor calibration requirements, | ||
your autoware_individual_params structure should look like this: | ||
|
||
```diff | ||
individual_params/ | ||
└─ config/ | ||
├─ default/ | ||
│ └─ <YOUR_SENSOR_KIT>/ # example1 | ||
│ ├─ imu_corrector.param.yaml | ||
│ ├─ sensor_kit_calibration.yaml | ||
│ └─ sensors_calibration.yaml | ||
+ ├─ VEHICLE_1/ | ||
+ │ └─ <YOUR_SENSOR_KIT>/ # example2 | ||
+ │ ├─ imu_corrector.param.yaml | ||
+ │ ├─ sensor_kit_calibration.yaml | ||
+ │ └─ sensors_calibration.yaml | ||
+ └─ VEHICLE_2/ | ||
+ └─ <YOUR_SENSOR_KIT>/ # example3 | ||
+ ├─ imu_corrector.param.yaml | ||
+ ├─ sensor_kit_calibration.yaml | ||
+ └─ sensors_calibration.yaml | ||
``` | ||
|
||
Then, you can use autoware with vehicle_id arguments like this: | ||
|
||
Add a `<vehicle_id>` as an argument and switch parameters using options at startup. | ||
|
||
```bash | ||
# example1 (do not set vehicle_id) | ||
$ ros2 launch autoware_launch autoware.launch.xml sensor_model:=<YOUR-VEHICLE-NAME>_sensor_kit vehicle_model:=<YOUR-VEHICLE-NAME>_vehicle | ||
# example2 (set vehicle_id as VEHICLE_1) | ||
$ ros2 launch autoware_launch autoware.launch.xml sensor_model:=<YOUR-VEHICLE-NAME>_sensor_kit vehicle_model:=<YOUR-VEHICLE-NAME>_vehicle vehicle_id:=VEHICLE_1 | ||
# example3 (set vehicle_id as VEHICLE_2) | ||
$ ros2 launch autoware_launch autoware.launch.xml sensor_model:=<YOUR-VEHICLE-NAME>_sensor_kit vehicle_model:=<YOUR-VEHICLE-NAME>_vehicle vehicle_id:=VEHICLE_2 | ||
``` |
2 changes: 2 additions & 0 deletions
2
...uides/integrating-autoware/creating-vehicle-and-sensor-model/creating-sensor-model/.pages
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
nav: | ||
- index.md |
4 changes: 4 additions & 0 deletions
4
...-vehicle-and-sensor-model/creating-sensor-model/images/sensing_launch_files.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions
4
...-vehicle-and-sensor-model/creating-sensor-model/images/sensor_launch_design.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.