dr:start
文書の過去の版を表示しています。
AWS DeepRacer
環境値
環境変数 params によって連想配列の形で以下の値が戻される
KEY | TYPE | VALUE |
---|---|---|
all_wheels_on_track | Boolean | flag to indicate if the agent is on the track |
x | float | agent's x-coordinate in meters |
y | float | agent's y-coordinate in meters |
closest_objects | [int, int] | zero-based indices of the two closest objects to the agent's current position of (x, y). |
closest_waypoints | [int, int] | indices of the two nearest waypoints. |
distance_from_center | float | distance in meters from the track center |
is_crashed | Boolean | Boolean flag to indicate whether the agent has crashed. |
is_left_of_center | Boolean | Flag to indicate if the agent is on the left side to the track center or not. |
is_offtrack | Boolean | Boolean flag to indicate whether the agent has gone off track. |
is_reversed | Boolean | flag to indicate if the agent is driving clockwise (True) or counter clockwise (False). |
heading | float | agent's yaw in degrees |
objects_distance | [float, ] | list of the objects' distances in meters between 0 and track_len. |
objects_heading | [float, ] | list of the objects' headings in degrees between -180 and 180. |
objects_left_of_center | [Boolean, ] | list of Boolean flags indicating whether elements' objects are left of the center (True) or not (False). |
objects_location | [(float, float),] | list of object locations [(x,y), …]. |
objects_speed | [float, ] | list of the objects' speeds in meters per second. |
progress | float | percentage of track completed |
speed | float | agent's speed in meters per second (m/s) |
steering_angle | float | agent's steering angle in degrees |
steps | int | number steps completed |
track_length | float | track length in meters. |
track_width | float | width of the track |
waypoints | [(float, float), ] | list of (x,y) as milestones along the track center |
dr/start.1581820797.txt.gz · 最終更新: 2020/02/16 11:39 by paya