irsim.world.robots#
Robot classes for IR-SIM simulation.
This package contains different robot types: - robot_diff: Differential drive robot - robot_omni: Omnidirectional robot - robot_acker: Ackermann steering robot
Submodules#
Classes#
Ackermann-steered robot. |
|
Differential-drive robot. |
|
Omnidirectional robot. |
Package Contents#
- class irsim.world.robots.RobotAcker(color: str = 'y', state_dim: int = 4, description: str = 'car_green.png', **kwargs: Any)[source]#
Bases:
irsim.world.object_base.ObjectBaseAckermann-steered robot.
Deprecated since version Use:
ObjectBasewithkinematics={'name': 'acker'}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.
- class irsim.world.robots.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.
- class irsim.world.robots.RobotOmni(color: str = 'g', state_dim: int = 3, **kwargs: Any)[source]#
Bases:
irsim.world.object_base.ObjectBaseOmnidirectional robot.
Deprecated since version Use:
ObjectBasewithkinematics={'name': 'omni'}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.