Package level pydoc for smartbot_irl.utils
smartbot_irl#
Functions#
Factory that returns a SmartBotReal or SmartBotSim instance. |
Classes#
High-level command for SmartBot. |
Function Details#
- smartbot_irl.SmartBot(mode: Literal['real'], drawing: bool = False, **kwargs) SmartBotReal[source]#
- smartbot_irl.SmartBot(mode: Literal['sim'], drawing: bool = False, **kwargs) SmartBotSim
Factory that returns a SmartBotReal or SmartBotSim instance.
- Parameters:
mode (str)
drawing (bool)
- Return type:
SmartBotReal | SmartBotSim
Class Details#
- class smartbot_irl.SensorData(raw: 'RawSensorData' = <factory>, odom: 'Odometry' = <factory>, scan: 'LaserScan' = <factory>, joints: 'Joints' = <factory>, seen_hexes: 'PoseArray' = <factory>, imu: 'Imu' = <factory>, gripper_curr_state: 'String' = <factory>, manipulator_curr_preset: 'String' = <factory>, seen_robots: 'PoseArray' = <factory>)[source]#
Bases:
object- Parameters:
raw (RawSensorData)
odom (Odometry)
scan (LaserScan)
joints (Joints)
seen_hexes (PoseArray)
imu (Imu)
gripper_curr_state (String)
manipulator_curr_preset (String)
seen_robots (PoseArray)
- gripper_curr_state: String#
- imu: Imu#
- joints: Joints#
- manipulator_curr_preset: String#
- odom: Odometry#
- raw: RawSensorData#
- scan: LaserScan#
- seen_hexes: PoseArray#
- seen_robots: PoseArray#
- class smartbot_irl.Command(wheel_vel_left=0.0, wheel_vel_right=0.0, linear_vel=0.0, angular_vel=0.0, gripper_closed=None, manipulator_presets=None, reset_position=False, remove_bias=False)[source]#
Bases:
objectHigh-level command for SmartBot. Twist and indiv whele control.
- Parameters:
wheel_vel_left (float | None)
wheel_vel_right (float | None)
linear_vel (float | None)
angular_vel (float | None)
gripper_closed (bool | None)
manipulator_presets (str | None)
reset_position (bool)
remove_bias (bool)
- angular_vel: float | None = 0.0#
- gripper_closed: bool | None = None#
- linear_vel: float | None = 0.0#
- manipulator_presets: str | None = None#
- remove_bias: bool = False#
- reset_position: bool = False#
- wheel_vel_left: float | None = 0.0#
- wheel_vel_right: float | None = 0.0#