This repository provides a closed-loop vision-language navigation Skill for Robonix based on InternVLA. The Skill accepts a natural-language navigation goal, dynamically discovers camera and chassis capabilities through Atlas, captures RGB images, requests InternVLA inference, and converts model outputs into generic chassis distance or angle commands.
This repository is responsible only for interpreting model outputs and managing the navigation loop.
Features
Accepts natural-language navigation instructions, such as “Move next to the red chair.”
Dynamically discovers camera and chassis capabilities through Atlas without hard-coding service addresses.
Supports both discrete_action and trajectory outputs from InternVLA.
Executes discrete actions in the original model output order without merging or splitting them.
Captures a new image and performs inference in each iteration for closed-loop visual navigation.
Supports maximum step count, task timeout, RPC timeouts, and mutual exclusion between navigation tasks.
Attempts to stop the navigation workflow when a task completes, fails, is cancelled, or the Skill is deactivated.
Workflow
Pilot or another client calls robonix/skill/internvla_navigation/navigate.
The Skill calls the camera snapshot capability to obtain a JPEG image.
The Skill sends the image and task information to a separately running InternVLA HTTP server.
The Skill converts the model result into forward_m or rotate_deg.
The Skill calls the standard robonix/primitive/chassis/move capability.
The task ends when the model returns a stop action, the step limit is reached, or an error occurs.
Capability
The Skill provides the following capability:
Contract
Transport
Description
robonix/skill/internvla_navigation/navigate
MCP
Executes one natural-language visual navigation task
Request fields:
Field
Type
Description
instruction
string
Natural-language navigation goal
max_steps
int32
Maximum number of motion steps for this task; 0 uses the deployment configuration
timeout_sec
float64
Total timeout for this task; 0 uses the deployment configuration
Response fields:
Field
Type
Description
status
string
completed, failed, busy, cancelled, timeout, or max_steps
reason
string
Completion reason or error message
steps
int32
Number of chassis commands executed
Requirements
Robonix capabilities
The following capabilities must be discoverable when the Skill is activated:
Contract
Transport
Purpose
robonix/primitive/camera/snapshot
MCP
Captures a JPEG-encoded RGB image
robonix/primitive/chassis/move
gRPC
Executes a generic distance or angle command
The camera response must contain fields compatible with sensor_msgs/Image. Its encoding must be jpeg or jpg, and data must contain valid JPEG bytes.
InternVLA HTTP server
We have provided a docker image internvla-server which includes InternVLA-N1-DualVLN source code and environment, while the model params are not included, and you have to download the model params by youself and provides the path to the model in .env.(cp .env.example ,env and configure in .env). The model url on huggingface: InternVLA-N1-DualVLN.
NOTE: It would be a better choice to pull the image before you start Robonix, otherwise it will take a LONG TIME to pull the image and the Robonix may seems not work well.
When this skill is activated by Robonix, you need to wait about 20-40 seconds to make sure the model is completely loaded and ready for inference. More details can refer to scripts/start.sh and compose.yaml(which passes in args Internnav needs).
The InternVLA inference server must run separately and provide these endpoints:
Method
Endpoint
Purpose
GET
/health
Checks whether the model is ready
POST
/task/start
Creates a navigation task
POST
/eval_dual
Uploads the current RGB image and runs inference
POST
/task/report
Reports completion, failure, or cancellation
A successful /eval_dual response must contain either discrete_action or trajectory. The current implementation uploads RGB JPEG images only and does not upload depth images.
Python dependencies
Python 3.10+
requests
mcp
grpcio
Robonix Python API and code-generated modules
Install the dependencies with:
python3 -m pip install -r requirements.txt
Usage
Run the following commands from the Skill repository root:
rbnx validate .
bash scripts/build.sh
scripts/build.sh checks the Python dependencies and runs Robonix code generation.
If you want to start the skill, run:
set -a
source .env
set +a
bash scripts/start.sh
Since a docker will be created to be the runtime of Internnav, you can run:
bash scripts/stop.sh
to exit gracefully.
Deployment configuration
Add the Skill to the robot deployment repository’s robonix_manifest.yaml:
Timeout for one InternVLA HTTP request, in seconds
camera_timeout_sec
10.0
Timeout for one camera snapshot RPC, in seconds
chassis_timeout_sec
10.0
Timeout for one chassis movement RPC, in seconds
max_steps
100
Default maximum number of chassis commands
timeout_sec
300.0
Default total task timeout, in seconds
wait_interval_sec
0.30
Delay before capturing another image after a wait result
lookahead_m
0.30
Look-ahead distance used for trajectory output, in metres
discrete_forward_m
0.25
Distance represented by one discrete forward action, in metres
turn_threshold_deg
15.0
Heading threshold above which a trajectory command turns in place first
discrete_step_deg
15.0
Angle represented by one discrete left or right turn action
forward_ratio, turn_ratio, motion duration, and control_mode are not Skill configuration fields. They belong to the chassis-specific Primitive.
Model action mapping
Discrete actions are converted one by one in the original model output order:
InternVLA action
Skill behavior
0
No operation; if the result contains only 0, the task ends
1
forward_m = discrete_forward_m
2
rotate_deg = +discrete_step_deg
3
rotate_deg = -discrete_step_deg
5, 9
Camera-related actions ignored by the chassis
If both discrete_action and trajectory are present, discrete_action takes precedence.
For trajectory, the coordinate convention is positive X forward and positive Y left. The Skill selects the first trajectory point that reaches lookahead_m. If its heading error exceeds turn_threshold_deg, the Skill sends one rotate_deg command; otherwise, it sends one forward_m command no longer than the look-ahead distance. This is a local closed-loop fallback for operation without odometry or MPC, not a complete trajectory tracker.
Start and use
Start the camera Primitive, chassis Primitive, and InternVLA server first. Then run the following commands from the deployment repository:
You can then submit a navigation request through Pilot, for example:
rbnx ask "Use InternVLA to navigate next to the red chair."
Notes and safety
For initial integration, set the chassis Primitive to dry_run: true. Confirm command direction and magnitude before connecting to the physical robot.
The current implementation permits only one active navigation task. Concurrent requests return busy.
A complete discrete action sequence is executed in order before the next image is captured. If immediate perception is required after every action, configure the inference server to return only one action at a time.
If the camera, chassis, or InternVLA server is unavailable, activation is delayed or the Skill returns a failure response.
This Skill does not provide obstacle avoidance, localization, or emergency stopping. Keep manual control and the manufacturer’s safety mechanisms available during physical robot operation.
License
MIT
关于
The skill of InternVLA-N1-DualVLN that do navigation.
InternVLA Navigation Skill for Robonix
This repository provides a closed-loop vision-language navigation Skill for Robonix based on InternVLA. The Skill accepts a natural-language navigation goal, dynamically discovers camera and chassis capabilities through Atlas, captures RGB images, requests InternVLA inference, and converts model outputs into generic chassis distance or angle commands.
This repository is responsible only for interpreting model outputs and managing the navigation loop.
Features
discrete_actionandtrajectoryoutputs from InternVLA.Workflow
robonix/skill/internvla_navigation/navigate.snapshotcapability to obtain a JPEG image.forward_morrotate_deg.robonix/primitive/chassis/movecapability.Capability
The Skill provides the following capability:
robonix/skill/internvla_navigation/navigateRequest fields:
instructionstringmax_stepsint320uses the deployment configurationtimeout_secfloat640uses the deployment configurationResponse fields:
statusstringcompleted,failed,busy,cancelled,timeout, ormax_stepsreasonstringstepsint32Requirements
Robonix capabilities
The following capabilities must be discoverable when the Skill is activated:
robonix/primitive/camera/snapshotrobonix/primitive/chassis/moveThe camera response must contain fields compatible with
sensor_msgs/Image. Itsencodingmust bejpegorjpg, anddatamust contain valid JPEG bytes.InternVLA HTTP server
We have provided a docker image internvla-server which includes InternVLA-N1-DualVLN source code and environment, while the model params are not included, and you have to download the model params by youself and provides the path to the model in
.env.(cp .env.example ,envand configure in.env). The model url on huggingface: InternVLA-N1-DualVLN.NOTE: It would be a better choice to pull the image before you start Robonix, otherwise it will take a LONG TIME to pull the image and the Robonix may seems not work well.
When this skill is activated by Robonix, you need to wait about 20-40 seconds to make sure the model is completely loaded and ready for inference. More details can refer to
scripts/start.shandcompose.yaml(which passes in args Internnav needs).The InternVLA inference server must run separately and provide these endpoints:
GET/healthPOST/task/startPOST/eval_dualPOST/task/reportA successful
/eval_dualresponse must contain eitherdiscrete_actionortrajectory. The current implementation uploads RGB JPEG images only and does not upload depth images.Python dependencies
requestsmcpgrpcioInstall the dependencies with:
Usage
Run the following commands from the Skill repository root:
scripts/build.shchecks the Python dependencies and runs Robonix code generation.If you want to start the skill, run:
Since a docker will be created to be the runtime of Internnav, you can run:
to exit gracefully.
Deployment configuration
Add the Skill to the robot deployment repository’s
robonix_manifest.yaml:Configuration fields:
server_urlhttp://127.0.0.1:5801client_idXXXrequest_timeout_sec120.0camera_timeout_sec10.0chassis_timeout_sec10.0max_steps100timeout_sec300.0wait_interval_sec0.30lookahead_m0.30discrete_forward_m0.25turn_threshold_deg15.0discrete_step_deg15.0forward_ratio,turn_ratio, motion duration, andcontrol_modeare not Skill configuration fields. They belong to the chassis-specific Primitive.Model action mapping
Discrete actions are converted one by one in the original model output order:
00, the task ends1forward_m = discrete_forward_m2rotate_deg = +discrete_step_deg3rotate_deg = -discrete_step_deg5,9If both
discrete_actionandtrajectoryare present,discrete_actiontakes precedence.For
trajectory, the coordinate convention is positive X forward and positive Y left. The Skill selects the first trajectory point that reacheslookahead_m. If its heading error exceedsturn_threshold_deg, the Skill sends onerotate_degcommand; otherwise, it sends oneforward_mcommand no longer than the look-ahead distance. This is a local closed-loop fallback for operation without odometry or MPC, not a complete trajectory tracker.Start and use
Start the camera Primitive, chassis Primitive, and InternVLA server first. Then run the following commands from the deployment repository:
You can then submit a navigation request through Pilot, for example:
Notes and safety
dry_run: true. Confirm command direction and magnitude before connecting to the physical robot.busy.License
MIT