ユーザ用ツール

サイト用ツール


dr:start

文書の過去の版を表示しています。


AWS DeepRacer

環境値

環境変数 params によって連想配列の形で以下の値が戻される

KEY VALUE
all_wheels_on_trackBoolean, π flag to indicate if the agent is on the track
xfloat, π agent's x-coordinate in meters
yfloat, π 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_centerfloat, π distance in meters from the track center
is_crashedBoolean, π Boolean flag to indicate whether the agent has crashed.
is_left_of_centerBoolean, π Flag to indicate if the agent is on the left side to the track center or not.
is_offtrackBoolean, π Boolean flag to indicate whether the agent has gone off track.
is_reversedBoolean, π flag to indicate if the agent is driving clockwise (True) or counter clockwise (False).
headingfloat, π 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.
progressfloat, π percentage of track completed
speedfloat, π agent's speed in meters per second (m/s)
steering_anglefloat, π agent's steering angle in degrees
stepsint, π number steps completed
track_lengthfloat, π track length in meters.
track_widthfloat, π width of the track
waypoints[(float, float), ] π list of (x,y) as milestones along the track center
dr/start.1581820375.txt.gz · 最終更新: 2020/02/16 11:32 by paya