Skip to content

Commit

Permalink
add readme, fix launch remap
Browse files Browse the repository at this point in the history
Signed-off-by: Takamasa Horibe <[email protected]>
  • Loading branch information
TakaHoribe committed Jul 5, 2022
1 parent f173c4b commit 59eb766
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Simple Trajectory Follower

## Purpose

Provide a base trajectory follower code that is simple and flexible to use. This node calculates control command based on a reference trajectory and an ego vehicle kinematics.

## Design

### Inputs / Outputs

Inputs

- `input/reference_trajectory` [autoware_auto_planning_msgs::msg::Trajectory] : reference trajectory to follow.
- `input/current_kinematic_state` [nav_msgs::msg::Odometry] : current state of the vehicle (position, velocity, etc).
- Output
- `output/control_cmd` [autoware_auto_control_msgs::msg::AckermannControlCommand] : generated control command.

### Parameters

| Name | Type | Description | Default value |
| :---------------------- | :---- | :----------------------------------------------------------------------------------------------------------------- | :------------ |
| use_external_target_vel | bool | use external target velocity defined by parameter when true, else follow the velocity on target trajectory points. | false |
| external_target_vel | float | target velocity used when `use_external_target_vel` is true. | 0.0 |
| lateral_deviation | float | target lateral deviation when following. | 0.0 |
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@

<remap from="input/kinematics" to="/localization/kinematic_state"/>
<remap from="input/trajectory" to="/planning/scenario_planning/trajectory"/>
<remap from="output/control_cmd" to="/simulation/input/manual_ackermann_control_command"/>
<remap from="output/control_cmd" to="/vehicle/command/manual_control_cmd"/>
</node>
</launch>

0 comments on commit 59eb766

Please sign in to comment.