io.github.srs.model.entity.dynamicentity.actuator.DifferentialWheelMotor
See theDifferentialWheelMotor companion trait
Attributes
-
Companion
-
trait
-
Graph
-
-
Supertypes
-
class Object
trait Matchable
class Any
-
Self type
-
Members list
Value parameters
-
left
-
the left wheel of the motor.
-
right
-
the right wheel of the motor.
Attributes
-
Returns
-
a new instance of DifferentialWheelMotor.
Applies a list of actions to the robot, updating its state accordingly.
Applies a list of actions to the robot, updating its state accordingly.
Value parameters
-
action
-
the action to apply to the robot.
-
dt
-
the time delta for which the robot is moving.
Attributes
-
Returns
-
the robot with updated state after applying the actions.
Moves the robot based on the current state of its wheel motors.
Moves the robot based on the current state of its wheel motors.
Attributes
-
Returns
-
a new instance of the robot with updated position and orientation.