Package level pydoc for smartbot_irl.utils
smartbot_irl#
Functions#
Factory that returns a SmartBotReal or SmartBotSim instance. |
Classes#
Container for all SmartBot sensor topics. |
|
High-level command for SmartBot. |
Function Details#
Class Details#
- class smartbot_irl.SensorData[source]#
Bases:
objectContainer for all SmartBot sensor topics. Each field starts as
Noneand becomes a populated message object (LaserScan, Odometry, etc.) once that topic is received.
- class smartbot_irl.Command(wheel_vel_left=None, wheel_vel_right=None, linear_vel=None, angular_vel=None, gripper_closed=None, manipulator_presets=None)[source]#
Bases:
objectHigh-level command for SmartBot.
- Supports both:
Differential drive control (linear + angular velocity)
Direct wheel velocity control (left/right)
Manipulator preset and gripper 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)
- to_ros()[source]#
Convert this Command into a dictionary that rosliby can publish.
- Return type:
dict
- angular_vel: float | None = None#
- gripper_closed: bool | None = None#
- linear_vel: float | None = None#
- manipulator_presets: str | None = None#
- wheel_vel_left: float | None = None#
- wheel_vel_right: float | None = None#