1. Mobile Base User Guide
1.1 Safety and Responsibility Guidelines
- Operate the mobile base only in an open area, and keep it within your line of sight during remote control.
- Unauthorized modification of the internal structure of the product without approval from technical support is strictly prohibited.
- The output current at the rear expansion connector must not exceed 25 A, and the total output power must not exceed 600 W.
- Charge the device promptly when the low-battery alarm is triggered. Use only the dedicated lithium battery charger supplied with the product. Do not charge the battery below 0 °C. Do not use batteries, power supplies, or chargers that are not supplied by the original manufacturer.
- If the mobile base behaves abnormally, stop using it immediately to prevent further damage or injury, and contact technical support. Unauthorized disassembly or non-standard repair is strictly prohibited.
- The mobile base has an IP22 ingress protection rating. Use it only in environments compatible with this rating.
- Operating environment: The operating temperature range is -10 °C to 40 °C. Do not use the mobile base below -10 °C or above 40 °C. Do not use this product in environments containing corrosive or flammable gases, or near combustible materials. Do not use it near heat sources such as heaters or large wire-wound resistors. The recommended maximum altitude is 1000 m. The recommended maximum day-night temperature difference is 25 °C.
- Storage conditions: The optimal storage temperature is -10 °C to 40 °C. When the battery is not in use, charge and discharge it about once a month, and then store it fully charged. Do not throw the battery into fire or heat it. Do not store the battery at high temperatures.
1.2 Product Overview
This mobile chassis is a programmable omnidirectional unmanned ground vehicle (UGV) that combines the motion characteristics of differential-drive and Ackermann-steering chassis. It features a small turning radius and supports zero-radius turning, meeting movement and steering requirements in various scenarios.
The chassis is equipped with sensors such as stereo cameras and LiDAR. Its powertrain uses in-wheel hub motors and combines solid tires with a swing-arm structure to improve passability and environmental adaptability under different ground conditions. In addition, the integrated in-wheel motor drive reduces traditional mechanical transmission mechanisms, helping to simplify the overall structure and improve system integration and reliability. Electrical and communication interfaces are reserved on the top and rear of the chassis for external device connection and secondary development.
1.3 Specifications
| Category | Item | Value |
|---|---|---|
| Mechanical Parameters | L × W × H (mm) | 552 × 500 × 250 |
| Wheelbase (mm) | 388 | |
| Front/rear track width (mm) | 338 | |
| Curb weight (kg) | 50–55 kg | |
| Maximum Payload | 80kg | |
| Battery Type | Lithium iron phosphate (LiFePO4) | |
| Battery specifications | 24 V, 30 Ah | |
| Drive motors | 150 W × 4 | |
| Steering motors | 50 W × 4 | |
| Parking brake | Electronic brake | |
| Steering type | Four-wheel drive, four-wheel steering | |
| Suspension | Rear swing-arm suspension | |
| Steering motor reduction ratio | 1:51 | |
| Steering motor encoder | Dual encoders | |
| Drive motor reduction ratio | 1:4.428 | |
| Drive motor sensor | Encoder | |
| Performance Parameters | Ground clearance (mm) | 39 |
| Maximum runtime (h) | 6.5 (no load), 2.5 (full load) | |
| Maximum range (km) | 45 (no load), 25 (full load) | |
| Charging time (h) | 3 | |
| Operating temperature (°C) | -10 to 40 | |
| External power output current | 25 A | |
| Communication interface | CAN | |
| Key Component Parameters | LiDAR | SLAMTEC S3 |
| Obstacle Avoidance Camera | Dabai Stereo Structured-Light Camera |
1.4 Body Components, Interfaces, and Mounting Dimensions
The figures below show the body components and interfaces. An aviation expansion connector is located on the left side of the rear of the mobile base. It integrates one power interface and one CAN communication interface. In normal use, connect this connector to the reserved Aviation connector on the Lift Stand to provide power and communication between the mobile base and the Lift Stand.
![]() |
![]() |
![]() |
| Base interfaces and sensors | Charging contacts and battery compartment | Rear interfaces |
The figures below show the mounting hole dimensions and the center of gravity of the mobile base.
![]() |
![]() |
| Top mounting hole dimensions | Base center of gravity |
2. Web-Based Navigation Interface User Guide
The mobile base is equipped with two LiDARs and one Depth Camera for environment perception and navigation. By default, the mobile base supports both wired Ethernet and wireless Wi-Fi communication. Choose the method that best suits your environment.
- Wired Ethernet
An RJ45 network port on the top of the mobile base connects to the mobile base controller. The default IP address of the mobile base controller is 10.7.5.99. Configure your computer or industrial PC to use an IP address on the same subnet as the mobile base controller, and connect it to the RJ45 port with an Ethernet cable.
Once the network connection is established, enter http://10.7.5.99 in the address bar of your browser to open the mobile base controller management page. The default username is admin and the default password is agx12345.
- Wireless Wi-Fi
See the “Settings” chapter below for detailed information.
2.1 Login
The system is preconfigured with the username admin and the password agx12345. You can change the password after your first login.
2.2 Home
This page shows the operating status and task information of the mobile base. It displays in real time the current task, marked points, the front RGB camera feed, movement speed, total mileage, current trip mileage, and resource usage of the mobile base controller.
2.3 Tasks
This page shows the map, points, route network, and real-time position of the mobile base, and provides task operations. The numbered callouts on the screen are described below.
-
Callout 1: Hover over a point to open the point information box. Click Go to drive the mobile base to that point automatically. Two travel options are available: follow the preset route network, or follow a path planned on the map by the A* algorithm. Follow the on-screen prompts.
-
Callout 2: Relocalization button. Before use, check whether the localization of the mobile base is accurate. If not, click this button to enter relocalization mode, then click on the map. The icon shown below appears, and the arrow always points toward the mouse cursor to indicate the relocalization heading. When you release the mouse button, the system sends the relocalization command. Check whether the point cloud on the screen matches the map.
-
Callout 3: Navigate to any point. In this mode, left-click anywhere on the map to send that target position to the mobile base.
-
Callout 4: Switch map. Change the map currently used by the mobile base for navigation.
-
Callout 5: Existing markers such as the point cloud and route network may cover the target location on the map. Use this setting to hide them for easier operation.
2.4 Advanced
Manage maps, points, and paths, including creating, editing, and deleting them.
2.4.1 Maps
Manage maps on this page: create, edit, and delete.
- Callout 1: Click to open the New Map dialog box. Enter a map name and choose whether to record a bag.
-
Callout 2: Click to enter edit mode.
-
Click button 1 to enter noise-removal mode. Draw a closed polygon on the map to remove the noise inside it.
-
Click button 2 to enter virtual-wall mode. Draw a polyline on the map to mark a virtual wall.
-
2.4.2 Points and Paths
Manage points and paths on this page: create, edit, and delete.
Click the Edit button to enter edit mode.
2.4.2.1 Point Management
Click callout 1 to enter point-editing mode, then left-click on the map. A red point appears on the map. Click the point to enter its details. Likewise, click an existing point on the map to edit its details.
Click Mark Current Point at the top to record the current position of the mobile base on the map as a point.
The system provides four predefined point types:
-
Standard point: green #008000
-
Charging point: yellow #ffff00
-
Parking point: blue #0D98BA
-
General point: light blue #409EFF
2.4.2.2 Route Network Management
Before using this feature, finish marking the points. Click one marked point (point A), then click another (point B) to connect A to B. The connection is directional: it only allows travel from A to B. To allow travel from B to A, repeat the operation in reverse. See the example below:
A<->C C->B B->A
If you plan a route from A to B, the system plans A->C->B. When a navigation task is sent, you are asked whether to follow the route network. If you choose to follow it, the system plans A->C->B. Otherwise, it plans the shortest path from A to B using the A* algorithm.
2.5 Settings
2.5.1 Battery Threshold Settings
This feature works with the charging dock to enable automatic charging. When the battery level drops below the alarm threshold, the mobile base issues a low-battery alarm. When it drops below the charging threshold, the mobile base automatically drives to the charging dock to charge. When fully charged, the mobile base leaves the dock and returns to the parking point. To use this feature, mark both a charging point and a parking point on the map.
2.5.2 Wi-Fi Settings
The mobile base has a built-in Wi-Fi module. To use it, open the Wi-Fi settings page and click the Get available Wi-Fi networks icon to the right of the Wi-Fi drop-down list. Available networks in the area are listed in the drop-down list. If the mobile base is already connected to a network, the IP address assigned to it is shown to the left of the drop-down list.
To switch networks, select the target Wi-Fi name in the drop-down list and click Connect. If the network requires a password, a password box appears. Otherwise, the mobile base connects directly.
2.5.3 Depth Camera Settings
Adjust the ground-filter parameter of the Depth Camera to set the maximum obstacle height detected above the ground. To increase the height, decrease this parameter. To decrease the height, increase this parameter.
2.6 Upgrade
The system supports patch upgrades. New features and bug fixes are delivered as patches. This page lets you upload patches, perform upgrades, and view upgrade logs.
- Callout 1: Upload a patch. Click to open the dialog box shown below.
- Callout 2: Upgrade log. Click to open the dialog box shown below.
- Callout 3: Upgrade log details. Click to open the dialog box shown below. If an upgrade fails, check the log details for the error.
- Callout 4: Upgrade. Click to open the dialog box shown below. Click OK to start the upgrade. Because an upgrade can take a long time, it runs asynchronously. Check the result in the upgrade log.
- Callout 5: Delete a patch. Click to open the dialog box shown below.
2.7 Logs
2.7.1 Operation Log
The system logs important operations such as adding, modifying, and deleting items, and starting and stopping navigation.
2.7.2 Runtime Log
To help with troubleshooting, this page lets you download application runtime logs. It collects all application logs and provides a download link for the packaged archive. Packaged logs are kept for 30 days by default, and expired logs are deleted the next time logs are packaged.
-
Callout 1: Click this button to compress and package the current logs.
-
Callout 2: Click this button to delete the log file.
-
Callout 3: Click the name of a packaged log file to download it.
2.7.3 Changelog
After a version upgrade, view what has changed on this page.
2.8 Top Bar
The top bar shows status information and provides quick access to common functions, such as battery level, navigation status, alarm messages, help links, and mobile base status.
2.8.1 Search Menu
Click the search icon to open the search box shown below. Enter the name of the menu you are looking for.
2.8.2 Switch Language
Click the language icon to open the Chinese/English menu, then select the language you want to use for the interface.
2.8.3 Maximize
Click the maximize icon to display the interface in full screen. The icon changes to a Restore icon. Click it again to restore the original view.
2.8.4 Alarms and Notifications
Click this icon to view alarms and notifications.
2.8.5 Navigation Messages
Click this icon to view real-time navigation status messages.
2.8.6 API
Click this icon to go to the API page.
2.8.7 Help
Click this icon to go to the Help page.
2.8.8 Username
Click this icon to display the Change Password and Log Out links. Click Change Password to open the change password dialog box. Click Log Out to sign out and return to the login page.
2.8.9 System Settings
Click this icon to open the System Settings panel, where you can change the interface theme, layout, and other options.
3. Example: Complete a Mapping and Navigation Workflow with the Web-Based Navigation Interface
3.1 Network Configuration
After the first power-on, use an Ethernet cable to connect the RJ45 port in the electrical interface area on top of the mobile base to your development computer:
Set the IP address of the development computer to the same subnet as the mobile base, as shown below:
Open any browser and enter http://10.7.5.99 in the address bar to open the navigation interface.
For the first login, the default username is admin and the password is agx12345.
After logging in, you can configure Wi-Fi first. As shown below, you can set a custom name, password, and IP address.
3.2 Mapping
After configuration, connect to the Wi-Fi network of the mobile base using the settings you configured, then unplug the Ethernet cable between the mobile base and the development computer.
Open a browser, enter the IP address you configured above, and log in to the navigation page.
Click Advanced > Maps in the left sidebar.
Click callout 1 on the right to open the mapping options. Enter a map name and choose whether to record a bag.
You can then drive the mobile base with the VR controller as described in:
https://www.limxdynamics.com/en/documents/852949782845591552
See Section 5.2, VR Controller Commands, in the user manual.
After mapping starts, drive the mobile base smoothly at a constant speed for one full loop around the area where navigation is required. While driving, check whether the map on the navigation interface matches the real environment. The map is built incrementally as the LiDAR scans. If any corners or boundaries are unclear, drive over those areas several more times so the LiDAR can scan them fully.
When mapping is finished, click the stop button at callout 1 and select Stop and Save to complete mapping.
3.3 Map Editing
During mapping, pedestrians, temporary obstacles, or similar conditions on the driving path may leave unexpected obstacles on the map. You may also want to add virtual no-go zones. To ensure navigation quality, edit the map after mapping.
On the Maps page, click callout 2 to enter edit mode, as shown below.
-
Click button 1 to enter noise-removal mode. Draw a closed polygon on the map to remove the noise inside it.
-
Click button 2 to enter virtual-wall mode. Draw a polyline on the map to mark a virtual wall.
3.4 Navigation
After completing the steps above, you can start navigation tasks.
Click the left sidebar to open the Tasks page.
This page shows the map, points, route network, and real-time position of the mobile base, and provides task operations. The numbered callouts in the figure above are described below.
-
Callout 1: Hover over a point to open the point information box. Click Go to drive the mobile base to that point automatically. Two travel options are available: follow the preset route network, or follow a path planned on the map by the A* algorithm. Follow the on-screen prompts.
-
Callout 2: Relocalization button. Before use, check whether the localization of the mobile base is accurate. If not, click this button to enter relocalization mode, then click on the map. The icon shown below appears, and the arrow always points toward the mouse cursor to indicate the relocalization heading. When you release the mouse button, the system sends the relocalization command. Check whether the point cloud on the screen matches the map.
-
Callout 3: Navigate to any point. In this mode, left-click anywhere on the map to send that target position to the mobile base.
-
Callout 4: Switch map. Change the map currently used by the mobile base for navigation.
-
Callout 5: Existing markers such as the point cloud and route network may cover the target location on the map. Use this setting to hide them for easier operation.
4. Environment Setup for Mapping and Navigation with the Developer Expansion Module
Run the following in a terminal on your PC:
ssh guest@10.192.1.4
After login, the terminal prompt is typically:
guest@guest:~$
Install the required tools:
sudo apt update
sudo apt install -y curl jq python3 python3-pip
python3 -m pip install --user websocket-client
Set the navigation board address:
export NAV_BASE='http://10.7.5.99'
sudo ip addr add 10.7.5.180/24 dev enp2s0
Check the route from the Developer Expansion Module to the navigation board:
ip route get 10.7.5.99
The output should look similar to:
10.7.5.99 dev enp2s0 src 10.7.5.10
Test HTTP access:
curl -v --connect-timeout 3 \
"$NAV_BASE/devdoc/index.html" \
-o /dev/null
The API commands below work only after the Developer Expansion Module can reach 10.7.5.99.
4.1 User Authentication
4.2 Administrator Login
Endpoint:
POST /admin/login
Parameters:
| Field | Type | Description |
|---|---|---|
| username | String | Username. Required. |
| password | Password. Required. |
Response fields:
| Field | Type | Description |
|---|---|---|
| status | Boolean | Status |
| errCode | String | Error code |
| msg | Message | |
| data | Object | Response data |
- Success response:
HTTP 1.1/ 200 OK
{"status": true,"errCode": null,"msg": "用户登陆成功!","data": null}
- Failure response:
HTTP 1.1/ 200 OK
{"status": false,"errCode": null,"msg": "用户登陆失败!","data": null}
4.2.1 Login Example
read -rsp "Enter the navigation board admin password: " NAV_PASSWORD
echo
LOGIN_RESULT=$(
curl -sS -X POST \
"$NAV_BASE/admin/login" \
-H "Content-Type: application/json" \
-d "$(jq -nc \
--arg username 'admin' \
--arg password "$NAV_PASSWORD" \
'{username:$username,password:$password}')"
)
echo "$LOGIN_RESULT" | jq
Extract accessToken from the response:
export NAV_TOKEN="$(
echo "$LOGIN_RESULT" |
jq -r '.data.accessToken // empty'
)"
Check the token:
if [ -n "$NAV_TOKEN" ]; then
echo "Token retrieved. Length: ${#NAV_TOKEN}"
else
echo "Failed to get token. Check status, msg, and the password."
fi
In a successful login response, the token is located at:
data.accessToken
Include the following header in all subsequent requests:
Authorization: Bearer $NAV_TOKEN
In the current verified version, administrator login uses POST with a JSON request body.
4.3 Define Common Request Functions
To avoid repeating request headers for every endpoint, run the following in the current SSH terminal:
nav_get()
{
local path="$1"
shift
curl -sS -G \
-H "Authorization: Bearer $NAV_TOKEN" \
"$NAV_BASE$path" \
"$@" | jq
}
nav_post_query()
{
local path="$1"
shift
curl -sS -X POST -G \
-H "Authorization: Bearer $NAV_TOKEN" \
"$NAV_BASE$path" \
"$@" | jq
}
nav_post_json()
{
local path="$1"
local body="$2"
curl -sS -X POST \
-H "Authorization: Bearer $NAV_TOKEN" \
-H "Content-Type: application/json" \
"$NAV_BASE$path" \
-d "$body" | jq
}
These functions are valid only in the current SSH session. After you exit and log in again over SSH, repeat the login, token setup, and function definitions.
5. Calling the Navigation API (HTTP) on the Developer Expansion Module over SSH
Note
The navigation controller returns themsgfield and some status text fields in the language set for the system (see 5.8.3). The response examples in this guide show the actual Chinese strings returned with the default language setting.
5.1 Map Management
The map endpoints start mapping, stop mapping, save maps, query maps, and clear map data. In the current verified version, starting, stopping, saving, and querying maps mainly use GET, and map noise removal uses POST.
5.1.1 Start Map Creation
Endpoint:
GET /api/map/create/start
Parameters:
| Field | Type | Description |
|---|---|---|
| mapName | String | Map name. Required. |
| bagRecord | Boolean | Whether to record a bag. Default: false. Optional. |
Response fields:
| Field | Type | Description |
|---|---|---|
| status | Boolean | Status (true/false) |
| errCode | String | Error code |
| msg | Message | |
| data | Object | Response data |
Success response
HTTP 1.1/ 200 OK
{"status": true,"errCode": null,"msg": "地图创建启动成功!","data": null}
Failure response:
HTTP 1.1/ 200 OK
{"status": false,"errCode": null,"msg": "地图创建启动失败!","data": null}
Before starting mapping, make sure that:
- The area around the robot is safe.
- No navigation task is currently running.
- This endpoint may take a long time to complete.
5.1.2 Stop Map Creation Without Saving
Endpoint:
/api/map/create/stop
Response fields:
| Field | Type | Description |
|---|---|---|
| status | Boolean | Status (true/false) |
| errCode | String | Error code |
| msg | Message | |
| data | Object | Response data |
- Success response:
HTTP 1.1/ 200 OK
{"status": true,"errCode": null,"msg": "地图创建停止成功!","data": null}
- Failure response:
HTTP 1.1/ 200 OK
{"status": false,"errCode": null,"msg": "地图创建停止失败!","data": null}
This command stops the current mapping session without saving the result.
5.1.3 Stop Map Creation and Save
Endpoint:
GET /api/map/create/save/stop
Parameters:
| Field | Type | Description |
|---|---|---|
| remark | String | Remark. Optional. |
Response fields:
| Field | Type | Description |
|---|---|---|
| status | Boolean | Status (true/false) |
| errCode | String | Error code |
| msg | Message | |
| data | Object | Response data |
- Success response:
HTTP 1.1/ 200 OK
{"status": true,"errCode": null,"msg": "地图创建停止并保存成功!","data": null}
- Failure response:
HTTP 1.1/ 200 OK
{"status": false,"errCode": null,"msg": "创建地图停止并保存失败!","data": null}
remark is a note for the map and is not necessarily the same as the map name.
Start mapping before calling the save-and-stop endpoint.
5.1.4 Delete a Map
Endpoint:
GET /api/map/delete
Parameters:
| Field | Type | Description |
|---|---|---|
| mapName | String | Map name. Required. |
Response fields:
| Field | Type | Description |
|---|---|---|
| status | Boolean | Status (true/false) |
| errCode | String | Error code |
| msg | Message | |
| data | Object | Response data |
- Success response:
HTTP 1.1/ 200 OK
{"status": true,"errCode": null,"msg": "删除地图成功!","data": null}
- Failure response:
HTTP 1.1/ 200 OK
{"status": false,"errCode": null,"msg": "删除地图失败!","data": null}
This is a high-risk write operation. Before deleting, switch to another map and confirm that the target map can be deleted.
5.1.5 Get a Map PNG Image
Endpoint:
GET /api/map/get/png
Parameters:
| Field | Type | Description |
|---|---|---|
| mapName | String | Map name. Required. |
Response fields:
| Field | Type | Description |
|---|---|---|
| status | Boolean | Status (true/false) |
| errCode | String | Error code |
| msg | Message | |
| data | Object | Response data |
- Success response:
HTTP 1.1/ 200 OK
{"status": true,"errCode": null,"msg": "获取地图图片成功!","data": 'iVBORw0KGgoAAAANSUhEUgAAAh8AAAS5 ...' // Base64-encoded map image}
- Failure response:
HTTP 1.1/ 200 OK
{"status": false,"errCode": null,"msg": "获取地图图片失败!","data": null}
5.1.6 Get All Maps
Endpoint:
GET /api/map/get/all
Response fields:
| Field | Type | Description |
|---|---|---|
| status | Boolean | Status (true/false) |
| errCode | String | Error code |
| msg | Message | |
| data | Object | Response data |
- Success response:
HTTP 1.1/ 200 OK
{"status": true,"errCode": null,"msg": "获取地图图片成功!","data": [{
createTime: "2025-10-14 09:12:47.736080", // Creation time
height: 528, // Image height
id: 1, // id
name: "1014", // Map name
originX: -26.4831, // X coordinate of the image's lower-left corner in the map frame
originY: -12.2878, // Y coordinate of the image's lower-left corner in the map frame
remark: "", // Remark
resolution: 0.05, // Map resolution, in meters per pixel
updateTime: null, // Update time
width: 833, // Image width}, ...]}
- Failure response:
HTTP 1.1/ 200 OK
{"status": false,"errCode": null,"msg": "获取地图图片失败!","data": null}
5.1.7 Query Map Information by Name
Endpoint:
GET /api/map/get/by/name
Run:
nav_get '/api/map/get/by/name' \
--data-urlencode 'mapName=0716'
The current verified version adds the mapName parameter based on the parameter table.
5.1.8 Remove Map Noise
Endpoint:
POST /api/map/erase
Parameters:
| Field | Type | Description |
|---|---|---|
| mapName | String | Map name. Required. |
| polygon | Array | Target area to erase, in the format [[x1, y1], [x2, y2], [x3, y3] ...] |
Response fields:
| Field | Type | Description |
|---|---|---|
| status | Boolean | Status (true/false) |
| errCode | String | Error code |
| msg | Message | |
| data | Object | Response data |
- Success response:
HTTP 1.1/ 200 OK
{"status": true,"errCode": null,"msg": "擦除成功!","data": null}
- Failure response:
HTTP 1.1/ 200 OK
{"status": false,"errCode": null,"msg": "擦除失败!","data": null}
5.1.9 Clear the Navigation Costmap
Endpoint:
GET /api/map/clear/costmap
Response fields:
| Field | Type | Description |
|---|---|---|
| status | Boolean | Status (true/false) |
| errCode | String | Error code |
| msg | Message | |
| data | Object | Response data |
- Success response:
HTTP 1.1/ 200 OK
{"status": true,"errCode": null,"msg": "","data": null}
- Failure response:
HTTP 1.1/ 200 OK
{"status": false,"errCode": null,"msg": "","data": null}
5.2 Navigation Control
The navigation endpoints switch maps, initialize localization, send target points, and pause, resume, or stop tasks. The navigation control endpoints in this document use GET, with parameters passed as URL query strings.
5.2.1 Switch the Current Map
Endpoint:
GET /api/nav/switch/map
Parameters:
| Field | Type | Description |
|---|---|---|
| mapName | String | Map name. Required. |
Response fields:
| Field | Type | Description |
|---|---|---|
| status | Boolean | Status (true/false) |
| errCode | String | Error code |
| msg | Message | |
| data | Object | Response data |
- Success response:
HTTP 1.1/ 200 OK
{"status": true,"errCode": null,"msg": "加载地图成功!","data": null}
- Failure response:
HTTP 1.1/ 200 OK
{"status": false,"errCode": null,"msg": "加载地图失败!","data": null}
5.2.2 Set the Initial Robot Pose
Endpoint:
GET /api/nav/init/pose
Parameters:
| Field | Type | Description |
|---|---|---|
| x | Number | X coordinate. Required. |
| y | Y coordinate. Required. | |
| angle | Heading angle. Required. |
Response fields:
| Field | Type | Description |
|---|---|---|
| status | Boolean | Status (true/false) |
| errCode | String | Error code |
| msg | Message | |
| data | Object | Response data |
- Success response:
HTTP 1.1/ 200 OK
{"status": true,"errCode": null,"msg": "设置初始位姿成功!","data": null}
- Failure response:
HTTP 1.1/ 200 OK
{"status": false,"errCode": null,"msg": "设置初始位姿失败!","data": null}
5.2.3 Navigate to Target Coordinates
Endpoint:
GET /api/nav/task/point
Parameters:
| Field | Type | Description |
|---|---|---|
| sn | String | Point SN. Optional. Returned together with the arrival notification so your application can act on it. |
| x | Number | X coordinate. Required. |
| y | Y coordinate. Required. | |
| angle | Heading angle. Required. | |
| type | String | Point type. Default: '0' |
| followRoadNet | Boolean | Whether to follow the route network. Default: false |
| forceChargingStart | Whether to force the navigation task to start while charging |
Response fields:
| Field | Type | Description |
|---|---|---|
| status | Boolean | Status (true/false) |
| errCode | String | Error code |
| msg | Message | |
| data | Object | Response data |
- Success response:
HTTP 1.1/ 200 OK
{"status": true,"errCode": null,"msg": "开启导航任务成功!","data": null}
- Failure response:
HTTP 1.1/ 200 OK
{"status": false,"errCode": null,"msg": "开启导航任务失败!","data": null}
5.2.4 Navigate by Point ID
Endpoint:
GET /api/nav/task/point/id
Run:
nav_get '/api/nav/task/point/id' \
--data-urlencode 'id=19' \
--data-urlencode 'followRoadNet=true' \
--data-urlencode 'forceChargingStart=false'
A response of "开启导航任务成功" (navigation task started) only means the task was accepted. It does not mean the robot has reached the target point.
5.2.5 Patrol a Coordinate Sequence
Endpoint:
GET /api/nav/follow/route
Parameters:
| Field | Type | Description |
|---|---|---|
| points | String | Points, in the format \[\{x: , y: , angle:, type: \}, ...\]. Required. |
| repeats | Number | Number of repetitions. Default: 1. Optional. |
| forceChargingStart | Boolean | Whether to force the navigation task to start while charging |
Response fields:
| Field | Type | Description |
|---|---|---|
| status | Boolean | Status (true/false) |
| errCode | String | Error code |
| msg | Message | |
| data | Object | Response data |
- Success response:
HTTP 1.1/ 200 OK
{"status": true,"errCode": null,"msg": "开启导航任务成功!","data": null}
- Failure response:
HTTP 1.1/ 200 OK
{"status": false,"errCode": null,"msg": "开启导航任务失败!","data": null}
5.2.6 Patrol by Route ID
Endpoint:
GET /api/nav/follow/route/id
Parameters:
| Field | Type | Description |
|---|---|---|
| id | Number | Point ID. Required. |
| followRoadNet | Boolean | Whether to follow the route network. Default: false |
| forceChargingStart | Whether to force the navigation task to start while charging |
Response fields:
| Field | Type | Description |
|---|---|---|
| status | Boolean | Status (true/false) |
| errCode | String | Error code |
| msg | Message | |
| data | Object | Response data |
- Success response:
HTTP 1.1/ 200 OK
{"status": true,"errCode": null,"msg": "开启导航任务成功!","data": null}
- Failure response:
HTTP 1.1/ 200 OK
{"status": false,"errCode": null,"msg": "开启导航任务失败!","data": null}
5.2.7 Stop the Navigation Task
Endpoint:
GET /api/nav/task/stop
Response fields:
| Field | Type | Description |
|---|---|---|
| status | Boolean | Status (true/false) |
| errCode | String | Error code |
| msg | Message | |
| data | Object | Response data |
- Success response:
HTTP 1.1/ 200 OK
{"status": true,"errCode": null,"msg": "停止导航任务成功!","data": null}
- Failure response:
HTTP 1.1/ 200 OK
{"status": false,"errCode": null,"msg": "停止导航任务失败!","data": null}
5.2.8 Pause the Navigation Task
Endpoint:
GET /api/nav/task/pause
Response fields:
| Field | Type | Description |
|---|---|---|
| status | Boolean | Status (true/false) |
| errCode | String | Error code |
| msg | Message | |
| data | Object | Response data |
- Success response:
HTTP 1.1/ 200 OK
{"status": true,"errCode": null,"msg": "暂停导航任务成功!","data": null}
- Failure response:
HTTP 1.1/ 200 OK
{"status": false,"errCode": null,"msg": "暂停导航任务失败!","data": null}
5.2.9 Resume the Navigation Task
Endpoint:
GET /api/nav/task/resume
Response fields:
| Field | Type | Description |
|---|---|---|
| status | Boolean | Status (true/false) |
| errCode | String | Error code |
| msg | Message | |
| data | Object | Response data |
- Success response:
HTTP 1.1/ 200 OK
{"status": true,"errCode": null,"msg": "恢复导航任务成功!","data": null}
- Failure response:
HTTP 1.1/ 200 OK
{"status": false,"errCode": null,"msg": "恢复导航任务失败!","data": null}
5.3 Point Management
5.3.1 Query Points by Map
Endpoint:
GET /api/point/get/by/mapname
Parameters:
| Field | Type | Description |
|---|---|---|
| mapName | String | Map name. Required. |
Response fields:
| Field | Type | Description |
|---|---|---|
| status | Boolean | Status (true/false) |
| errCode | String | Error code |
| msg | Message | |
| data | Object | Response data |
- Success response:
HTTP 1.1/ 200 OK
{"status": true,"errCode": null,"msg": "查询成功!","data": [{
angle: 0, // Heading angle
createTime: "2025-11-27 01:12:12.422750", // Creation time
id: 19, // id
mapName: "1126", // Map name
pointName: "充电", // Point name
pointSn: "point_1", // Point SN
remark: null, // Remark
type: "1", // Point type. '0': standard point (used to constrain paths, no other meaning); '1': charging point; '2': parking point; '3': elevator waiting point (next to the elevator); '4': elevator boarding point; 'Z': general point (meaning defined by the application layer)
typeText: "充电点", // Type name
updateTime: null, // Update time
x: 341, // X coordinate
y: 950 // Y coordinate}, ...]}
- Failure response:
HTTP 1.1/ 200 OK
{"status": false,"errCode": null,"msg": "查询失败!","data": null}
5.3.2 Add a Point
Endpoint:
GET /api/point/add
Parameters:
| Field | Type | Description |
|---|---|---|
| mapName | String | Map name. Required. |
| pointName | Point name. Required. | |
| pointSn | Point SN. Required. | |
| x | Number | X coordinate. Required. |
| y | Y coordinate. Required. | |
| angle | Heading angle. Required. | |
| type | String | Point type. Required. |
| remark | Remark |
Response fields:
| Field | Type | Description |
|---|---|---|
| status | Boolean | Status (true/false) |
| errCode | String | Error code |
| msg | Message | |
| data | Object | Response data |
- Success response:
HTTP 1.1/ 200 OK
{"status": true,"errCode": null,"msg": "添加点成功!","data": null}
- Failure response:
HTTP 1.1/ 200 OK
{"status": false,"errCode": null,"msg": "添加点失败!","data": null}
5.3.3 Modify a Point
Endpoint:
GET /api/point/update
Parameters:
| Field | Type | Description |
|---|---|---|
| id | Number | Point ID. Required. |
| pointName | String | Point name. Required. |
| pointSn | Point SN. Required. | |
| x | Number | X coordinate. Required. |
| y | Y coordinate. Required. | |
| angle | Heading angle. Required. | |
| type | String | Point type. Required. |
| remark | Remark |
Response fields:
| Field | Type | Description |
|---|---|---|
| status | Boolean | Status (true/false) |
| errCode | String | Error code |
| msg | Message | |
| data | Object | Response data |
- Success response:
HTTP 1.1/ 200 OK
{"status": true,"errCode": null,"msg": "修改点成功!","data": null}
- Failure response:
HTTP 1.1/ 200 OK
{"status": false,"errCode": null,"msg": "修改点失败!","data": null}
5.3.4 Delete a Point
Endpoint:
GET /api/point/delete
Parameters:
| Field | Type | Description |
|---|---|---|
| id | Number | Point ID. Required. |
Response fields:
| Field | Type | Description |
|---|---|---|
| status | Boolean | Status (true/false) |
| errCode | String | Error code |
| msg | Message | |
| data | Object | Response data |
- Success response:
HTTP 1.1/ 200 OK
{"status": true,"errCode": null,"msg": "删除点成功!","data": null}
- Failure response:
HTTP 1.1/ 200 OK
{"status": false,"errCode": null,"msg": "删除点失败!","data": null}
5.4 Route Management
5.4.1 Query Paths by Map
Endpoint:
GET /api/route/get/by/mapname
Parameters:
| Field | Type | Description |
|---|---|---|
| mapName | String | Map name. Required. |
Response fields:
| Field | Type | Description |
|---|---|---|
| status | Boolean | Status (true/false) |
| errCode | String | Error code |
| msg | Message | |
| data | Object | Response data |
- Success response:
HTTP 1.1/ 200 OK
{"status": true,"errCode": null,"msg": "查询成功!","data": null}
- Failure response:
HTTP 1.1/ 200 OK
{"status": false,"errCode": null,"msg": "查询失败!","data": null}
5.4.2 Add a Route
Endpoint:
GET /api/route/add
Parameters:
| Field | Type | Description |
|---|---|---|
| mapName | String | Map name. Required. |
| pathName | Path name. Required. | |
| pathSn | Path SN. Required. | |
| points | Array | Array of point IDs, in the format \[id1, id2, ...\]. Required. |
| remark | String | Remark |
Response fields:
| Field | Type | Description |
|---|---|---|
| status | Boolean | Status (true/false) |
| errCode | String | Error code |
| msg | Message | |
| data | Object | Response data |
- Success response:
HTTP 1.1/ 200 OK
{"status": true,"errCode": null,"msg": "添加路径成功!","data": null}
- Failure response:
HTTP 1.1/ 200 OK
{"status": false,"errCode": null,"msg": "添加路径失败!","data": null}
5.4.3 Modify a Route
Endpoint:
GET /api/route/update
Parameters:
| Field | Type | Description |
|---|---|---|
| id | Number | Path ID. Required. |
| pathName | String | Path name. Required. |
| pathSn | Path SN. Required. | |
| points | Array | Array of point IDs, in the format \[id1, id2, ...\]. Required. |
| remark | String | Remark |
Response fields:
| Field | Type | Description |
|---|---|---|
| status | Boolean | Status (true/false) |
| errCode | String | Error code |
| msg | Message | |
| data | Object | Response data |
- Success response:
HTTP 1.1/ 200 OK
{"status": true,"errCode": null,"msg": "修改路径成功!","data": null}
- Failure response:
HTTP 1.1/ 200 OK
{"status": false,"errCode": null,"msg": "修改路径失败!","data": null}
5.4.4 Delete a Route
Endpoint:
GET /api/route/delete
Parameters
| Field | Type | Description |
|---|---|---|
| id | Number | Point ID. Required. |
Response fields (HTTP 200):
| Field | Type | Description |
|---|---|---|
| status | Boolean | Status (true/false) |
| errCode | String | Error code |
| msg | Message | |
| data | Object | Response data |
- Success response:
HTTP 1.1/ 200 OK
{"status": true,"errCode": null,"msg": "删除路径成功!","data": null}
- Failure response:
HTTP 1.1/ 200 OK
{"status": false,"errCode": null,"msg": "删除路径失败!","data": null}
5.5 Route Network Management
A route is a fixed path, such as A->B->C. A route network is a topology formed by connecting multiple routes, which allows routes to be planned dynamically.
5.5.1 Query the Route Network by Map
Endpoint:
GET /api/road_net/get/by/mapname
Parameters:
| Field | Type | Description |
|---|---|---|
| mapName | String | Map name. Required. |
Response fields:
| Field | Type | Description |
|---|---|---|
| status | Boolean | Status (true/false) |
| errCode | String | Error code |
| msg | Message | |
| data | Object | Response data |
- Success response:
HTTP 1.1/ 200 OK
{"status": true,"errCode": null,"msg": "查询成功!","data": [{
createTime: "2025-11-27 01:13:27.550189", // Creation time
graph: "{\"22\":{\"21\":3977,\"23\":13410},\"23\":{\"21\":4901,\"22\":13410}}", // Route network: a directed graph in the form {id1: {id2: weight}}, where weight is the connection weight from id1 to id2
id: 4, // id
mapName: "1126", // Map name
remark: "net", // Remark
updateTime: null // Update time}, ...]}
- Failure response:
HTTP 1.1/ 200 OK
{"status": false,"errCode": null,"msg": "查询失败!","data": null}
5.5.2 Add a Route Network
Endpoint:
GET /api/road_net/add
Parameters:
| Field | Type | Description |
|---|---|---|
| mapName | String | Map name. Required. |
| graph | Route network, in the format \{\{id1: \{id2: weight, id3: weight\}, id: \{id1: weight\}, id3: \{id1: weight\}, ...\}. Required. | |
| remark | Remark |
Response fields:
| Field | Type | Description |
|---|---|---|
| status | Boolean | Status (true/false) |
| errCode | String | Error code |
| msg | Message | |
| data | Object | Response data |
- Success response:
HTTP 1.1/ 200 OK
{"status": true,"errCode": null,"msg": "添加路网成功!","data": null}
- Failure response:
HTTP 1.1/ 200 OK
{"status": false,"errCode": null,"msg": "添加路网失败!","data": null}
5.5.3 Modify a Route Network
Endpoint:
GET /api/road_net/update
Parameters:
| Field | Type | Description |
|---|---|---|
| id | Number | Route network ID. Required. |
| graph | String | Route network, in the format \{\{id1: \{id2: weight, id3: weight\}, id: \{id1: weight\}, id3: \{id1: weight\}, ...\}. Required. |
| remark | Remark |
Response fields:
| Field | Type | Description |
|---|---|---|
| status | Boolean | Status (true/false) |
| errCode | String | Error code |
| msg | Message | |
| data | Object | Response data |
- Success response:
HTTP 1.1/ 200 OK
{"status": true,"errCode": null,"msg": "修改路网成功!","data": null}
- Failure response:
HTTP 1.1/ 200 OK
{"status": false,"errCode": null,"msg": "修改路网失败!","data": null}
5.5.4 Delete a Route Network
Endpoint:
GET /api/road_net/delete
Parameters:
| Field | Type | Description |
|---|---|---|
| id | Number | Point ID. Required. |
Response fields:
| Field | Type | Description |
|---|---|---|
| status | Boolean | Status (true/false) |
| errCode | String | Error code |
| msg | Message | |
| data | Object | Response data |
- Success response:
HTTP 1.1/ 200 OK
{"status": true,"errCode": null,"msg": "删除路网成功!","data": null}
- Failure response:
HTTP 1.1/ 200 OK
{"status": false,"errCode": null,"msg": "删除路网失败!","data": null}
5.6 Virtual Wall Management
5.6.1 Get Virtual Walls for a Map
Endpoint:
GET /api/vm/get/by/mapname
Parameters:
| Field | Type | Description |
|---|---|---|
| mapName | String | Map name. Required. |
Response fields:
| Field | Type | Description |
|---|---|---|
| status | Boolean | Status (true/false) |
| errCode | String | Error code |
| msg | Message | |
| data | Object | Response data |
- Success response:
HTTP 1.1/ 200 OK
{"status": true,"errCode": null,"msg": "查询成功!","data": null}
- Failure response:
HTTP 1.1/ 200 OK
{"status": false,"errCode": null,"msg": "查询失败!","data": null}
5.6.2 Add a Virtual Wall
Endpoint:
POST /api/vm/add
Parameters:
| Field | Type | Description |
|---|---|---|
| mapName | String | Map name. Required. |
| data | Virtual wall. Required. | |
| type | Virtual wall type (1: line segment, 2: polygon). Required. | |
| remark | Remark. Required. |
Response fields:
| Field | Type | Description |
|---|---|---|
| status | Boolean | Status (true/false) |
| errCode | String | Error code |
| msg | Message | |
| data | Object | Response data |
- Success response:
HTTP 1.1/ 200 OK
{"status": true,"errCode": null,"msg": "添加虚拟墙成功!","data": null}
- Failure response:
HTTP 1.1/ 200 OK
{"status": false,"errCode": null,"msg": "添加虚拟墙失败!","data": null}
5.6.3 Modify a Virtual Wall
Endpoint:
POST /api/vm/update
Parameters:
| Field | Type | Description |
|---|---|---|
| id | Number | Point ID. Required. |
| data | String | Virtual wall. Required. |
| remark | Remark. Required. |
Response fields:
| Field | Type | Description |
|---|---|---|
| status | Boolean | Status (true/false) |
| errCode | String | Error code |
| msg | Message | |
| data | Object | Response data |
- Success response:
HTTP 1.1/ 200 OK
{"status": true,"errCode": null,"msg": "修改虚拟墙成功!","data": null}
- Failure response:
HTTP 1.1/ 200 OK
{"status": false,"errCode": null,"msg": "修改虚拟墙失败!","data": null}
5.6.4 Delete a Virtual Wall
Endpoint:
GET /api/vm/delete
Parameters:
| Field | Type | Description |
|---|---|---|
| id | Number | Point ID. Required. |
Response fields:
| Field | Type | Description |
|---|---|---|
| status | Boolean | Status (true/false) |
| errCode | String | Error code |
| msg | Message | |
| data | Object | Response data |
- Success response:
HTTP 1.1/ 200 OK
{"status": true,"errCode": null,"msg": "删除虚拟墙成功!","data": null}
- Failure response:
HTTP 1.1/ 200 OK
{"status": false,"errCode": null,"msg": "删除虚拟墙失败!","data": null}
5.7 Bag Data Management
5.7.1 Get the List of Mapping Bags
Endpoint:
GET /api/bag/map/create/get
Response fields:
| Field | Type | Description |
|---|---|---|
| status | Boolean | Status (true/false) |
| errCode | String | Error code |
| msg | Message | |
| data | Object | Response data |
- Success response:
HTTP 1.1/ 200 OK
{"status": true,"errCode": null,"msg": "获取bag包列表成功!","data": null}
- Failure response:
HTTP 1.1/ 200 OK
{"status": false,"errCode": null,"msg": "获取bag包列表失败!","data": null}
5.7.2 Delete a Bag
Endpoint:
GET /api/bag/map/create/delete
Parameters:
| Field | Type | Description |
|---|---|---|
| bagName | String | Bag name. Required. |
Response fields:
| Field | Type | Description |
|---|---|---|
| status | Boolean | Status (true/false) |
| errCode | String | Error code |
| msg | Message | |
| data | Object | Response data |
- Success response:
HTTP 1.1/ 200 OK
{"status": true,"errCode": null,"msg": "删除建图bag包成功!","data": null}
- Failure response:
HTTP 1.1/ 200 OK
{"status": false,"errCode": null,"msg": "删除建图bag包失败!","data": null}
5.8 System Configuration
5.8.1 Get the System Configuration
Endpoint:
GET /admin/config/get
Response fields:
| Field | Type | Description |
|---|---|---|
| status | Boolean | Status |
| errCode | String | Error code |
| msg | Message | |
| data | Object | Response data |
- Success response:
HTTP 1.1/ 200 OK
{"status": true,"errCode": null,"msg": "查询配置成功!","data": null}
- Failure response:
HTTP 1.1/ 200 OK
{"status": false,"errCode": null,"msg": "查询配置失败!","data": null}
5.8.2 Get the Current Language Setting
Endpoint:
GET /admin/config/getLocale
Response fields:
| Field | Type | Description |
|---|---|---|
| status | Boolean | Status |
| errCode | String | Error code |
| msg | Message | |
| data | Object | Response data |
- Success response:
HTTP 1.1/ 200 OK
{"status": true,"errCode": null,"msg": "","data": null}
- Failure response:
HTTP 1.1/ 200 OK
{"status": false,"errCode": null,"msg": "","data": null}
5.8.3 Change the System Language
Endpoint:
GET /admin/config/changeLocale
Parameters:
| Field | Type | Description |
|---|---|---|
| locale | String | Language (zh: Chinese, en: English). Required. |
Response fields:
| Field | Type | Description |
|---|---|---|
| status | Boolean | Status |
| errCode | String | Error code |
| msg | Message | |
| data | Object | Response data |
- Success response:
HTTP 1.1/ 200 OK
{"status": true,"errCode": null,"msg": "","data": null}
- Failure response:
HTTP 1.1/ 200 OK
{"status": false,"errCode": null,"msg": "","data": null}
5.8.4 Modify General Settings
Endpoint:
POST /admin/config/common/update
Parameters:
| Field | Type | Description |
|---|---|---|
| navSys | Number | Navigation type. Required. |
| chassisType | Chassis type (RANGER-DELTA: 1, RANGER-AIR: 2). Required. | |
| locale | String | Language (zh: Chinese, en: English). Required. |
Response fields:
| Field | Type | Description |
|---|---|---|
| status | Boolean | Status |
| errCode | String | Error code |
| msg | Message | |
| data | Object | Response data |
- Success response:
HTTP 1.1/ 200 OK
{"status": true,"errCode": null,"msg": "修改配置成功!","data": null}
- Failure response:
HTTP 1.1/ 200 OK
{"status": false,"errCode": null,"msg": "修改配置失败!","data": null}
5.8.5 Modify Battery Thresholds
Endpoint:
POST /admin/config/battery/update
Parameters:
| Field | Type | Description |
|---|---|---|
| enable | Boolean | Enable or disable. Required. |
| chargePct | Number | Charging threshold. Required. |
| alarmPct | Alarm threshold. Required. | |
| fullPct | Full-charge threshold. Required. | |
| separateSpeed | Undocking speed (m/s). Required. | |
| separateTime | Undocking time (s). Required. |
Response fields:
| Field | Type | Description |
|---|---|---|
| status | Boolean | Status |
| errCode | String | Error code |
| msg | Message | |
| data | Object | Response data |
- Success response:
HTTP 1.1/ 200 OK
{"status": true,"errCode": null,"msg": "修改配置成功!","data": null}
- Failure response:
HTTP 1.1/ 200 OK
{"status": false,"errCode": null,"msg": "修改配置失败!","data": null}
5.8.6 Modify Navigation Parameters
Endpoint:
POST /admin/config/nav/update
Parameters:
| Field | Type | Description |
|---|---|---|
| maxVelX | Number | Maximum navigation speed (m/s). Required. |
Response fields:
| Field | Type | Description |
|---|---|---|
| status | Boolean | Status |
| errCode | String | Error code |
| msg | Message | |
| data | Object | Response data |
- Success response:
HTTP 1.1/ 200 OK
{"status": true,"errCode": null,"msg": "修改配置成功!","data": null}
- Failure response:
HTTP 1.1/ 200 OK
{"status": false,"errCode": null,"msg": "修改配置失败!","data": null}
5.9 Administrator and Network Management
5.9.1 Change the Administrator Password
Endpoint:
GET /admin/update/pwd
Parameters:
| Field | Type | Description |
|---|---|---|
| username | String | Username. Required. |
| password | Password. Required. |
Response fields:
| Field | Type | Description |
|---|---|---|
| status | Boolean | Status |
| errCode | String | Error code |
| msg | Message | |
| data | Object | Response data |
- Success response:
HTTP 1.1/ 200 OK
{"status": true,"errCode": null,"msg": "用户登陆成功!","data": null}
- Failure response:
HTTP 1.1/ 200 OK
{"status": false,"errCode": null,"msg": "用户登陆失败!","data": null}
5.9.2 Get the System Operation Log
Endpoint:
GET /admin/oper/log/get
Parameters:
| Field | Type | Description |
|---|---|---|
| startTime | String | Start time, for example 2025-11-26 09:40:10. Optional. |
| endTime | End time. Optional. | |
| currentPage | Number | Current page. Required. |
| pageSize | Number of entries per page. Required. |
Response fields:
| Field | Type | Description |
|---|---|---|
| status | Boolean | Status |
| errCode | String | Error code |
| msg | Message | |
| data | Object | Response data |
- Success response:
HTTP 1.1/ 200 OK
{"status": true,"errCode": null,"msg": "查询操作日志成功!","data": null}
- Failure response:
HTTP 1.1/ 200 OK
{"status": false,"errCode": null,"msg": "查询操作日志失败!","data": null}
5.9.3 Get Available Wi-Fi Networks
Endpoint:
GET /admin/wifi/get
Response fields:
| Field | Type | Description |
|---|---|---|
| status | Boolean | Status |
| errCode | String | Error code |
| msg | Message | |
| data | Object | Response data |
- Success response:
HTTP 1.1/ 200 OK
{"status": true,"errCode": null,"msg": "查询WIFI列表成功!","data": null}
- Failure response:
HTTP 1.1/ 200 OK
{"status": false,"errCode": null,"msg": "查询WIFI列表失败!","data": null}\
5.9.4 Connect to a Wi-Fi Network
Endpoint:
POST /admin/wifi/connect
Parameters:
| Field | Type | Description |
|---|---|---|
| ssid | String | Wi-Fi name. Required. |
| password | Password. Leave empty if the network has no password. Optional. |
Response fields:
| Field | Type | Description |
|---|---|---|
| status | Boolean | Status |
| errCode | String | Error code |
| msg | Message | |
| data | Object | Response data |
- Success response:
HTTP 1.1/ 200 OK
{"status": true,"errCode": null,"msg": "WIFI连接成功!","data": null}
- Failure response:
HTTP 1.1/ 200 OK
{"status": false,"errCode": null,"msg": "WIFI连接失败!","data": null}
6. Getting Navigation Information on the Developer Expansion Module over SSH (WebSocket)
The base address for real-time navigation WebSocket streams is:
ws://10.7.5.99:6060
There are 11 continuous push channels.
6.1 Preparation: Create a Common WebSocket Monitoring Function
After logging in to the Developer Expansion Module over SSH, run:
ws_watch()
{
python3 - "$1" <<'PY'
import json
import sys
import websocket
url = sys.argv[1]
print("Connecting:", url)
ws = websocket.create_connection(url, timeout=5)
ws.settimeout(None)
print("WebSocket connected. Press Ctrl+C to exit.")
try:
while True:
raw = ws.recv()
if raw in (None, "", b""):
print("Connection closed.")
break
if isinstance(raw, bytes):
raw = raw.decode("utf-8", errors="replace")
try:
data = json.loads(raw)
print(json.dumps(data, ensure_ascii=False, indent=2))
except json.JSONDecodeError:
print(raw)
except KeyboardInterrupt:
print("\nMonitoring stopped.")
finally:
ws.close()
PY
}
6.2 Real-Time Pose
Endpoint:
ws://10.7.5.99:6060/real_time_pose
Pushes real-time pose information at 1 Hz. The pose coordinate frame is shown in the figure below: the x-axis points horizontally to the right, and the angle increases clockwise from 0 to 360 degrees.
Response fields:
| Field | Type | Description |
|---|---|---|
| status | Boolean | Status (true/false) |
| errCode | String | Error code |
| msg | Message | |
| data | Object | Response data |
- Success response:
{"status":true,"errCode":null,"msg":null,"data": {"angle": 360.0, // Heading angle "position": {"x": 361, // Grid coordinate x"y": 304 // Grid coordinate y}}}
6.3 Real-Time Map PNG
Pushes the real-time map image at 1 Hz during mapping.
Endpoint:
ws://10.7.5.99:6060/real_time_map_png
Response fields:
| Field | Type | Description |
|---|---|---|
| status | Boolean | Status (true/false) |
| errCode | String | Error code |
| msg | Message | |
| data | Object | Response data |
- Success response:
{"status":true,"errCode":null,"msg":null,"data": {"width": 100, // Image width "height": 200, // Image height"format": "png", // Image format"resolution": 0.05, // Resolution; 0.05 means one pixel represents 5 cm"data": "iVBORw0KGgoAAAANSUhEUgAABOcAAAIcCAYAAAC958..." // Base64-encoded image. To display it in a web page, add the prefix data:image/png;base64,}}
6.4 Real-Time Working Status
Endpoint:
ws://10.7.5.99:6060/real_time_work_status
Response fields:
| Field | Type | Description |
|---|---|---|
| status | Boolean | Status (true/false) |
| errCode | String | Error code |
| msg | Message | |
| data | Object | Response data |
- Success response:
{"status":true,"errCode":null,"msg":null,"data":{"mapName":"0303", // Current map"floorNum":1, // Current floor"robotStatus":0, // Robot status: 1 idle, 2 mapping, 3 navigating"robotStatusText":null, // Robot status description"robotMapStatus":0, // Robot mapping status: 1 idle, 2 creating"robotMapStatusText":null,"robotNavActionStatus":1, // Robot navigation action status: 1 idle, 2 started, 3 stopped, 4 paused, 5 resumed"robotNavActionStatusText":"空闲","robotNavDetailStatus":204, // Robot navigation detail status"robotNavDetailStatusText":"到达目标点","point": { // Present only after the target point is reached; use it for application logic"sn": "",}}}
Navigation detail status codes:
100 Idle
101 Starting navigation
102 Navigation started
103 Navigation failed to start
104 Stopping navigation
105 Navigation stopped
106 Navigation failed to stop
107 Loading map
108 Map loaded
109 Map failed to load
110 Initializing
111 Initialization succeeded
112 Initialization failed
113 Localizing
114 Localization succeeded
115 Localization failed
116 Localization lost
200 Navigating
201 Navigation failed
202 Path generation failed
210 Obstacle ahead
211 Avoiding obstacle
220 Target point unreachable
221 Target point reached
222 Target point not reached
223 Fine-tuning orientation
300 Docking
301 Charging
6.5 Front LiDAR
Pushes the front LiDAR point cloud at 1 Hz.
Endpoint:
ws://10.7.5.99:6060/real_time_laser/front
Response fields:
| Field | Type | Description |
|---|---|---|
| status | Boolean | Status (true/false) |
| errCode | String | Error code |
| msg | Message | |
| data | Object | Response data |
- Success response:
{"status":true,"errCode":null,"msg":null,"data": [[660,538],[660,538],[659,538],[660,538], ... // Grid coordinates of the LiDAR point cloud]}
6.6 Rear LiDAR
Pushes the rear LiDAR point cloud at 1 Hz.
Endpoint:
ws://10.7.5.99:6060/real_time_laser/back
Response fields:
| Field | Type | Description |
|---|---|---|
| status | Boolean | Status (true/false) |
| errCode | String | Error code |
| msg | Message | |
| data | Object | Response data |
- Success response:
{"status":true,"errCode":null,"msg":null,"data": [[660,538],[660,538],[659,538],[660,538], ... // Grid coordinates of the LiDAR point cloud]}
6.7 Camera or Depth Point Cloud
Pushes the front camera point cloud at 1 Hz.
Endpoint:
ws://10.7.5.99:6060/real_time_laser/camera
Response fields:
| Field | Type | Description |
|---|---|---|
| status | Boolean | Status (true/false) |
| errCode | String | Error code |
| msg | Message | |
| data | Object | Response data |
- Success response:
{"status":true,"errCode":null,"msg":null,"data": [[660,538],[660,538],[659,538],[660,538], ... // Grid coordinates of the LiDAR point cloud]}
6.8 System Resource Usage
Pushes real-time system usage at 1 Hz.
Endpoint:
ws://10.7.5.99:6060/real_time/os_usage
Response fields:
| Field | Type | Description |
|---|---|---|
| status | Boolean | Status (true/false) |
| errCode | String | Error code |
| msg | Message | |
| data | Object | Response data |
- Success response:
{"status":true,"errCode":null,"msg":null,"data": {"cpu": 55.4, // CPU usage"disk": 83.5, // Disk usage"mem": 15.1, // Memory usage"uptime": 24633 // Uptime (s)}}
6.9 Mobile Base System Status
Pushes mobile base status feedback at 1 Hz.
Endpoint:
ws://10.7.5.99:6060/chassis/sys_status
Response fields:
| Field | Type | Description |
|---|---|---|
| status | Boolean | Status (true/false) |
| errCode | String | Error code |
| msg | Message | |
| data | Object | Response data |
- Success response:
{"status":true,"errCode":null,"msg":null,"data": {"ctrlMode": {"text": "CAN模式", "value": 1}, // Control mode: 0 standby, 1 CAN, 2 serial control, 3 remote control"status": {"text": "正常", "value": 0}, // Mobile base status: 0 normal, 1 emergency stop pressed, 2 fault"vol": 49.7 // Voltage (V)}}
6.10 Mobile Base Motion Status
Pushes mobile base motion feedback at 1 Hz.
Endpoint:
ws://10.7.5.99:6060/chassis/motion
Response fields:
| Field | Type | Description |
|---|---|---|
| status | Boolean | Status (true/false) |
| errCode | String | Error code |
| msg | Message | |
| data | Object | Response data |
- Success response:
{"status":true,"errCode":null,"msg":null,"data": {"angular": 0.0, // Angular velocity (rad/s)"linear": 0.0 // Linear velocity (m/s)}}
6.11 Full BMS Status
Pushes BMS status at 1 Hz.
Endpoint:
ws://10.7.5.99:6060/chassis/bms_all
Response fields:
| Field | Type | Description |
|---|---|---|
| status | Boolean | Status (true/false) |
| errCode | String | Error code |
| msg | Message | |
| data | Object | Response data |
- Success response:
{"status":true,"errCode":null,"msg":null,"data": {"current": -0.5, // Current (A)"soc": 74, // State of charge (%)"soh": 100, // Battery state of health (%)"temperature": 27.4, // Battery temperature"vol": 49.7 // Voltage (V)}}
6.12 Mileage
Pushes mileage information at 1 Hz.
Endpoint:
ws://10.7.5.99:6060/chassis/distance
Response fields:
| Field | Type | Description |
|---|---|---|
| status | Boolean | Status (true/false) |
| errCode | String | Error code |
| msg | Message | |
| data | Object | Response data |
- Success response:
{"status":true,"errCode":null,"msg":null,"data": {"current": 230, // Distance traveled this session (m)"total": 11401 // Total distance traveled (m)}}
7. Example: A Complete SSH Navigation Workflow
7.1 Step 1: Log In to the Developer Expansion Module
ssh guest@10.192.1.4
7.2 Step 2: Check the Network
ip route get 10.7.5.99
sudo ip addr add 10.7.5.10/24 dev enp2s0+
ip route get 10.7.5.99
ping -c 4 10.7.5.99
curl -v --connect-timeout 3 \
http://10.7.5.99/devdoc/index.html \
-o /dev/null
7.3 Step 3: Log In as Administrator and Get a Token
read -rsp "Navigation board password: " NAV_PASSWORD
echo
LOGIN_RESULT=$(
curl -sS -X POST \
'http://10.7.5.99/admin/login' \
-H 'Content-Type: application/json' \
-d "$(jq -nc \
--arg username admin \
--arg password "$NAV_PASSWORD" \
'{username:$username,password:$password}')"
)
export NAV_TOKEN="$(
echo "$LOGIN_RESULT" |
jq -r '.data.accessToken // empty'
)"
echo "$LOGIN_RESULT" | jq
7.4 Step 4: Create a Map
Map creation workflow
- Log in and get a token
- ↓Start map creation
- ↓Drive the robot remotely to scan the environment
- ↓Stop and save the map
- ↓Query the map list
- ↓Get the map image
7.5 Step 5: Switch Maps
The navigation workflow is as follows:
- Log in and get a token
- ↓Switch maps
- ↓Set the initial pose
- ↓Query or create target points
- ↓Start point navigation or route patrol
- ↓Monitor real-time pose and navigation status
- ↓Reach the target or stop the task
curl -sS -G \
-H "Authorization: Bearer $NAV_TOKEN" \
'http://10.7.5.99/api/nav/switch/map' \
--data-urlencode 'mapName=0716' | jq
7.6 Step 6: Set the Initial Pose
curl -sS -G \
-H "Authorization: Bearer $NAV_TOKEN" \
'http://10.7.5.99/api/nav/init/pose' \
--data-urlencode 'x=361' \
--data-urlencode 'y=304' \
--data-urlencode 'angle=0' | jq
7.7 Step 7: Query Points
curl -sS -G \
-H "Authorization: Bearer $NAV_TOKEN" \
'http://10.7.5.99/api/point/get/by/mapname' \
--data-urlencode 'mapName=0716' | jq
7.8 Step 8: Start Real-Time Status Monitoring
The real-time status workflow is as follows:
- Connect to the corresponding WebSocket address
- ↓Wait for continuous pushes from the server
- ↓Parse the JSON or sensor data
- ↓Update the host application, web page, or RViz display
Open a second terminal on your PC and log in again:
ssh guest@10.192.1.4
Run:
python3 - <<'PY'
import websocket
url = "ws://10.7.5.99:6060/real_time_work_status"
ws = websocket.create_connection(url, timeout=5)
try:
while True:
print(ws.recv())
except KeyboardInterrupt:
pass
finally:
ws.close()
PY
7.9 Step 9: Navigate by Point ID
Run the following in the first SSH terminal:
curl -sS -G \
-H "Authorization: Bearer $NAV_TOKEN" \
'http://10.7.5.99/api/nav/task/point/id' \
--data-urlencode 'id=19' \
--data-urlencode 'followRoadNet=true' \
--data-urlencode 'forceChargingStart=false' | jq
7.10 Step 10: Stop Navigation
curl -sS \
-H "Authorization: Bearer $NAV_TOKEN" \
'http://10.7.5.99/api/nav/task/stop' | jq
Every API call must check all of the following:
HTTP status code
JSON.status
JSON.msg
HTTP 200only means the server received the request. Onlystatus=truemeans the API accepted the operation.




