Skip to content

Commit

Permalink
Merge pull request #1 from mitsudome-r/fix/radar_tracks_msgs_converter
Browse files Browse the repository at this point in the history
fix: restore parameter description and make json schema description simpler
  • Loading branch information
kaspermeck-arm authored Mar 1, 2024
2 parents 5d2ac41 + 8203640 commit c53b81f
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 5 deletions.
33 changes: 33 additions & 0 deletions perception/radar_tracks_msgs_converter/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,37 @@ Autoware objects label is defined in [ObjectClassification.idl](https://gitlab.c

### Parameters

#### Parameter Summary
{{ json_to_markdown("perception/radar_tracks_msgs_converter/schema/radar_tracks_msgs_converter.schema.json") }}

#### Parameter Description

- `update_rate_hz` (double) [hz]
- Default parameter is 20.0

This parameter is update rate for the `onTimer` function.
This parameter should be same as the frame rate of input topics.

- `new_frame_id` (string)
- Default parameter is "base_link"

This parameter is the header frame_id of the output topic.

- `use_twist_compensation` (bool)
- Default parameter is "true"

This parameter is the flag to use the compensation to linear of ego vehicle's twist.
If the parameter is true, then the twist of the output objects' topic is compensated by the ego vehicle linear motion.

- `use_twist_yaw_compensation` (bool)
- Default parameter is "false"

This parameter is the flag to use the compensation to yaw rotation of ego vehicle's twist.
If the parameter is true, then the ego motion compensation will also consider yaw motion of the ego vehicle.

- `static_object_speed_threshold` (float) [m/s]
- Default parameter is 1.0

This parameter is the threshold to determine the flag `is_stationary`.
If the velocity is lower than this parameter, the flag `is_stationary` of DetectedObject is set to `true` and dealt as a static object.

Original file line number Diff line number Diff line change
Expand Up @@ -8,28 +8,28 @@
"properties": {
"update_rate_hz": {
"type": "number",
"description": "The update rate [hz] for the `onTimer` function. Should be the same as the frame rate of input topics.",
"description": "The update rate [hz] of the output topic",
"default": "20.0",
"minimum": 0.0
},
"new_frame_id": {
"type": "string",
"description": "The header frame_id of the output topic.",
"description": "The header frame_id of the output topic",
"default": "base_link"
},
"use_twist_compensation": {
"type": "boolean",
"description": "Flag to enable the compensation to linear of ego vehicle's twist. If true, the twist of the output objects' topic is compensated by the ego vehicle linear motion.",
"description": "Flag to enable the linear compensation of ego vehicle's twist",
"default": "false"
},
"use_twist_yaw_compensation": {
"type": "boolean",
"description": "Flag to enable the compensation to yaw rotation of ego vehicle's twist. If true, the ego motion compensation will also consider yaw motion of the ego vehicle.",
"description": "Flag to enable the compensation of yaw rotation of ego vehicle's twist",
"default": "false"
},
"static_object_speed_threshold": {
"type": "number",
"description": "Threshold to determine the flag `is_stationary`. If the velocity is lower than this parameter, the flag `is_stationary` of DetectedObject is set to `true` and dealt as a static object.",
"description": "Threshold to treat detected objects as static objects",
"default": "1.0"
}
},
Expand Down

0 comments on commit c53b81f

Please sign in to comment.