robonix.primitive.deep_robotics.lite3.quadruped
primitive package
v0.2.0
Lite3 quadruped primitive with hardware and MuJoCo backends
lite3_quadruped
Lite3 chassis primitive with one capability surface and two selectable backends: the physical motion host and the ROS 2/MuJoCo simulator.
Backend selection
Set backend in the Robonix primitive config:
# Physical robot
config:
backend: hardware
target_ip: 192.168.1.120
target_port: 43893
local_port: 43897
app_port: 43899
odom_topic: /odom
# MuJoCo bridge
config:
backend: simulation
odom_topic: /odom
twist_in_topic: /cmd_vel
sentinel_timeout_s: 30.0
hardware remains the compatibility default. The selected backend is logged
at startup. Simulation mode rejects target_ip, target_port, local_port,
and app_port; it never starts the hardware transfer process, heartbeat, or
Lite3 initialization sequence.
The simulation backend requires actively publishing /clock, /odom, and
/joint_states. Posture calls map to /lite3_sim/stand,
/lite3_sim/lie_down, /lite3_sim/reset, and
/lite3_sim/emergency_stop services.
Both backends expose the same capabilities:
robonix/primitive/chassis/moverobonix/primitive/chassis/twist_inrobonix/primitive/chassis/odomrobonix/primitive/chassis/posture
move uses gRPC, twist_in and odom use ROS 2, and posture uses MCP.
Health state and streaming telemetry use gRPC. The framework automatically
provides the shared robonix/lifecycle/driver.
INIT retains the existing backend startup and hardware initialization sequence. ACTIVATE checks backend readiness without sending initialization or posture commands again. Hardware readiness rejects a missing or exited transfer process; simulation readiness checks its required topic activity. SHUTDOWN stops the selected backend. The shared health contracts currently trigger namespace diagnostics in Robonix; health reporting remains enabled.
Run backend unit tests with:
python3 -m unittest discover -s tests -v