Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Repository files navigation

wolf_controller

ROS 2 ros2_control plugin for WoLF quadrupeds. The supported workspace targets ROS 2 Jazzy. Normal robot bringup pairs the controller with wolf_planner; MPC uses the same joint/IMU interfaces, whole-body solver and robot command authority. An explicit controller-only image build keeps WPG available.

Build and launch

Use wolf-setup to compile the coordinated controller, planner and descriptions into the wolf-app:jazzy Docker image. From a setup checkout, build the image and launch the robot:

./install.sh
./run_docker.sh --gui -- ros2 launch spot_description controller.launch.xml robot_name:=spot1
# Go1 and Vision60 use the same interface:
./run_docker.sh --gui -- ros2 launch go1_description controller.launch.xml robot_name:=go1
./run_docker.sh --gui -- ros2 launch vision60_description controller.launch.xml robot_name:=vision60

The deployed image contains installed packages and numerical libraries. Its entrypoint loads the installed ROS environment; startup does not compile a workspace. WoLF deployment uses Docker images, with no WoLF Debian package or host ROS workspace installation. See setup's README for image build options, prepared offline inputs and the Linux X11 setup required by --gui.

The robot launch starts both processes in the same namespace and clock. The planner model is exported from the selected robot description, including its sensor payload. The controller still owns Nav2/manual command arbitration and stop handling; the planner consumes the selected velocity and chooses trot or stance. Launching does not issue a stand-up or motion command. After an operator stands the robot up, guarded MPC admission waits for a valid policy and all required reference streams.

Launch option Default Purpose
launch_planner true Start the paired planner; false selects controller-only bringup
planner_autostart true Request guarded MPC after operator stand-up; false leaves mode selection to the operator
planner_type default Select default or adaptive MPC
use_sim_time true Share simulation time across the controller and planner
sensors Robot-specific Use the same physical sensor payload in both models

When building through setup's ./install.sh --controller-only option, pass launch_planner:=false; the launch then does not resolve or import the planner. The controller and planner packages retain independent dependency graphs, and the default setup supplies their combined runtime closure. The generic wolf_controller_bringup.launch.xml remains available for robot adapters with the same paired defaults. An explicit planner_urdf_file override is an advanced option: its physical model must match the controller's payload and joint contract. Arms remain outside the locomotion integration and fail visibly when selected for paired MPC.

Only one WoLF core may be configured in a process. Multiple namespaces or controller managers inside the same Gazebo process do not isolate core state; use separate simulator/controller processes for separate robots.

For a Tactix-owned Vision60 simulator, add gazebo:=false spawn_robot:=false bridge_sensors:=false robot_description_gazebo:=true. The common launcher still uploads the required simulator/control/IMU model, and the external owner retains world, spawning and bridge authority. robot_description_gazebo includes simulator interfaces in the robot-state publisher's published model; it defaults to true for Vision60 and false for Spot/Go1. The planner always exports its simulator-free physical model. Vision60 selects local frame IDs on namespaced TF topics; the generic frame_prefix and namespace_tf options preserve the existing Spot/Go1 defaults. Controller YAML is resolved into a separate output file, including its parent directories on a fresh installation.

The plugin exports wolf_controller/WolfController as a controller_interface::ControllerInterface. ROS 1 sources, build branches and plugin exports, and the RT GUI/logger integrations have been removed. RViz and PlotJuggler remain optional ROS 2 visualization tools. The separate plot_node executable links RViz visual tools; the controller plugin and its public CMake exports do not require RViz, Qt or Ogre.

The MPC transport contract documents observation layout, reference readiness, frame conventions and planner bringup. The runtime lifecycle contract documents initialization, teardown, command arbitration and the native validation commands. Vision60 is a data-focused package in wolf_descriptions using the same launch/model helpers; Tactix's Nav2 provider owns its navigation process and integration.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages