Skip to content

Commit 1b3b6c0

Browse files
committed
update docs
Signed-off-by: kosuke55 <kosuke.tnp@gmail.com>
1 parent 3798f35 commit 1b3b6c0

File tree

3 files changed

+20
-1
lines changed

3 files changed

+20
-1
lines changed

vehicle/autoware_raw_vehicle_cmd_converter/README.md

+14
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,12 @@ vgr_coef_c: 0.042
4545
When `convert_steer_cmd_method: "vgr"` is selected, the node receives the control command from the controller as the desired tire angle and calculates the desired steering angle to output.
4646
Also, when `convert_actuation_to_steering_status: true`, this node receives the `actuation_status` topic and calculates the steer tire angle from the `steer_wheel_angle` and publishes it.
4747

48+
### Vehicle Adaptor
49+
50+
**Under development**
51+
A feature that compensates for control commands according to the dynamic characteristics of the vehicle.
52+
This feature works when `use_vehicle_adaptor: true` is set and requires `control_horizon` to be enabled, so you need to set `enable_control_cmd_horizon_pub: true` in the trajectory_follower node.
53+
4854
## Input topics
4955

5056
| Name | Type | Description |
@@ -54,6 +60,14 @@ Also, when `convert_actuation_to_steering_status: true`, this node receives the
5460
| `~/input/odometry` | navigation_msgs::Odometry | twist topic in odometry is used. |
5561
| `~/input/actuation_status` | tier4_vehicle_msgs::msg::ActuationStatus | actuation status is assumed to receive the same type of status as sent to the vehicle side. For example, if throttle/brake pedal/steer_wheel_angle is sent, the same type of status is received. In the case of steer_wheel_angle, it is used to calculate steer_tire_angle and VGR in this node. |
5662

63+
Input topics when vehicle_adaptor is enabled
64+
65+
| Name | Type | Description |
66+
| ------------------------------ | ----------------------------------------------- | ----------------------- |
67+
| `~/input/accel` | geometry_msgs::msg::AccelWithCovarianceStamped; | acceleration status |
68+
| `~/input/operation_mode_state` | autoware_adapi_v1_msgs::msg::OperationModeState | operation mode status |
69+
| `~/input/control_horizon` | autoware_control_msgs::msg::ControlHorizon | control horizon command |
70+
5771
## Output topics
5872

5973
| Name | Type | Description |

vehicle/autoware_raw_vehicle_cmd_converter/include/autoware_raw_vehicle_cmd_converter/node.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -90,11 +90,11 @@ class RawVehicleCommandConverterNode : public rclcpp::Node
9090
// polling subscribers
9191
autoware::universe_utils::InterProcessPollingSubscriber<Odometry> sub_odometry_{
9292
this, "~/input/odometry"};
93+
// polling subscribers for vehicle_adaptor
9394
autoware::universe_utils::InterProcessPollingSubscriber<AccelWithCovarianceStamped> sub_accel_{
9495
this, "~/input/accel"};
9596
autoware::universe_utils::InterProcessPollingSubscriber<OperationModeState> sub_operation_mode_{
9697
this, "~/input/operation_mode_state"};
97-
// NOTE:
9898
// control_horizon is an experimental topic, but vehicle_adaptor uses it to improve performance,
9999
autoware::universe_utils::InterProcessPollingSubscriber<ControlHorizon> sub_control_horizon_{
100100
this, "~/input/control_horizon"};

vehicle/autoware_raw_vehicle_cmd_converter/schema/raw_vehicle_cmd_converter.schema.json

+5
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,11 @@
180180
"type": "boolean",
181181
"default": "true",
182182
"description": "convert actuation to steering status or not. Whether to subscribe to actuation_status and calculate and publish steering_status For example, receive the steering wheel angle and calculate the steering wheel angle based on the gear ratio. If false, the vehicle interface must publish steering_status."
183+
},
184+
"use_vehicle_adaptor": {
185+
"type": "boolean",
186+
"default": "false",
187+
"description": "flag to enable feature that compensates control commands according to vehicle dynamics."
183188
}
184189
},
185190
"required": [

0 commit comments

Comments
 (0)