Information#
- protocol enki_env.info.InfoFunction#
A callable that generates extra information at each step of the environment.
Classes that implement this protocol must have the following methods / attributes:
- __call__(robot: pyenki.DifferentialWheeled, info: Info) None#
Adds information related to a robot.
- Parameters:
robot – The robot.
info – The information dictionary.
- enki_env.info.pose_info(robot: pyenki.DifferentialWheeled, info: Info) None#
Adds the robot position in key
"position"and the robot orientation in key"angle".
- enki_env.info.twist_info(robot: pyenki.DifferentialWheeled, info: Info) None#
Adds the robot velocity in key
"velocity"and the angular speed in key"angular_speed".
- enki_env.info.wheel_info(robot: pyenki.DifferentialWheeled, info: Info) None#
Adds the
[left, right]wheel speeds in key"wheel_speeds".