6-axis arm + TG-9801 (same Mini 2, same gripper); lumi carries the extended-IO gripper and the standard gripper contracts
head_camera
reusedprimitive-orbbec-camera-rbnx
head Gemini 2L (gemini2L.launch.py)
robot_description
reusedprimitive-robot-description-rbnx
reads the URDF from Soma, runs robot_state_publisher for TF
mapping
reusedservice-map-rbnx
RTAB-Map RGB-D mapping, occupancy grid and map→odom
navigation
reusedservice-navigation-rbnx
Nav2 bound to map + odom, publishes /cmd_vel
Deployment topology (read this first)
The two Lumi RGB-D cameras are USB devices attached to the robot’s internal
computer, not to the workstation. A primitive has no way to reach USB across
machines, so what can run where differs:
Instance
Workstation (WiFi access)
Internal computer (camera host)
Reason
lumi_chassis
✅
✅
TCP 192.168.10.10:31001
lumi_body
✅
✅
HTTP 192.168.10.90:5000
jaka_arm
✅
✅
jkrc 192.168.10.90
robot_description (TF)
✅
✅
only needs /joint_states
head_camera
❌ no USB here
✅
camera is physically attached there
mapping
❌
✅
needs camera rgb+depth
navigation
❌
✅
needs service/map (provided by mapping)
Three topologies; pick one according to the goal:
Install everything on the internal computer — the only complete option
when you need mapping + Nav2. Copy or clone this repository and the six
packages onto that machine, install ros-humble-rtabmap-ros,
ros-humble-nav2-bringup and Robonix, then
bash build.sh && bash start.sh.
Split across machines: the workstation runs the three control instances
plus robot_description, the internal computer runs head_camera +
mapping, and both talk to the same Atlas
(system.atlas.listen: 0.0.0.0:50051) and the same Zenoh router
(ROBONIX_ZENOH_ROUTER=tcp://<workstation-ip>:7447). Highest operational cost:
cross-machine DDS plus two Robonix installs.
Workstation, control only (ready on this machine): use
robonix_manifest.control.yaml, which declares four instances
(robot_description / jaka_arm / lumi_chassis / lumi_body).
This is enough to accept the whole TF design — lumi_body publishes
l_1..l_4, so robot_state_publisher derives
base_link → … → Camera3_Link even though no image ever arrives.
⚠️ When connected over WiFi, the DHCP lease 10.5.5.x belongs to the AP’s own
pool. Add a static 192.168.10.x/24 address to that connection, otherwise
neither 192.168.10.90 nor 192.168.10.10 is reachable:
nmcli connection modify Lumi10000023 +ipv4.addresses 192.168.10.200/24
Body axis travel (ext-axis, HTTP :5000)
The four body axes are vendor “ext-axis” motors behind 192.168.10.90:5000
(/api/extaxis/status reports them in this order).
JAKA SDK binaries: the arm package does not distribute jkrc.so /
libjakaAPI.so. Place them in
primitive-jaka-mini_with_tg9801_gripper-arm_gripper-rbnx/jaka_arm/jaka_sdk/aarch64-linux-gnu/.
Without them the arm package’s build.sh fails fast and prints the path.
credentials and device addresses: the committed manifest keeps them as
environment placeholders — ${VLM_BASE_URL}, ${VLM_API_KEY}, ${VLM_MODEL},
${LUMI_HEAD_CAMERA_SN}, ${LUMI_WAIST_CAMERA_SN}, ${JAKA_WEB_PASSWORD},
${JAKA_SDK_PASSWORD}, ${LUMI_MID360_IP}. Export those before
start.sh, or put literal values in a gitignored
robonix_manifest.local.yaml (that is what this machine’s copy does).
Both camera serial numbers must be pinned: the two Gemini 2L units are
identical, so without a serial each provider opens whichever device the
driver enumerates first and the second one fails to start.
The MID-360 keeps the address it was flashed with, and that differs per
batch: Livox’s default is 192.168.1.1XX, XX being the last two digits of
the S/N (this unit …0305 answers on .105). Read it off with Livox
Viewer 2 or the SDK’s livox_lidar_info_get; host_ip stays empty so the
provider resolves the host NIC with ip route get.
The local manifest is fully offline: robonix_manifest.local.yaml turns
all ten instances into path: entries pointing at sibling checkouts —
primitive-jaka-lumi-chassis-rbnx, primitive-jaka-lumi-body-rbnx,
primitive-jaka-mini_with_tg9801_gripper-arm_gripper-rbnx,
primitive-orbbec-camera-rbnx, primitive-robot-description-rbnx,
primitive-livox-mid360-lidar-rbnx, primitive-livox-mid360-imu-rbnx,
service-map-rbnx, service-navigation-rbnx.
The committed manifest keeps url:; a machine without those siblings either
clones them or uses the committed manifest (first build needs network).
tools/prepare_urdf.py only needs re-running when the model changes or the
frame convention is adjusted:
# Vendor model export from the robot manual media. The directory name contains
# CJK characters, so resolve it with a glob instead of copying the literal name.
LUMI_MODEL="$(echo "$HOME"/jaka-lumi/02.*/JAKA-Lumi-sensors-v3)"
python3 tools/prepare_urdf.py \
--source "$LUMI_MODEL/urdf/JAKA-Lumi-sensors-v3.urdf" \
--vendor-meshes "$LUMI_MODEL/meshes"
It performs four transforms and verifies its own output: arm joints
l_a1..a6 → joint_1..joint_6 (matching the arm package’s hardcoded names),
package:// mesh URIs → relative paths, the ten encoder-less passive joints
(wheels and casters) → fixed so they land in /tf_static, and the three stale
body travel limits → BODY_LIMITS (l_1 0.36 m, l_2 ±2.4435 rad, l_4
±0.7854 rad). It also wraps the
CAD chassis under a new base_link rotated by 90°, because the vendor model has
the wheel axle along X and the forward sensors at -Y, i.e. the model’s forward
axis is -Y, which violates REP-103 (X forward, Y left). The rotation constant
is BASE_YAW_DEG at the top of the script.
Start and acceptance
Four stages, opening one at a time. Never enable motion_enabled on the first
power-up.
Pass: the self-check reports 0 failed, both rbnx validate runs pass, build.sh
exits 0.
Stage 1: read-only (robot powered, e-stop released, all three motion_enabled false)
bash start.sh
In another terminal:
rbnx caps -v | rg -A6 'jaka_arm|lumi_body|lumi_chassis|head_camera|mapping|navigation'
rbnx logs -d ./rbnx-boot/logs -l warn
ros2 run tf2_ros tf2_echo base_link Camera3_Link # camera entered the TF tree
ros2 run tf2_ros tf2_echo odom base_link # chassis odometry
ros2 run tf2_ros tf2_echo map base_link # once mapping is up
Pass: all six providers ACTIVE; /joint_states at about 10 Hz containing
l_1..l_4; all three transforms resolve; no driver or first-frame errors.
Stage 2: no-motion functional check
rbnx ask 'Call only robonix/primitive/camera/snapshot on provider_id=head_camera for one frame; do not execute any motion.'
Stage 3: open motion one subsystem at a time
lumi_body.motion_enabled: true → lift +10 mm, waist +5°, head ±5°.
Watch RViz at the same time: the robot model’s forward direction must match
+X. If it is reversed, set BASE_YAW_DEG to -90 in
tools/prepare_urdf.py and regenerate.
lumi_chassis.motion_enabled: true → forward_m: 0.1, rotate_deg: 10;
confirm the closed loop, the stop and the direction.
jaka_arm.motion_enabled: true → small joint moves plus gripper open/close.
After changing the gripper, set tool data and payload first, otherwise the
TCP and the collision detection are both wrong.
Only then allow a full rbnx ask run.
Stage 4: shutdown
rbnx shutdown -f ./robonix_manifest.local.yaml
Pass: on_shutdown runs, the chassis receives the stop command,
rbnx-boot/state.json is removed, no child processes are left behind.
Known limitations
#
Limitation
Effect / follow-up
1
The 240° laser data is unreachable
Nav2 costmaps have only static + inflation layers and cannot see new obstacles; the base firmware still stops on contact. V2 can add depth → point cloud → scan
2
The six arm joints stay out of TF
3D grasping cannot look up the end-effector pose; the jaka grasp skill uses a 2D homography in the arm base frame and is unaffected. V1.1 can add publish_arm_joints to lumi_body (a second jkrc connection) or fork the arm package
3
The torso camera is not driven
Grasping lacks the “manipulation guidance” view; both cameras share one USB 3.0 port, so running 1280×800 on both competes for bandwidth
4
Two map frame conventions
Vendor navigation (chassis/move → /api/move) and the Robonix map have different origins; mixing them drives to the wrong place. Calibrate with lumi_chassis.vendor_pose_offset
5
The base has no wheel encoders
/odom is the vendor SLAM pose and twist comes from finite differences, less accurate than wheel speed
6
The voice module is not integrated
AIUI XF-USB-MC is a standard USB sound card; primitive-audio-driver-rbnx can be reused later
Troubleshooting: three traps already hit
1. Build fails after renaming a repository (CMakeCache.txt ... is different than)
rbnx-build/ and .venv/ both bake absolute paths into build artifacts: the
CMake cache records the source directory in
rbnx-build/codegen/ros2_idl/build/*/CMakeCache.txt, and the pip executable’s
shebang points at the venv interpreter. Renaming or moving a checkout
invalidates every one of them. Symptoms:
CMake Error: The current CMakeCache.txt directory ... is different than the directory
/home/nvidia/<old-repo-name>/rbnx-build/... where CMakeCache.txt was created
CMake Error: The source directory "/home/nvidia/<old-repo-name>/..." does not exist
or the quieter one:
.venv/bin/pip: /home/nvidia/<old-repo-name>/.venv/bin/python3: bad interpreter: No such file or directory
Fix: delete that package’s rbnx-build/ and .venv/ and rebuild (both are
regenerable and already gitignored). To find every stale cache:
for d in ~/primitive-*/rbnx-build/codegen/ros2_idl/build/*/CMakeCache.txt; do
stale=$(grep -m1 '^CMAKE_HOME_DIRECTORY:INTERNAL=' "$d" | cut -d= -f2)
[ -n "$stale" ] && [ ! -d "$stale" ] && echo "STALE $(echo $d | sed 's|/rbnx-build/.*||') -> $stale"
done | sort -u
2. rbnx build -f does not stop when one package fails
The log keeps printing later packages; only the final Build summary lists
Failed. While reading the middle of a log, check that
✓ Package '...' build finished actually appeared for the package you care
about instead of trusting the tail.
3. The first build needs access to GitHub
The committed manifest references robot_description by url: and
rbnx build clones it into rbnx-boot/cache/. An unstable proxy shows up as
gnutls_handshake() failed. Offline machines use
robonix_manifest.local.yaml (all path:) and need all seven sibling checkouts
to exist.
robot-jaka-lumi_with_tg9801_gripper
Robonix deployment repository for the JAKA Lumi (12-DOF mobile manipulator with a TG-9801 gripper).
Deployment instances
lumi_chassisprimitive-jaka-lumi-chassis-rbnx/cmd_vel, vendor TCP JSON :31001lumi_bodyprimitive-jaka-lumi-body-rbnx/joint_states, vendor HTTP :5000jaka_armprimitive-jaka-mini_with_tg9801_gripper-arm_gripper-rbnx, branchlumilumicarries the extended-IO gripper and the standard gripper contractshead_cameraprimitive-orbbec-camera-rbnxgemini2L.launch.py)robot_descriptionprimitive-robot-description-rbnxmappingservice-map-rbnxmap→odomnavigationservice-navigation-rbnx/cmd_velDeployment topology (read this first)
The two Lumi RGB-D cameras are USB devices attached to the robot’s internal computer, not to the workstation. A primitive has no way to reach USB across machines, so what can run where differs:
lumi_chassis192.168.10.10:31001lumi_body192.168.10.90:5000jaka_arm192.168.10.90robot_description(TF)/joint_stateshead_cameramappingnavigationservice/map(provided by mapping)Three topologies; pick one according to the goal:
Install everything on the internal computer — the only complete option when you need mapping + Nav2. Copy or clone this repository and the six packages onto that machine, install
ros-humble-rtabmap-ros,ros-humble-nav2-bringupand Robonix, thenbash build.sh && bash start.sh.Split across machines: the workstation runs the three control instances plus
robot_description, the internal computer runshead_camera+mapping, and both talk to the same Atlas (system.atlas.listen: 0.0.0.0:50051) and the same Zenoh router (ROBONIX_ZENOH_ROUTER=tcp://<workstation-ip>:7447). Highest operational cost: cross-machine DDS plus two Robonix installs.Workstation, control only (ready on this machine): use
robonix_manifest.control.yaml, which declares four instances (robot_description/jaka_arm/lumi_chassis/lumi_body). This is enough to accept the whole TF design —lumi_bodypublishesl_1..l_4, sorobot_state_publisherderivesbase_link → … → Camera3_Linkeven though no image ever arrives.(That manifest is a machine-local file and is gitignored; recreate it from the four instances above.)
Hardware addresses
192.168.10.90(TCP)http://192.168.10.90:5000192.168.10.10:31001(web UIhttp://192.168.10.10:9001)Body axis travel (ext-axis, HTTP
:5000)The four body axes are vendor “ext-axis” motors behind
192.168.10.90:5000(/api/extaxis/statusreports them in this order).Prerequisites
Robonix:
make installandrbnx setup ~/robonix.ROS 2 packages:
JAKA SDK binaries: the arm package does not distribute
jkrc.so/libjakaAPI.so. Place them inprimitive-jaka-mini_with_tg9801_gripper-arm_gripper-rbnx/jaka_arm/jaka_sdk/aarch64-linux-gnu/. Without them the arm package’sbuild.shfails fast and prints the path.credentials and device addresses: the committed manifest keeps them as environment placeholders —
${VLM_BASE_URL},${VLM_API_KEY},${VLM_MODEL},${LUMI_HEAD_CAMERA_SN},${LUMI_WAIST_CAMERA_SN},${JAKA_WEB_PASSWORD},${JAKA_SDK_PASSWORD},${LUMI_MID360_IP}. Export those beforestart.sh, or put literal values in a gitignoredrobonix_manifest.local.yaml(that is what this machine’s copy does). Both camera serial numbers must be pinned: the two Gemini 2L units are identical, so without a serial each provider opens whichever device the driver enumerates first and the second one fails to start. The MID-360 keeps the address it was flashed with, and that differs per batch: Livox’s default is192.168.1.1XX, XX being the last two digits of the S/N (this unit …0305 answers on.105). Read it off with Livox Viewer 2 or the SDK’slivox_lidar_info_get;host_ipstays empty so the provider resolves the host NIC withip route get.The local manifest is fully offline:
robonix_manifest.local.yamlturns all ten instances intopath:entries pointing at sibling checkouts —primitive-jaka-lumi-chassis-rbnx,primitive-jaka-lumi-body-rbnx,primitive-jaka-mini_with_tg9801_gripper-arm_gripper-rbnx,primitive-orbbec-camera-rbnx,primitive-robot-description-rbnx,primitive-livox-mid360-lidar-rbnx,primitive-livox-mid360-imu-rbnx,service-map-rbnx,service-navigation-rbnx. The committed manifest keepsurl:; a machine without those siblings either clones them or uses the committed manifest (first build needs network).Build
tools/prepare_urdf.pyonly needs re-running when the model changes or the frame convention is adjusted:It performs four transforms and verifies its own output: arm joints
l_a1..a6→joint_1..joint_6(matching the arm package’s hardcoded names),package://mesh URIs → relative paths, the ten encoder-less passive joints (wheels and casters) →fixedso they land in/tf_static, and the three stale body travel limits →BODY_LIMITS(l_10.36 m,l_2±2.4435 rad,l_4±0.7854 rad). It also wraps the CAD chassis under a newbase_linkrotated by 90°, because the vendor model has the wheel axle along X and the forward sensors at -Y, i.e. the model’s forward axis is -Y, which violates REP-103 (X forward, Y left). The rotation constant isBASE_YAW_DEGat the top of the script.Start and acceptance
Four stages, opening one at a time. Never enable
motion_enabledon the first power-up.Stage 0: static (no power needed)
Pass: the self-check reports 0 failed, both
rbnx validateruns pass,build.shexits 0.Stage 1: read-only (robot powered, e-stop released, all three
motion_enabledfalse)In another terminal:
Pass: all six providers
ACTIVE;/joint_statesat about 10 Hz containingl_1..l_4; all three transforms resolve; no driver or first-frame errors.Stage 2: no-motion functional check
Stage 3: open motion one subsystem at a time
lumi_body.motion_enabled: true→ lift +10 mm, waist +5°, head ±5°. Watch RViz at the same time: the robot model’s forward direction must match +X. If it is reversed, setBASE_YAW_DEGto-90intools/prepare_urdf.pyand regenerate.lumi_chassis.motion_enabled: true→forward_m: 0.1,rotate_deg: 10; confirm the closed loop, the stop and the direction.jaka_arm.motion_enabled: true→ small joint moves plus gripper open/close. After changing the gripper, set tool data and payload first, otherwise the TCP and the collision detection are both wrong.rbnx askrun.Stage 4: shutdown
Pass:
on_shutdownruns, the chassis receives the stop command,rbnx-boot/state.jsonis removed, no child processes are left behind.Known limitations
publish_arm_jointstolumi_body(a second jkrc connection) or fork the arm packagechassis/move→/api/move) and the Robonix map have different origins; mixing them drives to the wrong place. Calibrate withlumi_chassis.vendor_pose_offset/odomis the vendor SLAM pose andtwistcomes from finite differences, less accurate than wheel speedprimitive-audio-driver-rbnxcan be reused laterTroubleshooting: three traps already hit
1. Build fails after renaming a repository (
CMakeCache.txt ... is different than)rbnx-build/and.venv/both bake absolute paths into build artifacts: the CMake cache records the source directory inrbnx-build/codegen/ros2_idl/build/*/CMakeCache.txt, and thepipexecutable’s shebang points at the venv interpreter. Renaming or moving a checkout invalidates every one of them. Symptoms:or the quieter one:
Fix: delete that package’s
rbnx-build/and.venv/and rebuild (both are regenerable and already gitignored). To find every stale cache:2.
rbnx build -fdoes not stop when one package failsThe log keeps printing later packages; only the final Build summary lists
Failed. While reading the middle of a log, check that✓ Package '...' build finishedactually appeared for the package you care about instead of trusting the tail.3. The first build needs access to GitHub
The committed manifest references
robot_descriptionbyurl:andrbnx buildclones it intorbnx-boot/cache/. An unstable proxy shows up asgnutls_handshake() failed. Offline machines userobonix_manifest.local.yaml(allpath:) and need all seven sibling checkouts to exist.License
Apache-2.0.