-
Notifications
You must be signed in to change notification settings - Fork 0
Navigation Service
Justus Dicker edited this page Jul 14, 2025
·
1 revision
The Navigation Service handles autonomous navigation by calculating movement directions and speeds based on LiDAR data.
Built with Java, Maven, and Spring Boot.
- Selects the furthest distance that is not in a restriction zone.
- Two calculation modes:
- Recalculate every 0.5s.
- Wait until obstacle is reached before recalculating.
Static
- Always points 180° from target direction.
- Prevents backtracking.
- Note: May prevent maze completion if backward angles are needed.
Dynamic
- Always points 180° from current heading.
- Prevents the robot from getting stuck in a loop.
| Action | Command |
|---|---|
| Run | sudo screen -S NavigationService mvn spring-boot:run |
| Test if running | `sudo screen -list |
| Stop | sudo screen -S NavigationService -X stuff "^C" |
Caution
Always start the MQTT Broker first.
Important
Always use the session name NavigationService.
Home | Modules | Components