Navigation Feature User Guide
This document helps you quickly use the Navigation feature, including voice dialog, device selection, navigation item setup, and waypoint configuration/execution.
1. Quick Start
-
1
Start navigation and complete localization Tablet-side Operation Guide · Map Tap LocalizationStart navigation first, then complete localization (mandatory). You can use 2D Pose Estimate on the tablet, or tap Locate on the APP live map and pick a point.If localization fails (LiDAR point cloud not aligned with map walls), tour execution will fail.
-
2
Select voice devicesOn this page, first complete microphone selection (wired or wireless) and Switch Speaker.After plugging/unplugging speaker/microphone or after reboot, click Switch Speaker again.
-
3
Start voice dialog (optional)Click Voice Dialog, then configure wake words in "Voice Settings".If you hear a response after speaking the wake word, voice is active. It enters standby after long inactivity; speak wake word again.
-
4
Run navigationCreate or select a navigation item, then click Execute.Before execution, ensure no other tour is running and tablet navigation is started and localized.
Theme Switch
The top bar provides a Theme Switch button. Click to choose themes (such as Warm Apricot or Sky Blue).
Top Settings (Service Address & Feature Activation)
- Click the top Settings button to configure robot service address (IP/domain).
- On first entry, the system can recommend a default IP based on the current access address and apply it with a countdown.
- You can enter activation codes for features (Dexterous Hand / Interactive Face / Navigation); changes take effect after page reload.
- You can also use the Android XFYRobot app for Bluetooth network setup. After setup succeeds, it writes the correct IP for the front end and checks that the phone and the robot are on the same LAN. See XFYRobot-APP Network Setup Guide.
2. Robot Information Module (New)
- Real-time Push: A "Robot Information" module is shown at the top and updates robot status in real time.
- Battery Display: Battery progress bar and percentage are shown for quick power checks.
- Low Battery Alert: When battery is below 20%, the bar turns red and an alert sound is played.
- Parameter Details: Click Parameter Details to view voltage, current, temperature, etc.
- Network Status Linkage: After starting voice dialog, real-time speed and latency appear near the module title.
Floating Sidebar (New)
The navigation home page has a floating button on each side. They stay available on other pages, for quick movement and for stopping a running feature.
- Left · Quick move: opens Movement Control. Press and hold to move; release to stop. Forward, back, turn left, and turn right are available. The center Stop button stops immediately.
- Right · Quick stop: opens the Stop List. Stop one feature without going back to its page:
- Stop Dialog: stop voice dialog.
- Stop Tour: stop all tour tasks and the navigation lidar.
- Stop AI: stop AI Realtime Voice.
- Stop Face: stop face recognition.
- Stop Interaction: stop dynamic interaction.
- Stop Action: stop the robot action immediately. After that, tap Release Action.
3. Basic Applications
- Upper-body choreography: Enter motion choreography system.
- Check IP: Detect device IP.
- Standard face: Enter standard face recognition.
- Interactive face: Enter dynamic face interaction mode (see "Other Feature Entrances").
- AI Realtime Voice: Enter the realtime voice assistant (independent from "Voice Dialog" below). See the section below and the detailed guide AI Realtime Voice Guide.
AI Realtime Voice
On the navigation page, in Basic Applications, tap AI Realtime Voice to open the assistant. It is independent from "Voice Dialog" below: faster response, barge-in, and multilingual mixed conversation. Qwen and GPT can stream the camera and understand the scene ahead. Full setup and API Key registration: AI Realtime Voice Guide.
- Model: At the top of the page, switch among Alibaba Cloud (Qwen), OpenAI (GPT), and Doubao. Use Qwen or Doubao in China, and OpenAI outside China. Qwen and GPT keys and knowledge bases must match the selected model. Doubao keys, the search key, and voice are in Doubao in the guide.
- Configure: Tap Settings, enter a valid API Key, choose voice and role prompt, then save (see the guide’s registration sections if you do not have a key yet). Doubao can also take a search key.
- Camera (optional): For Qwen and GPT, turn on the Camera switch at the top of the page to stream the front view.
- Start / Stop: Tap Start; when status shows Running, speak to the robot. Tap Stop when finished.
4. Voice Dialog
1) Voice Dialog Controls
- Click Voice Dialog: start robot voice dialog.
- Click Stop Dialog: stop voice dialog.
- Click Interrupt Dialog: interrupt current dialog.
- Click Enter Standby: put AI into standby; dynamic face interaction starts detection in this state.
- Click Activate Dialog: reactivate dialog.
2) Voice Settings and Wake Word
- Click Voice Settings to configure wake words.
- Wake sensitivity: tap Normal or Sensitive, or edit the values below and save.
- Normal: fewer false wakes.
- Sensitive: wakes more easily, and may false-trigger in a noisy room.
- Similarity threshold: higher is stricter.
- Edit-distance tolerance: higher makes a trigger easier.
- Enable AEC before interrupt and Strict gating while speaking keep the robot from interrupting itself.
- Min human voice: if the room is quiet, try 60 ms.
- After voice dialog starts, speak the configured wake word to activate dialog.
- After long inactivity, the system enters standby and must be reactivated by wake word.
3) Notes for Voice Dialog
- Click View Logs to enter voice log details page (supports real-time refresh and scrolling).
- The voice log page filters network-monitor lines and limits total lines to avoid lag during long sessions.
5. Device Selection (Microphone & Speaker)
- Click Wired Mic 1 / Wired Mic 2 / Wireless Mic to switch mic input. The selected mic shows a blue checkmark.
- Click Switch Speaker to switch output device.
- Wireless mic echo cancellation: after you switch to the wireless microphone (solid blue light), echo cancellation is used. The robot’s own voice will not interrupt the conversation. This also applies to AI Realtime Voice, and it is on by default at startup.
- The wireless-mic script starts after a short delay at boot. Automatic gain is disabled, so the microphone volume no longer rises by itself.
6. Map Management
1) Start Navigation / Stop Navigation (New)
- Click Start Navigation to launch navigation on desktop (same as double-clicking desktop shortcut).
- Click Stop Navigation to stop desktop navigation and stack.
- Click Create Map to enter online mapping with real-time point cloud and pose view.
- Click Switch Lidar and pick the radar for this robot: 360S for robots built after April 2026, 360 for earlier ones. If the choice is wrong, opening the map shows no lidar data and localization does not work. After switching, restart mapping or navigation before it takes effect.
Create Map Page (enter via "Create Map")
- Opens full-screen mapping view with real-time map, point cloud and pose changes.
- Supports drag to pan and two-finger zoom for detailed inspection while scanning on site.
- The top bar provides Save Map; no need to exit before saving.
- Complete full-area scan and verify wall closure before saving.
Edit Map Page (enter via "Edit Map")
- Pan mode: browse map without modifying grid data.
- Erase mode: clean noise and temporary obstacles; drag for continuous erase.
- Draw obstacle mode: add fixed obstacle boundaries (use cautiously).
- Cursor/brush size: adjustable in erase mode (pixels); test small area first.
- Undo / Reload / Save: undo previous edit, reload original map, and save current edits.
- Crop function: currently disabled; do not rely on it for formal editing.
2) Save Map
- Click Save Map and confirm to save current map.
- Map results are saved to system storage. Always save map first after mapping is complete.
3) Backup Map
- Click Backup Map to open the backup dialog.
- Enter a backup name (must be unique).
- Click "Start Backup" in top-right. The system backs up:
- Map files (map directory)
- Config files (config directory)
- Path files (path directory)
- Point cloud files (PCD directory)
- After completion, all backups (name and creation time) are visible in backup list.
4) Import Map
- Click Import Map to open import dialog.
- Select a backup record in the list (or click "Select Backup").
- After confirmation, click "Start Import" in the top-right corner.
- Confirm prompt; all map-related data of selected backup will be restored automatically.
- Current map/config/path/point-cloud data will be replaced by backup content.
5) Delete Backup
- In backup dialog, click the Delete button at the right side of a backup record.
- Deletion is irreversible. Proceed with caution.
7. Navigation Items
1) Add Navigation Item
- Click + Add Navigation Item. Buttons such as Add Tour Item, File Upload, File Selection, and Copy now show Chinese and English together.
- Set Chinese Name, English Name (letters only), and trigger keywords.
- Optionally enable the item and configure Loop Navigation (see next section).
- After saving, the item is created and enabled by default.
2) Loop Navigation
In the Add / Edit Navigation Item dialog, turn on Loop Navigation to repeat the full route after all waypoints are completed (then restart from the beginning).
- Loop Navigation switch: when off, the tour runs once and ends; the list summary shows “No Loop”.
- Loop Count: editable only when Loop Navigation is on. Meaning:
- 0: no repeat (one round only).
- 1: run once more (2 rounds in total).
- N: loop N more times (N+1 rounds in total).
- Turning Loop Navigation off and saving resets Loop Count to 0.
- The navigation item list shows a loop summary such as “Loop 2 time(s)” or “No Loop” for quick checking.
3) Trigger Keywords
When voice dialog is active, speaking the configured keyword in conversation triggers auto-start of that navigation item (navigation must be started and localized on the computer first). The earlier case where a spoken keyword did not start the tour has been fixed.
AI Realtime Voice can start a tour as well. With realtime voice running and navigation localized, say the tour name or keyword. You do not need to switch back to standard voice dialog. See AI Realtime Voice Guide.
4) Edit / Delete / Execute
- After expanding an item, you can edit or delete it.
- Click Execute to run this item.
- Before execution, click Start Navigation in Map module and confirm localization success.
- Also confirm no other item is running and tablet navigation is started/localized.
- During execution, use Pause and Resume for control.
- Stop on that item stops only this tour and does not close the map. The old Mute / Unmute control has been removed.
- Stop All Navigation at the top stops the running tours and closes the map / navigation. Use it when the whole session should end.
8. Waypoints
1) Add and View
After expanding a navigation item, you can add multiple waypoints (single-point or multi-point; make sure map is started and localization succeeds first).
Recommended method: Move robot to target waypoint and click Get Current Position in waypoint editor to auto-fill X/Y/angle.
- Move robot to target position and confirm facing direction.
- Open waypoint edit dialog.
- Click Get Current Position to auto-fill coordinates and angle.
- Review and save.
Alternative method: Read coordinates via Publish Point in navigation view and fill manually.
- Click Publish Point on toolbar.
- Move mouse to target point on map (no click required).
- Read X/Y in lower-left coordinate area and fill manually; enter angle according to on-site pose.
2) Parameter Description
- X / Y / Angle: required. Recommended to auto-fill via "Get Current Position", or manually via Publish Point. Angle range: -180 to 180.
- Wait Time (sec): optional. Robot wait duration after arrival; should match audio/action duration if possible.
- Audio File: upload MP3 for auto-play on arrival; if no sound, click "Switch Speaker".
- Video File: upload one video file; saved as waypoint video resource and played by selected mode.
- Video Play Mode: supports "None / Local / Big Screen / Both". If unset after upload, default switches to "Both".
- Video Title: optional title shown on big screen.
- Action File: choose action to execute on arrival; finger timelines can be configured in choreography tools.
- Description: text note for this waypoint.
3) Edit, Insert, and Delete
Each waypoint card provides these actions:
- Edit: edit all waypoint parameters (coordinates, angle, wait time, audio, action, description).
- Insert: duplicate current waypoint and insert above or below.
- Click upper-arrow insert icon to insert a duplicated waypoint above.
- Click lower-arrow insert icon to insert a duplicated waypoint below.
- Duplicated waypoint copies X/Y/angle, wait time, and description. Wait time resets to 0; audio/video/action are emptied; video mode resets to "None".
- After insertion, a blue-dashed preview card appears with Cancel and Confirm.
- Click Confirm to save insertion to backend.
- Click Cancel to cancel insertion.
- Delete: delete this waypoint (with confirmation).
9. Live Navigation Map (New)
- The page bottom provides a Live Navigation Map module to view status, progress, route, point cloud, and robot pose.
- When no navigation is running, all waypoints are shown; different items use different colors and sequence labels.
- Click map to enter full-screen mode; supports rotation, drag, and pinch zoom.
- In full-screen mode, you can execute, pause, resume, or stop navigation directly.
- The full-screen mapping page also supports real-time mapping preview and direct map saving.
- Supports Map Tap Localization (see below), so you do not need to use tablet 2D Pose Estimate every time.
Map Tap Localization (New)
When navigation is running but localization is not aligned (or after the robot has been moved), you can tap the robot’s approximate position on the APP / big-screen live map to start relocalization. The system estimates orientation automatically from the tap; you do not need to enter yaw manually.
- Confirm you have clicked Start Navigation, and the map / LiDAR point cloud is refreshing.
- Open the live map full-screen page (or the big-screen “Map Navigation” module).
- Tap Locate in the top-right; the button becomes Tap map to locate and enters pick mode (cursor becomes a crosshair).
- Tap on the map near the robot’s actual current position (stay close to the real spot; do not tap outside walls or in another room).
- After “Localizing…”, a success toast such as “Localization requested” appears and pick mode exits; check whether the point cloud aligns with the walls.
- If still misaligned, tap Locate again and pick a more accurate point, or move the robot a little and retry.
- You must Start Navigation before map tap localization; the mapping page does not provide this button.
- Tap near the robot’s real position; a large offset may cause failure or wrong alignment.
- Success means the colored LiDAR point cloud roughly overlaps map walls, and the red arrow matches the robot heading.
- You can still use tablet RViz 2D Pose Estimate (see “Tablet-side User Guide” below); either method is fine.
After successful localization, the LiDAR point cloud should align with map walls. See Figure X-4 Live navigation map above for reference.
10. FAQ
- Execution failed: start navigation and complete localization first (APP Map Tap Localization or tablet 2D Pose Estimate); ensure no other item is running.
- Map tap localization failed / still misaligned: confirm navigation is started; tap near the robot’s real position; move/rotate a little then tap again; for large errors use tablet 2D Pose Estimate.
- No voice response: confirm "Start Voice" was clicked; check mic selection and speaker switch; switch speaker again after replugging devices.
- No sound: click "Switch Speaker" and retry; confirm audio file exists and format is correct.
- Waypoint video not playing: check video file upload and ensure play mode is not "None"; for big-screen mode verify big-screen service status.
- Wake word invalid: in Voice Settings, check that wake words are enabled and the list is correct; speak the wake word again after standby. If it is hard to wake, switch to Sensitive. If it wakes by itself, switch back to Normal or raise the similarity threshold.
- The robot interrupts itself: switch to the wireless microphone and confirm echo cancellation is on (default at startup). In Voice Settings, turn on Enable AEC before interrupt.
- A spoken tour keyword does nothing: start navigation and finish localization first, and confirm the item is enabled and the keyword matches. For realtime-voice control, AI Realtime Voice must also be running.
Tablet-side User Guide
Feature 1 Start Mapping (scan and build scene map)
You must start mapping before first-time use. Click "Start Mapping" on tablet desktop, move robot, and the system scans/builds map in real time.
- Use regular locomotion control mode.
- Keep doors open while mapping (during navigation they may be open or closed).
- Prefer starting mapping/localization at places with three walls around.
- Watch screen in real time to avoid map drift (point cloud not overlapping walls indicates drift).
- Scan as complete as possible and ensure map boundary is closed.
- Keep map clean: remove movable obstacles and bystanders; operator should stand near wall and avoid random walking.
- Move slowly and uniformly; reduce repeated back-and-forth; prioritize major passable areas.
- The robot's initial position during mapping becomes default relocalization start point; power on/start near this point before tours.
- For noise and movable obstacles, erase with left mouse in "Edit Map" using MapEraserTool; use right mouse to add obstacles only when necessary.
- After mapping, do not close mapping page. Save map from app first, then close.
Feature 2 Save Map (migrated to APP side, refer to Save Map above)
After mapping, do not close scan window. Click "Save Map" in APP first, then close mapping page.
- After scene scanning is complete, do not close mapping page.
- Click "Save Map" in APP.
- Close mapping page only after successful save confirmation.
Feature 3 Edit Map (clean noise and movable obstacles)
After double-clicking "Edit Map" and entering the editor:
- Click Open Map and select target map.
Map path: robot/DaoLan/map/map (absolute path /home/ztx/robot/DaoLan/map/map).
- After loading, use MapEraserTool:
- Left click: erase noise and movable/incorrect obstacles (temporary objects, pedestrians).
- Right click: add obstacles only when needed.
- Keep fixed structures: do not delete fixed walls/columns.
- Shortcuts: Ctrl + + to enlarge brush, Ctrl + - to reduce; range 1~10 px.
- After editing, click Save All Files, then close after success prompt.
Feature 4 Start Navigation and Localize (required before every tour)
Before each tour, start navigation first (double-click “Start Navigation” on the tablet desktop, or tap Start Navigation in APP Map Management). Then complete localization so the LiDAR point cloud aligns with map walls, using either method below:
Method A: APP Map Tap Localization (recommended on site)
- Open the APP live navigation map full-screen page.
- Tap Locate → it becomes “Tap map to locate”.
- Tap the robot’s approximate current position on the map, wait for completion, and confirm the point cloud aligns with walls.
See 9. Map Tap Localization above.
Method B: Tablet RViz 2D Pose Estimate
After startup, move the robot in circles/paths to scan surroundings, and click 2D Pose Estimate multiple times until the point cloud aligns with map boundaries.
11. Other Feature Entrances
Besides navigation, the Basic Applications module also provides:
- Face Recognition: recognize registered persons and execute corresponding actions.
- Dynamic Face Interaction: when a person or stranger is detected, AI proactively speaks configured content (requires voice interaction enabled first).
- AI Realtime Voice: realtime voice assistant (API key / voice / role / camera streaming). See 3. Basic Applications · AI Realtime Voice above, and the full guide AI Realtime Voice Guide.
- AI Realtime Voice Guide — model switch, API key, voice, role, knowledge base, live assistant, start/stop.
- XFYRobot-APP Network Setup Guide — Android Bluetooth setup, same-LAN check, and automatic IP.
- Unitree G1 Robot Motion Choreography Quick Start Guide
- Fengyun Intelligent Control Face Recognition Quick Start Guide
- Dynamic Face Interaction Mode Quick Start Guide
Navigation Feature - Concise User Guide