claudeDroneteam-docs
documentation · reference
Docs reference

Structured knowledge from collected_doc_media/claudedrone_docs/. Browse the tree on the left; the source of truth is markdown in the repo.

action_publisher node

Translates RL-policy output into cmd_vel / RC override commands for MAVROS.

stabledoc-seoupdated 2026-05-11T00:00:00.000ZClaudeDrone

The action_publisher is the bridge between the RL policy and MAVROS. The policy produces an action tensor (typically normalized 3-DOF velocity in body frame); this node maps it into a geometry_msgs/Twist message and publishes to /mavros/setpoint_velocity/cmd_vel_unstamped. It’s a thin layer, but it’s where action-space conventions are enforced — clipping, scaling, and the body-vs-world-frame choice all live here.

Current status: the node lives in the simulation/src/drone_sim/drone_sim/action_publisher.py file in the source tree. The reference page is intentionally short — most of the implementation detail is in the RL training stack, not in this node.

Inputs:

  • Policy action (NumPy array, shape (3,), range [-1, 1]) — published on /policy/action by the inference node.
  • Drone state (for safety clipping) — /mavros/state, /mavros/local_position/pose.

Outputs:

  • /mavros/setpoint_velocity/cmd_vel_unstamped (geometry_msgs/Twist) — body-frame velocity command.

Where to go next

© 2026 claudeDrone Team · auto-pipeline · Nuxt 3 SSR