-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
437 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
# Autoagents | ||
|
||
This directory contains a series of agents that can be used for the leaderboard. | ||
|
||
## Dummy Agent | ||
|
||
This agent will remain stationary. | ||
|
||
## NPC Agent | ||
|
||
This is a simple rule-based agent that determines its next action through basic logic. The scenarios run by the NPC Agent can be used to test the basic functionality of the leaderboard. | ||
|
||
## Human Agent | ||
|
||
This agent can be controlled by the user via the keyboard. | ||
|
||
Control the agent's behavior through keyboard: `W` (forward), `A` (turn left), `D` (turn right), `S` (backward), `Q` (reverse) | ||
|
||
## Log Agent | ||
|
||
This agent provides a user-friendly variant of a human agent, which is controlled by a human operator and records all actions for subsequent analysis. It also outputs a log file. | ||
|
||
Control the agent's behavior through keyboard: | ||
|
||
- `W` (forward), `A` (turn left), `D` (turn right), `S` (backward), `Q` (reverse) | ||
- `E` Activate/deactivate the controller (default is off). The controller is an assistive feature that automatically adjusts the direction while the agent is moving forward to follow the route. Once the controller is activated, the user only needs to control the agent's forward and backward movement, not the steering. | ||
- `G` Reset the agent's offset. The offset is the agent's deviation from the centerline of the route. | ||
- `F` Adjust the agent's offset to slightly shift to the right, facilitating the avoidance of obstacles. Press `G` to restore the offset. | ||
- `R` Adjust the agent's offset to make a lane change to the left. If you wish to return to the original lane after changing lanes, press `G` to restore the offset. | ||
- `T` Adjust the agent's offset to make a lane change to the right. If you wish to return to the original lane after changing lanes, press `G` to restore the offset. | ||
|
||
Additional Information Displayed: | ||
|
||
- The top left and top right corners display the images of the left and right rearview mirrors, respectively. | ||
- There are three lines of text displayed on the hood of the vehicle at the bottom: | ||
- The first line: A warning will be displayed when the EGO is about to hit a vehicle or obstacle in front: "Too Close!". | ||
- The second line: If the route ahead includes a lane change within a certain distance, it will display the direction and distance of the next lane change. | ||
- The third line: Displays the name of the most recently triggered scenario. | ||
|
||
## ROS1 Agent | ||
|
||
This is the base class for ROS 1 agents. | ||
|
||
## ROS2 Agent | ||
|
||
This is the base class for ROS 2 agents. |
Oops, something went wrong.