10. When something does not work
| What you see | What to do |
|---|---|
no reports from 192.168.1.103 yet | the navigation host is not in the motion host’s network.toml, or another process holds UDP 43897: dr_services.sh status |
catkin_make: importlib_metadata has no attribute 'EntryPoints' | build with x30_host.sh build: it leaves ~/.local out (PYTHONNOUSERSITE=1) |
The first build fails: fast_lio/Pose6D.h: No such file or directory | FAST-LIO compiled before its messages: build again (they are there the second time); an archive of pack_sources.sh from 0.19 on makes it wait |
catkin_make: include could not find load file: config.cmake | Deep Robotics’ catkin on the perception host includes src/config.cmake: x30_host.sh build from 0.19 on makes an empty one (by hand: touch ~/x30_ws/src/config.cmake) |
The service fails at once: ROS_DISTRO: unbound variable | an x30_ros before 0.19 on the robot: pack the current one, unpack it clean and build (Section 4.4) |
this is the perception host (192.168.1.105), this is the navigation host | a command for the other host: hostname -I tells which one this shell is on (Deep Robotics names .106 ysc-perception); left without a role, x30_host.sh takes this host’s |
apt: Could not get lock, unattended-upgr | Ubuntu upgrades itself while the robot has internet: let it finish or take the internet away, never apt upgrade, and turn the timers off (Section 4.3) |
apt: Unable to locate package | the robot has no package lists: use the SSH proxy, not the file list |
| The service restarts again and again | journalctl -u x30-navigation: the watchdog names the node that stayed away; x30_host.sh check |
| Nodes of the other host unreachable | x30_host.sh check lists them; a name that does not resolve goes into /etc/hosts |
| The H12 does not connect | H12 on the robot’s Wi-Fi; host 192.168.1.106:9870; the token as in X30_TELEOP_TOKEN; the service running |
| The H12’s sticks do nothing | an APK from a release (it carries Skydroid’s SDK); Settings › Skydroid H12 sticks shows the link; mode REMOTE (key A) |
local.sh up: "/fe/package-lock.json": not found | be/ and fe/ of NETRA are empty (cloned without --recursive): git submodule update --init --recursive in Netra, then scripts/local.sh up again |
adb devices lists nothing | USB debugging on the H12 (Settings › About › tap Build number 7 times › Developer options); a data cable, not a charging one; allow the computer on the H12’s screen. Or copy the APK to the H12 and open it in the file manager |
| The robot offline in NETRA | from .106: curl http://<Mac>/healthz; another network or the macOS firewall (allow Docker); no NETRA token in the journal: the token is empty; 401 in scripts/local.sh logs api: the token is wrong |
| Inspections never reach NETRA | the license’s substation module; NETRA’s inspection points on the stops of the route patrolled; ~/x30/spool holds what is still waiting |
| Recorder “No status” in NETRA | the perception host’s service: systemctl status x30-perception on .105 |