Robonix package for the JAKA Lumi body joints: it drives the lift column,
waist rotation, head rotation and head pitch — the four motors the vendor calls
“ext-axis” — and publishes them on /joint_states.
Both RGB-D cameras hang above the lift/waist/head joints. Without a publisher
for l_1..l_4 the cameras never enter the TF tree, RTAB-Map cannot resolve
image-to-map transforms, and mapping does not start. The arm package only
publishes its own six joints on /jaka/joint_states, so it cannot fill this
chain; splitting the joints across two publishers makes them overwrite each
other and the TF tree flaps. This package therefore owns /joint_states and
publishes l_1..l_4 on it.
Capabilities
Contract
Mode
Transport
Endpoint
robonix/primitive/body/joint_states
topic_out
ros2
/joint_states
robonix/primitive/body/joint_command
topic_in
ros2
/lumi_body/joint_command
Neither contract exists in the global capability tree, so both are declared
locally in capabilities/body/*.toml (packaging-spec.md §1.2 allows this;
rbnx codegen and Atlas merge package-level contracts automatically).
motion_enabled defaults to false: only /joint_states is published and every
joint_command is rejected with a warning. Enable it once the feedback and the
limits look right:
# 1) provider and capabilities
rbnx caps -v | rg -A6 lumi_body
# 2) are the four joints in the stream
ros2 topic echo /joint_states --once
# 3) the decisive check: did the cameras enter the TF tree
ros2 run tf2_ros tf2_echo base_link Camera3_Link
ros2 run tf2_ros tf2_echo base_link Camera2_Link
If the third check resolves, the chain “body package + whole-robot URDF +
robot_state_publisher” is connected.
Known limitations
The six arm joints do not enter TF. They are published by the reused
upstream arm package on /jaka/joint_states. Completing the tree needs either
publish_arm_joints (a second jkrc client reading the arm angles) or forking
the arm package so one process publishes all ten joints. Both wait for the
on-hardware acceptance run.
The velocity field stays empty. The vendor reports mm/s and deg/s per
axis; mixing those unit systems inside one JointState is worse than omitting
them.
No tool/payload changes. That belongs to the arm package, not to the body.
After more than error_threshold consecutive status failures the provider keeps
publishing the last measured values (with a warning) so the TF tree does not
break. Set publish_last_known_on_error: false to go silent instead.
primitive-jaka-lumi-body-rbnx
Robonix package for the JAKA Lumi body joints: it drives the lift column, waist rotation, head rotation and head pitch — the four motors the vendor calls “ext-axis” — and publishes them on
/joint_states.Why this package has to exist
robot_state_publisherderives TF only from the latest/joint_statesmessage (verified on ROS 2 Humble). The Lumi kinematic chain is:Both RGB-D cameras hang above the lift/waist/head joints. Without a publisher for
l_1..l_4the cameras never enter the TF tree, RTAB-Map cannot resolve image-to-map transforms, and mapping does not start. The arm package only publishes its own six joints on/jaka/joint_states, so it cannot fill this chain; splitting the joints across two publishers makes them overwrite each other and the TF tree flaps. This package therefore owns/joint_statesand publishesl_1..l_4on it.Capabilities
robonix/primitive/body/joint_statestopic_out/joint_statesrobonix/primitive/body/joint_commandtopic_in/lumi_body/joint_commandNeither contract exists in the global capability tree, so both are declared locally in
capabilities/body/*.toml(packaging-spec.md §1.2allows this;rbnx codegenand Atlas merge package-level contracts automatically).l_1l_2l_3l_4Details are in CAPABILITY.md; the configuration fields are in config.spec.
Prerequisites
rbnx setup ~/robonix/opt/ros/humble) withsensor_msgsandcolconcurl http://192.168.10.90:5000/api/extaxis/sysinfo(failure is usually the missing192.168.10.x/24static address on the WiFi link)Build and test
Standalone start (debugging)
motion_enableddefaults tofalse: only/joint_statesis published and everyjoint_commandis rejected with a warning. Enable it once the feedback and the limits look right:Verification
If the third check resolves, the chain “body package + whole-robot URDF + robot_state_publisher” is connected.
Known limitations
/jaka/joint_states. Completing the tree needs eitherpublish_arm_joints(a second jkrc client reading the arm angles) or forking the arm package so one process publishes all ten joints. Both wait for the on-hardware acceptance run.velocityfield stays empty. The vendor reports mm/s and deg/s per axis; mixing those unit systems inside one JointState is worse than omitting them.error_thresholdconsecutive status failures the provider keeps publishing the last measured values (with a warning) so the TF tree does not break. Setpublish_last_known_on_error: falseto go silent instead.License
Apache-2.0.