Skip to content

Repository files navigation

Subwoofer

Subwoofer is a robotic quadruped developed from the microspot project for ROS2 Humble.

Startup sequence

On the robot pi, launch subwoofer bringup.launch.pi simulated:=false

  • If your controller is connected to the robot itself, add the flag controller:=true to auto-launch the relevant node.
  • Otherwise, run joy joy_node on a machine connected to the robot.

The robot will now be operational. If you wish to monitor the robot, launching viewer.launch.py on a machine connected to the robot will bring up a monitoring rviz window.

States

The robot currently have three states. The behaviour for each state is listed below:

STORAGE

The initial state which the robot expects on boot. Each leg is tucked under itself, causing the main body to be lifted above the ground.

STANCE

The robot will have some bend to each leg, but will stand stably. Using the controller joysticks, the height (left y), pitch (right y) and roll (right x) of the robot can be adjusted. This stance is used as a "hub state", acting as an in-between state for other states (currently storage and trot). While in any other state, they will only be able to go to this state.

TROT

The robot will trot forwards at a fixed pace. No controls other than mode switching is available, though several parameters can be tuned through the cli.

Controls

The controls available depends on what state the robot is in. The state switcher is however always available:

ButtonRequested state
AStance
BTrot
XStorage

Controls in STANCE state

When in the STANCE state, the joysticks enable to contorl height, pitch and roll.

JoystickAxisParameterDirection
LeftXUnused
LeftYHeightUp = increased height
RightXRollLeft = lower left, higher right
RightYPitchInverted controls

About

A repository of all things related to the Aberystwyth University Robotics Society's microspot project

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages