robot-jaka-mini_with_linker_hand_o6 — JAKA Mini + LinkerHand O6 deployment
Robonix deployment for the fixed-base JAKA Mini 6-DOF arm with a
LinkerHand O6 six-axis dexterous hand (controller end RS485L). The arm and
the hand are driven by one combined primitive,
primitive-jaka-mini_with_linker_hand_o6-arm_hand-rbnx,
over TCP to the controller (jkrc SDK): it serves robonix/primitive/arm/*
always and robonix/primitive/hand/* in end_effector: hand mode.
the same six capabilities as before (grab/release/home/place/pick + jaka_fixed_grasp) — unchanged by the hand swap
On the deploy machine, a gitignored robonix_manifest.local.yaml (same
content, path: instead of url: for the packages with a sibling checkout)
makes build.sh / start.sh build and boot the sibling checkouts
(../primitive-jaka-mini_with_linker_hand_o6-arm_hand-rbnx,
../primitive-orbbec-camera-rbnx, ../primitive-audio-driver-rbnx,
../primitive-audio-client-bridge-rbnx, ../skill-jaka-grasp-rbnx) directly —
no GitHub fetch, unpushed local edits take effect. robot_description has no
local checkout and stays url: (built from rbnx-boot/cache/; refresh with
rbnx update).
Voice
The manifest also declares the voice path Liaison drives
(mic -> asr_stream -> voiceprint -> pilot -> tts):
operator PC mic/speaker over ws://<robot>:60002 (transport: reverse); the current TTS sink
speech
services/speech in the robonix source tree (${ROBONIX_SOURCE_PATH})
ASR + TTS + wake word, speech_backend: tencent, default_speaker_provider_id: audio_client_bridge
SPEECH_BACKEND=tencent in env: keeps the build from pulling the local model
stack (~1 GB Paraformer; Whisper’s one-shot weights are 20 GB). Only the
non-secret ASR AppID comes from the environment (TENCENT_ASR_APPID); the
SecretId/SecretKey stay in the gitignored .vlmkey that start.sh sources —
start.sh must be the entry point (or the vars exported some other way), or
speech comes up without credentials.
The card reports 48 kHz only, so both directions go through plughw pinned to
16 kHz — Liaison’s ASR/voiceprint requests are fixed at 16 kHz pcm_s16le and
the TTS contract returns 16 kHz PCM. Capture is mono, playback is stereo
(plughw upmixes). Verified 2026-11-16 through the primitive’s mic contract:
16 kHz capture with speech at rms ~2600 against a noise floor of ~40, and
Tencent ASR transcribed the captured PCM back to the spoken sentence.
Input and output are split across the two providers: the microphone runs on
the robot’s own card, while TTS still goes to the operator PC because the
card’s headphone jack has no speaker attached. Once speakers are plugged into
that jack, change speech.config.default_speaker_provider_id to audio_driver
and TTS plays from the robot.
One primitive, one jkrc session
The O6 hangs on the controller’s end RS485L channel, the same wire and the
same jkrc connection the arm uses. Two hard constraints make the arm and hand
one primitive rather than two packages:
the controller permits one active SDK session — a second process that
logs in makes the first process’s get_actual_joint_position hang
indefinitely (measured 2026-10-22 on the real controller);
the controller’s RS485 signal table is global across SDK sessions and
misaligns with more than one entry.
So jaka_arm owns the single session and the single signal table, and in hand
mode serves both contract families from the same provider id. A standalone hand
primitive was prototyped and backed out for exactly this reason; do not add a
second jkrc client, a TG-9801 tool, or a hand driver on the same controller
while this stack runs.
Hand interface
In end_effector: hand mode the same provider serves:
capability
transport
what
hand/info
gRPC
six control axes with finger/type/description
hand/move_joint
gRPC
position by axis name, normalized [0,1] (1 = flexed)
hand/set_joint_speed_limits
gRPC
per-axis speed ceilings
hand/set_joint_torque_limits
gRPC
per-axis torque ceilings
hand/state_joint
ROS 2
/jaka/hand/state_joint, normalized positions
The six axes are thumb_cmc_pitch, thumb_cmc_yaw, index_mcp_pitch,
middle_mcp_pitch, ring_mcp_pitch, pinky_mcp_pitch — the same names the
URDF uses, so the hand joints match by name. The distal joints are mechanically
coupled and are not separate axes. Positions are normalized (0 = extended, 1 =
fully flexed; thumb opposition 0 = neutral, 1 = full); limits are 0 = minimum,
1 = maximum. move_joint rejects empty/unknown/duplicate/out-of-range requests
and never clamps; ok=true means accepted and dispatched, not reached. At
activation the hand pose is unknown — a lost RS485 answer reads as fully
flexed, so a read is not a safe target seed — and the first move_joint must
list all six axes; later requests may be partial and hold the unlisted axes.
The skill’s gripper_joint open/grip is a full six-axis pose and seeds the
same cache, so it needs no special first call.
joint_states carries the six arm joints and the six hand joints (rad, 0 =
extended) in one message, so robot_state_publisher drives the whole body in
RViz. The read path is one single-entry RS485 poll per register (0.38 s; a
six-axis sweep ~2.3 s), so the hand state runs at roughly one sweep per
hand_publish_period_s cycle — slow but continuous, not 50 Hz. The O6 answers
slowly (25 s) after a motion and a lost answer reads as 0, so read a verdict
after the motion settles.
Unchanged skill, gripper_joint mapping
The skill still grips the way it did with the TG-9801: it publishes
sensor_msgs/JointState{name: ["gripper_joint"], position: [m]} on
/jaka/joint_command. In hand mode jaka_arm maps >= 0.049 m → O6 open
pose, < 0.049 m → full five-finger grasp; one publish is enough, because every
command already writes speed → torque → angle itself (gripper_repeats: 1 — the
old five-publish burst queued ~5 s of three-frame writes on the driver’s single
command worker, which holds the driver lock, so hand feedback froze right inside
the pre-lift verdict; 2026-11-17). The skill config declares
the body with the required end_effector: hand (gripper for the TG-9801
deployment); a missing value is reported as a skill config error. What changes
for the skill is only configuration: the O6 palm is longer, so the
desktop/grasp heights are 0.14 m, and gripper_settle_s is 1 s — the ~1 s
write plus most of the finger travel, with the width verdict below waiting for a
settled reading anyway. For the grasp verdict the skill reconstructs a width-like
opening from the hand joints in joint_states (thumb/index/middle/ring
flexion, the same 0.098 m scale and thresholds as the gripper), so the
empty-grasp/open checks keep working without gripper_joint. The O6’s
lost-answer clusters can still look like a fully-closed hand — the verdict
waits for two settled samples, but treat a critical grasp with care. The hand
joints are also on /jaka/hand/state_joint.
Pick skill (camera-driven grasp)
jaka_pick locates a named object and grasps it: resolve camera/rgb → grab a
frame → detect → a calibrated 2D hand-eye homography maps the bbox centre
to arm base_link XY → grasp at (x, y, desktop_height) with a vertical-down
orientation. It reuses the same grasp segment as grab.
Three detect_scheme modes (this deploy runs auto):
yolo: in-process yolo11-obb — the fruit model
(carrot/potato/tomato) reused from the agilex deploy at
robot-agilex-robonix/host-services/yolo/weights/best.pt (point the
YOLO_MODEL_PATH env var at it — the manifest forwards it to
yolo_model_path; the skill interpreter has CUDA torch + ultralytics).
Two-frame consistency filters flicker; Chinese phrasing maps to class names
via yolo_class_aliases (胡萝卜→carrot …); the OBB rotation aligns the
gripper yaw to the object’s long edge (rz = grasp_yaw_offset_deg - yaw,
default -90 = this arm’s tuned value).
auto (deploy): a name the weights cover (fruit + aliases) takes yolo;
anything else (“blue block”, “蓝色方块”) takes the VLM. A yolo miss is not
retried through the VLM, so “nothing on the table” stays an honest answer;
unloadable weights degrade to the VLM. Measured 2026-11-12:
deepseek-v4-flash accepts images (~2 px error on a known 1280×720 target,
~1.3 s); deepseek-v4-pro rejects them — never point vlm_model there.
Calibration is required and on-site.pick is unavailable until you set,
in robonix_manifest.yaml‘s skill: - name: jaka config block:
homography_matrix — 3×3 pixel→base_link, calibrated at 1280×720;
the scheme’s detector: the YOLO_MODEL_PATH env var or
vlm_base_url / vlm_api_key / vlm_model (multimodal endpoint);
desktop_height — the table height in base_link (grasp z, 0.14 m here).
Calibration
jaka_pick‘s homography_matrix is measured on site with the in-tree bench
under tools/calibration/ — a cv2-GUI tool (served as a browser page on
headless machines) for this JAKA Mini + Gemini 336L pair. The arm side reuses
the combined package’s JakaDriver with end_effector: hand (probed from the
sibling checkout or rbnx-boot/cache/), so the tool’s open/close gesture
drives the O6 open/full-grasp poses over the same jkrc connection.
There are two entry points sharing the same artifacts:
Web station (tools/calibration/station/, port 8080): button-driven
intrinsics → hand-eye → verify pages, ported from robot-agilex-robonix.
from-manifest intrinsics import, self-check page, hardware-owner lock.
CLI bench (calibrate_handeye_2d.py, cv2 mirror on port 8079): the
original keyboard flow, kept as the fallback.
Run either with robonix stopped (the camera and the controller are
single-owner), workspace clear, estop at hand:
bash tools/calibration/setup_venv.sh
cd tools/calibration && .venv/bin/python station/app.py --port 8080 # web station
cd tools/calibration && .venv/bin/python calibrate_handeye_2d.py # default: calibrate
cd tools/calibration && .venv/bin/python calibrate_handeye_2d.py --mode test
The tool prints the fitted matrix as ready-to-paste YAML rows; hand-copy it
into homography_matrix in bothrobonix_manifest.yaml and
robonix_manifest.local.yaml. desktop_height is not produced by the tool;
it must stay 0.14 m (and in sync with tools/calibration/config.yaml‘s
default_desktop_height). The matrix is only valid at 1280×720 on
undistorted frames. Full flow and gotchas: tools/calibration/README.md
(Chinese).
Estop recovery
After the emergency stop is released (pendant knob pulled up; the controller is
usually powered off), tools/jaka_estop_recover.py resets it over raw jkrc:
clear error → power on → enable → confirmation → slow move to Home (all-zeros)
→ disable and power off. Run it with robonix stopped (it opens its own
jkrc session; the stack must not hold the controller):
urdf/robot.urdf is the JAKA app export of the real JAKA Mini with the O6 hand
chain and its 45° adapter grafted on (meshes/ including meshes/right_hand/
and meshes/adapter/). It is consumed by
Soma (urdf.path in soma.yaml), which serves the raw XML to
robot_description via get_urdf.
The export was post-processed for this deployment:
The 6 arm joints were renamed link_002_joint..link_007_joint →
joint_1..joint_6 so robot_state_publisher matches the joint_states
names published by the jaka_arm provider. If the URDF is re-exported from
the JAKA app, re-apply this rename (see the note in soma.yaml).
The TG-9801 two-finger chain (link_008/link_009 + prismatic joints) was
replaced by the O6 hand chain (17 links, 6 actuated revolute joints
thumb_cmc_pitch/thumb_cmc_yaw/*_mcp_pitch, 5 mimic distal joints, 5
fingertip frames; meshes under urdf/meshes/right_hand/). The chain comes
from the standalone O6 URDF in syswonder/robot-linkerbot-linker_hand_o6
(extracted from the BeingBeyond D1 whole-body model); joint names match the
axis names the primitive reports through hand/info.
The mount is derived from the supplied JAKA Mini flange → O6 adapter STEP
(the CAD source is not kept in this repo), not a placeholder. The STEP is a
45° elbow; its tessellated mesh is
urdf/meshes/adapter/jaka_o6_adapter.stl and the chain
is link_007 → jaka_o6_adapter_link → hand_base_link (two fixed joints).
The pose comes from the adapter’s real interfaces: 4×M6 on a 50 mm PCD to
the flange and the O6’s 20×20 mm M3 pattern to the hand. The 4×M6 pattern
is 90°-symmetric, so the adapter clocking is a choice of four; this pose
maps adapter +X to the flange hole at +33.04° and +Y toward +123.04°.
Change only the link_007_to_adapter yaw by 90/180/270° for a different
flange clocking.
The hand itself is clocked 270° about its bottom (+Z) axis relative to the
adapter — 90° + another 180°, equivalent to -90°, counter-clockwise looking
from the wrist toward the fingertips (adapter_to_hand yaw 4.712389).
The 20×20 mm pattern is 90°-symmetric so the holes still land; if the real
hand is the other way, use 1.5707963.
In link_007 the hand base sits at ≈ (23.4, -36.0, -31.3) mm (flange
plane at z=-7 mm); the palm/finger axis is 45° off the tool axis because
of the elbow. Re-check the pick heights if the real clocking differs.
The TG-9801 visuals that the JAKA app export left on link_007 (gripper
body, fingers and screws) were removed; link_007 now carries only the
four JAKA wrist parts. The O6 chain itself is unchanged: its joint layout
matches the official linker-bot/linkerhand-urdf O6 right model to within
≈2.3 mm (≈1.4 mm best-fit residual), and it keeps the unprefixed joint names
the primitive reports through hand/info.
Prerequisites
Robonix tooling: make install from a cloned syswonder/robonix checkout,
then rbnx setup <robonix source dir>.
The combined arm+hand package (ships the JAKA SDK binaries, Apache-2.0;
needs no extra hardware packages).
Primitive packages built: bash build.sh (builds the sibling checkouts via
the local manifest; a first build on a fresh clone fetches the url-based
packages into rbnx-boot/cache/).
Build
bash build.sh
build.sh is the canonical entry: it prepares the deploy venv, then builds
every package declared in the manifest (the local path: variant when
present, else the committed url: one) with --no-update-check so builds
stay offline. robot_description is fetched from the package catalog into
rbnx-boot/cache/ when missing.
Camera build note (native): the Orbbec driver
(../primitive-orbbec-camera-rbnx) colcon-builds the vendored
OrbbecSDK_ROS2, which needs ROS 2 C++ deps (rclcpp, image_transport,
cv_bridge, camera_info_manager, tf2_ros, …) absent from this Jetson’s
minimal /opt/ros/humble. Install them once per machine (needs sudo):
The arm+hand stack builds fine without them (the camera primitive is only
needed for pick).
Boot
# standard entry — committed url manifest, packages from rbnx-boot/cache/
rbnx boot
# offline / pinned cache: skip the pre-boot per-package `git fetch`
rbnx boot --no-update-check
# after estop verification and single-joint tests, enable motion in
# robonix_manifest.yaml: jaka_arm.config.motion_enabled: true
motion_enabled: false rejects arm and hand motion (safety gate) while
feedback keeps streaming. Boot read-only first, verify joint_states (12
joints), hand/info and hand/state_joint, then enable.
Bare rbnx boot resolves every package to its rbnx-boot/cache/ clone; the
jkrc SDK ships inside the combined package (Apache-2.0), so no manual copy is
needed. Per-machine prerequisites:
.vlmkey vars in the booting shell — bash start.sh sources them,
bare boot cannot (this machine’s ~/.zshrc does).
on a fresh machine, bash build.sh once before the first boot.
The pre-boot freshness check only reports; it never pulls. When it marks a
provider behind, run rbnx update (needs network) before booting.
The manifest’s env.PATH expands ${PWD}/.venv/bin — the venv built by
build.sh that gives the robot_description provider a new enough grpcio for
its generated bindings; boot from this directory.
joint_states has 6 arm + 6 hand joints; hand/info answers 6 axes; hand/state_joint streams; no second jkrc client
hand move
enable motion, hand/move_joint
a partial request is rejected until a full six-axis target is sent; then one axis moves; boundary requests (out-of-range/unknown/empty/dup) rejected with a reason
arm + hand health
move a finger, watch joint_states/vitals
arm feedback keeps streaming (no -3 reads), body state NORMAL
single joint
small joint delta on joint_command
joints follow, limits hold, estop works
skill compat
skill grab (or a gripper_joint publish)
O6 opens before approach and runs the full grasp at the descent; the verdict comes from the reconstructed hand width (two settled samples; O6 link caveat)
camera
bash start.sh, rbnx caps -v
orbbec_camera ACTIVE; camera/rgb streams 1280×720
pick (dry)
set VLM + homography, jaka_pick {object} before enabling motion
detect + geometry resolve; motion times out with the motion_enabled hint
pick (live)
motion enabled, calibrated
arm descends on the detected object, hand closes, lifts
shutdown
Ctrl-C
hand opens, arm returns to shutdown_home_joints (all-zeros), motion stops, arm powered off, logs clean
Verified on the bench 2026-10-22: the combined provider served one jkrc
session with both contract families, joint_states carried 6 arm + 6 hand
joints, hand/info returned six axes, the unknown-pose guard rejected a
partial move_joint until a full six-axis target was sent, finger moves
executed, and the arm feedback stayed healthy (0 -3 reads, vitals NORMAL)
while the hand moved. The O6 state stream still shows the documented
lost-answer clusters (brief 1.0 readings) — do not judge a grasp from one
sweep. Re-run the table above end-to-end, including a live pick, before
trusting a live grasp.
Fill in the robot revision, Robonix commit (git -C <robonix> rev-parse HEAD)
and the measured grip/open readings here after acceptance.
关于
Robonix deployment for the fixed-base JAKA Mini arm with Linker Hand o6 hand
robot-jaka-mini_with_linker_hand_o6 — JAKA Mini + LinkerHand O6 deployment
Robonix deployment for the fixed-base JAKA Mini 6-DOF arm with a LinkerHand O6 six-axis dexterous hand (controller end RS485L). The arm and the hand are driven by one combined primitive, primitive-jaka-mini_with_linker_hand_o6-arm_hand-rbnx, over TCP to the controller (jkrc SDK): it serves
robonix/primitive/arm/*always androbonix/primitive/hand/*inend_effector: handmode.The TG-9801 gripper variant of this deployment lives in the original robot-jaka-mini_with_tg9801_gripper repository.
Hardware & platform
10.5.5.100(configjaka_arm.ip)0x27right)2bc5:0807), overhead/fixed — RGBD, 1280×720rmw_zenoh_cppPackages
The committed manifest references packages by
url:— catalog-resolvable for the package site;rbnx bootfetches them intorbnx-boot/cache/:jaka_armrobonix/primitive/arm/*always,robonix/primitive/hand/*withend_effector: hand, one jkrc sessionorbbec_camerarobonix/primitive/camera/{rgb,depth,camera_info}(Gemini 336L viagemini_330_series.launch.py)jakajaka_fixed_grasp) — unchanged by the hand swapOn the deploy machine, a gitignored
robonix_manifest.local.yaml(same content,path:instead ofurl:for the packages with a sibling checkout) makesbuild.sh/start.shbuild and boot the sibling checkouts (../primitive-jaka-mini_with_linker_hand_o6-arm_hand-rbnx,../primitive-orbbec-camera-rbnx,../primitive-audio-driver-rbnx,../primitive-audio-client-bridge-rbnx,../skill-jaka-grasp-rbnx) directly — no GitHub fetch, unpushed local edits take effect.robot_descriptionhas no local checkout and staysurl:(built fromrbnx-boot/cache/; refresh withrbnx update).Voice
The manifest also declares the voice path Liaison drives (
mic -> asr_stream -> voiceprint -> pilot -> tts):audio_driverAudio) — microphone and headphone jack, 16 kHz both waysaudio_client_bridgews://<robot>:60002(transport: reverse); the current TTS sinkspeechservices/speechin the robonix source tree (${ROBONIX_SOURCE_PATH})speech_backend: tencent,default_speaker_provider_id: audio_client_bridgeSPEECH_BACKEND=tencentinenv:keeps the build from pulling the local model stack (~1 GB Paraformer; Whisper’s one-shot weights are 20 GB). Only the non-secret ASR AppID comes from the environment (TENCENT_ASR_APPID); the SecretId/SecretKey stay in the gitignored.vlmkeythatstart.shsources —start.shmust be the entry point (or the vars exported some other way), or speech comes up without credentials.The card reports 48 kHz only, so both directions go through
plughwpinned to 16 kHz — Liaison’s ASR/voiceprint requests are fixed at 16 kHzpcm_s16leand the TTS contract returns 16 kHz PCM. Capture is mono, playback is stereo (plughw upmixes). Verified 2026-11-16 through the primitive’smiccontract: 16 kHz capture with speech at rms ~2600 against a noise floor of ~40, and Tencent ASR transcribed the captured PCM back to the spoken sentence.Input and output are split across the two providers: the microphone runs on the robot’s own card, while TTS still goes to the operator PC because the card’s headphone jack has no speaker attached. Once speakers are plugged into that jack, change
speech.config.default_speaker_provider_idtoaudio_driverand TTS plays from the robot.One primitive, one jkrc session
The O6 hangs on the controller’s end RS485L channel, the same wire and the same jkrc connection the arm uses. Two hard constraints make the arm and hand one primitive rather than two packages:
get_actual_joint_positionhang indefinitely (measured 2026-10-22 on the real controller);So
jaka_armowns the single session and the single signal table, and in hand mode serves both contract families from the same provider id. A standalone hand primitive was prototyped and backed out for exactly this reason; do not add a second jkrc client, a TG-9801 tool, or a hand driver on the same controller while this stack runs.Hand interface
In
end_effector: handmode the same provider serves:hand/infohand/move_joint[0,1](1 = flexed)hand/set_joint_speed_limitshand/set_joint_torque_limitshand/state_joint/jaka/hand/state_joint, normalized positionsThe six axes are
thumb_cmc_pitch,thumb_cmc_yaw,index_mcp_pitch,middle_mcp_pitch,ring_mcp_pitch,pinky_mcp_pitch— the same names the URDF uses, so the hand joints match by name. The distal joints are mechanically coupled and are not separate axes. Positions are normalized (0 = extended, 1 = fully flexed; thumb opposition 0 = neutral, 1 = full); limits are 0 = minimum, 1 = maximum.move_jointrejects empty/unknown/duplicate/out-of-range requests and never clamps;ok=truemeans accepted and dispatched, not reached. At activation the hand pose is unknown — a lost RS485 answer reads as fully flexed, so a read is not a safe target seed — and the firstmove_jointmust list all six axes; later requests may be partial and hold the unlisted axes. The skill’sgripper_jointopen/grip is a full six-axis pose and seeds the same cache, so it needs no special first call.joint_statescarries the six arm joints and the six hand joints (rad, 0 = extended) in one message, sorobot_state_publisherdrives the whole body in RViz. The read path is one single-entry RS485 poll per register (0.38 s; a six-axis sweep ~2.3 s), so the hand state runs at roughly one sweep per5 s) after a motion and a lost answer reads as 0, so read a verdict after the motion settles.hand_publish_period_scycle — slow but continuous, not 50 Hz. The O6 answers slowly (2Unchanged skill,
gripper_jointmappingThe skill still grips the way it did with the TG-9801: it publishes
sensor_msgs/JointState{name: ["gripper_joint"], position: [m]}on/jaka/joint_command. In hand modejaka_armmaps>= 0.049 m→ O6 open pose,< 0.049 m→ full five-finger grasp; one publish is enough, because every command already writes speed → torque → angle itself (gripper_repeats: 1— the old five-publish burst queued ~5 s of three-frame writes on the driver’s single command worker, which holds the driver lock, so hand feedback froze right inside the pre-lift verdict; 2026-11-17). The skill config declares the body with the requiredend_effector: hand(gripperfor the TG-9801 deployment); a missing value is reported as a skill config error. What changes for the skill is only configuration: the O6 palm is longer, so the desktop/grasp heights are 0.14 m, andgripper_settle_sis 1 s — the ~1 s write plus most of the finger travel, with the width verdict below waiting for a settled reading anyway. For the grasp verdict the skill reconstructs a width-like opening from the hand joints injoint_states(thumb/index/middle/ring flexion, the same 0.098 m scale and thresholds as the gripper), so the empty-grasp/open checks keep working withoutgripper_joint. The O6’s lost-answer clusters can still look like a fully-closed hand — the verdict waits for two settled samples, but treat a critical grasp with care. The hand joints are also on/jaka/hand/state_joint.Pick skill (camera-driven grasp)
jaka_picklocates a named object and grasps it: resolvecamera/rgb→ grab a frame → detect → a calibrated 2D hand-eye homography maps the bbox centre to armbase_linkXY → grasp at(x, y, desktop_height)with a vertical-down orientation. It reuses the same grasp segment asgrab.Three
detect_schememodes (this deploy runsauto):yolo: in-process yolo11-obb — the fruit model (carrot/potato/tomato) reused from the agilex deploy atrobot-agilex-robonix/host-services/yolo/weights/best.pt(point theYOLO_MODEL_PATHenv var at it — the manifest forwards it toyolo_model_path; the skill interpreter has CUDA torch + ultralytics). Two-frame consistency filters flicker; Chinese phrasing maps to class names viayolo_class_aliases(胡萝卜→carrot …); the OBB rotation aligns the gripper yaw to the object’s long edge (rz = grasp_yaw_offset_deg - yaw, default -90 = this arm’s tuned value).vlm: open-vocabulary multimodal detection (pixel bbox, no rotation → fixedgrasp_rpy).auto(deploy): a name the weights cover (fruit + aliases) takes yolo; anything else (“blue block”, “蓝色方块”) takes the VLM. A yolo miss is not retried through the VLM, so “nothing on the table” stays an honest answer; unloadable weights degrade to the VLM. Measured 2026-11-12:deepseek-v4-flashaccepts images (~2 px error on a known 1280×720 target, ~1.3 s);deepseek-v4-prorejects them — never pointvlm_modelthere.Calibration is required and on-site.
pickis unavailable until you set, inrobonix_manifest.yaml‘sskill: - name: jakaconfig block:homography_matrix— 3×3 pixel→base_link, calibrated at 1280×720;YOLO_MODEL_PATHenv var orvlm_base_url/vlm_api_key/vlm_model(multimodal endpoint);desktop_height— the table height inbase_link(grasp z, 0.14 m here).Calibration
jaka_pick‘shomography_matrixis measured on site with the in-tree bench undertools/calibration/— a cv2-GUI tool (served as a browser page on headless machines) for this JAKA Mini + Gemini 336L pair. The arm side reuses the combined package’sJakaDriverwithend_effector: hand(probed from the sibling checkout orrbnx-boot/cache/), so the tool’s open/close gesture drives the O6 open/full-grasp poses over the same jkrc connection.There are two entry points sharing the same artifacts:
tools/calibration/station/, port 8080): button-driven intrinsics → hand-eye → verify pages, ported fromrobot-agilex-robonix.from-manifestintrinsics import, self-check page, hardware-owner lock.calibrate_handeye_2d.py, cv2 mirror on port 8079): the original keyboard flow, kept as the fallback.Run either with robonix stopped (the camera and the controller are single-owner), workspace clear, estop at hand:
The tool prints the fitted matrix as ready-to-paste YAML rows; hand-copy it into
homography_matrixin bothrobonix_manifest.yamlandrobonix_manifest.local.yaml.desktop_heightis not produced by the tool; it must stay 0.14 m (and in sync withtools/calibration/config.yaml‘sdefault_desktop_height). The matrix is only valid at 1280×720 on undistorted frames. Full flow and gotchas:tools/calibration/README.md(Chinese).Estop recovery
After the emergency stop is released (pendant knob pulled up; the controller is usually powered off),
tools/jaka_estop_recover.pyresets it over raw jkrc: clear error → power on → enable → confirmation → slow move to Home (all-zeros) → disable and power off. Run it with robonix stopped (it opens its own jkrc session; the stack must not hold the controller):URDF
urdf/robot.urdfis the JAKA app export of the real JAKA Mini with the O6 hand chain and its 45° adapter grafted on (meshes/includingmeshes/right_hand/andmeshes/adapter/). It is consumed by Soma (urdf.pathinsoma.yaml), which serves the raw XML torobot_descriptionviaget_urdf.The export was post-processed for this deployment:
link_002_joint..link_007_joint→joint_1..joint_6sorobot_state_publishermatches thejoint_statesnames published by thejaka_armprovider. If the URDF is re-exported from the JAKA app, re-apply this rename (see the note insoma.yaml).link_008/link_009+ prismatic joints) was replaced by the O6 hand chain (17 links, 6 actuatedrevolutejointsthumb_cmc_pitch/thumb_cmc_yaw/*_mcp_pitch, 5mimicdistal joints, 5 fingertip frames; meshes underurdf/meshes/right_hand/). The chain comes from the standalone O6 URDF insyswonder/robot-linkerbot-linker_hand_o6(extracted from the BeingBeyond D1 whole-body model); joint names match the axis names the primitive reports throughhand/info.urdf/meshes/adapter/jaka_o6_adapter.stland the chain islink_007 → jaka_o6_adapter_link → hand_base_link(twofixedjoints). The pose comes from the adapter’s real interfaces: 4×M6 on a 50 mm PCD to the flange and the O6’s 20×20 mm M3 pattern to the hand. The 4×M6 pattern is 90°-symmetric, so the adapter clocking is a choice of four; this pose maps adapter +X to the flange hole at +33.04° and +Y toward +123.04°. Change only thelink_007_to_adapteryaw by 90/180/270° for a different flange clocking. The hand itself is clocked 270° about its bottom (+Z) axis relative to the adapter — 90° + another 180°, equivalent to -90°, counter-clockwise looking from the wrist toward the fingertips (adapter_to_handyaw4.712389). The 20×20 mm pattern is 90°-symmetric so the holes still land; if the real hand is the other way, use1.5707963. Inlink_007the hand base sits at ≈(23.4, -36.0, -31.3) mm(flange plane atz=-7 mm); the palm/finger axis is 45° off the tool axis because of the elbow. Re-check the pick heights if the real clocking differs.link_007(gripper body, fingers and screws) were removed;link_007now carries only the four JAKA wrist parts. The O6 chain itself is unchanged: its joint layout matches the officiallinker-bot/linkerhand-urdfO6 right model to within ≈2.3 mm (≈1.4 mm best-fit residual), and it keeps the unprefixed joint names the primitive reports throughhand/info.Prerequisites
make installfrom a clonedsyswonder/robonixcheckout, thenrbnx setup <robonix source dir>.sudo apt install ros-humble-rclpy ros-humble-rmw-zenoh-cpp ros-humble-nav-msgs ros-humble-sensor-msgs(nav-msgs/sensor-msgs feed the Soma runtime reader)bash build.sh(builds the sibling checkouts via the local manifest; a first build on a fresh clone fetches the url-based packages intorbnx-boot/cache/).Build
build.shis the canonical entry: it prepares the deploy venv, then builds every package declared in the manifest (the localpath:variant when present, else the committedurl:one) with--no-update-checkso builds stay offline.robot_descriptionis fetched from the package catalog intorbnx-boot/cache/when missing.Boot
motion_enabled: falserejects arm and hand motion (safety gate) while feedback keeps streaming. Boot read-only first, verifyjoint_states(12 joints),hand/infoandhand/state_joint, then enable.Bare
rbnx bootresolves every package to itsrbnx-boot/cache/clone; the jkrc SDK ships inside the combined package (Apache-2.0), so no manual copy is needed. Per-machine prerequisites:.vlmkeyvars in the booting shell —bash start.shsources them, bare boot cannot (this machine’s~/.zshrcdoes).bash build.shonce before the first boot.The pre-boot freshness check only reports; it never pulls. When it marks a provider behind, run
rbnx update(needs network) before booting.The manifest’s
env.PATHexpands${PWD}/.venv/bin— the venv built bybuild.shthat gives therobot_descriptionprovider a new enough grpcio for its generated bindings; boot from this directory.Acceptance record
rbnx validate ../primitive-jaka-mini_with_linker_hand_o6-arm_hand-rbnx && bash build.shcd ../primitive-jaka-mini_with_linker_hand_o6-arm_hand-rbnx && .venv/bin/python -m unittest discover -s jaka_arm/tests -t .bash start.sh(motion_enabled: false)joint_stateshas 6 arm + 6 hand joints;hand/infoanswers 6 axes;hand/state_jointstreams; no second jkrc clienthand/move_jointjoint_states/vitals-3reads), body state NORMALjoint_commandgrab(or agripper_jointpublish)bash start.sh,rbnx caps -vcamera/rgbstreams 1280×720jaka_pick {object}before enabling motionmotion_enabledhintshutdown_home_joints(all-zeros), motion stops, arm powered off, logs cleanVerified on the bench 2026-10-22: the combined provider served one jkrc session with both contract families,
joint_statescarried 6 arm + 6 hand joints,hand/inforeturned six axes, the unknown-pose guard rejected a partialmove_jointuntil a full six-axis target was sent, finger moves executed, and the arm feedback stayed healthy (0-3reads, vitals NORMAL) while the hand moved. The O6 state stream still shows the documented lost-answer clusters (brief 1.0 readings) — do not judge a grasp from one sweep. Re-run the table above end-to-end, including a live pick, before trusting a live grasp.Fill in the robot revision, Robonix commit (
git -C <robonix> rev-parse HEAD) and the measured grip/open readings here after acceptance.