Repository navigation
Home
hippo5329 edited this page Nov 10, 2026
·
4 revisions
One-click from a bare hexapod controller to ROS 2: unified micro-ROS firmware, a gait engine, a web supervisor, SLAM and Nav2 for six-legged walkers. Sister project of linorobot2-cockpit, which does the same for wheeled robots.
Status: early. The first target robot is the Hiwonder miniHexa Standard Kit (18 DOF, ESP32), described in
docs/hardware-minihexa.md. The plan is in docs/architecture.md.
What runs today:
-
Firmware (
docs/firmware.md): tripod gait, leg IK, an AHRS and micro-ROS over USB serial or Wi-Fi, with OTA updates (/cmd_velin;/joint_states,/odom/gait,/imu/datawith orientation,/sonarand/batteryout). On the robot it drives the 18 servos and reads the real IMU, ultrasonic and battery; on a bare ESP32 it walks a simulated robot with simulated sensors. -
Host simulator (
docs/simulation.md): the same gait code walking simulated servos, with true pose vs gait odometry. Run it withmake -C sim run. -
Robot model (
ros/hexapod_description): URDF and RViz view of the miniHexa, tested against the firmware's kinematics. Run it withros2 launch hexapod_description display.launch.py. -
Walking view and EKF (
ros/hexapod_bringup): robot_localization's EKF fuses the gait's twist with the gyro's yaw rate into/odomand theodom→base_footprintTF, so RViz shows the robot walking across the floor. Run it withros2 launch hexapod_bringup view_robot.launch.pybeside a micro-ROS agent. -
LiDAR, SLAM, Nav2 and exploration (
docs/navigation.md): an LD19 forwarded over Wi-Fi by the camera board, and linorobot2-cockpit's slam_toolbox, Nav2 (MPPI Omni) and explore_lite with this robot's config. On the robot it has explored about 135 m² in 33 min and walked home within a few centimetres. -
Camera and vision (
docs/camera.md): the camera board's stream, a ROS bridge, object detection and monocular depth, and a survey of the objects seen while exploring. -
Simulator node (
ros/hexapod_sim): the host simulator in place of the firmware, with ground truth and the simulated IMU and ultrasonic in a walled room. Run it withros2 launch hexapod_sim sim.launch.py: no board needed.
- Stock miniHexa in, ROS 2 robot out: flash once from the browser supervisor, then drive by
/cmd_vel. - Gait and inverse kinematics on the controller, so walking survives a dropped link.
- Honest odometry: a legged robot has no wheel encoders; the firmware reports commanded body motion and the IMU, and the stack says which one it trusts.
- Simulation mode that walks like the real robot, for testing without hardware.
- Both ROS 2 distros the cockpit supports (Jazzy and Lyrical).
Apache-2.0, see LICENSE.
- Hardware: miniHexa
- Architecture
- Firmware
- Simulation
- LiDAR, SLAM, Nav2 and exploration
- Camera and vision
- Web UI: Hexapod tab
Hardware: miniHexa · Architecture · Firmware · Simulation · LiDAR, SLAM, Nav2 and exploration · Camera and vision · Web UI: Hexapod tab