feathersdk.robot.robot Module¶
- class feathersdk.robot.robot.FeatherRobot(robot_name: str, config: dict = {})¶
Bases:
RobotFeather robot implementation with navigation, manipulation, torso, and neck platforms.
- __init__(robot_name: str, config: dict = {})¶
Initialize Feather robot with configured platforms.
Initializes communication manager, battery system, motors manager, and all configured platforms (navigation, manipulation, torso, neck). Automatically registers systems with power event listeners if battery system is configured.
- Parameters:
robot_name (str) – Name identifier for the robot
config (dict) – Configuration dictionary with optional keys for each platform
- Raises:
Exception – If E-stop is pressed or initialization fails (unless testing=True)
- clear_motor_errors() bool¶
Clear all motor errors. Returns True if any errors were cleared, False otherwise.
- get_battery_voltage()¶
Get battery voltage.
- Returns:
Battery voltage in volts (currently returns 0)
- Return type:
float
- on_abort(signal=None, frame=None)¶
Handle system abort and stop all systems.
- class feathersdk.robot.robot.Robot(robot_name: str)¶
Bases:
SteppableSystemBase robot class for managing multiple systems and control loops.
- on_abort(signal=None, frame=None)¶
Handle system abort and stop all systems.
- robot_loop()¶
Run the main robot control loop until aborted.
- start()¶
Start the robot and all registered systems.
- start_loop_in_background()¶
Start the robot control loop in a background thread.