irsim.world.robots.robot_diff#
Classes#
Differential-drive robot. |
Module Contents#
- class irsim.world.robots.robot_diff.RobotDiff(color: str = 'g', state_dim: int = 3, **kwargs: Any)[source]#
Bases:
irsim.world.object_base.ObjectBaseDifferential-drive robot.
Deprecated since version Use:
ObjectBasewithkinematics={'name': 'diff'}directly. This subclass will be removed in a future version.Initialize an ObjectBase instance.
This method sets up a new ObjectBase object with the specified parameters, initializing its geometry, kinematics, behaviors, sensors, and other properties relevant to simulation.
The initialization process includes: - Setting up geometry handlers and collision detection - Configuring kinematics models for movement - Initializing state vectors and goal management - Setting up behaviors and sensor systems - Configuring visualization and plotting options
Note
All parameters are documented in the class docstring above. Refer to the
ObjectBaseclass documentation for detailed parameter descriptions.- Raises:
ValueError – If dimension parameters do not match the provided shapes or if input parameters are invalid.