
Overview
NANA (Near-ground Autonomous Navigator for Arboreous Terrain) is a low-cost rover that drives itself between GPS points on the forest floor. Five MEng students built it as their Group Design Project at the University of Southampton, for Professor Jadu Dash’s remote sensing group. I was the project manager.
The client’s long-term aim is to estimate forest biomass with a swarm of small ground robots. The first brief asked for a sensor interface for that purpose. After the first client meeting the scope changed to the platform itself, because the existing forest robots are large and expensive, and the cheap, low ones do not navigate off the trail.
A viewpoint 15 cm above the ground makes this hard. The camera sees only 1 to 3 m of terrain ahead. Tree crowns weaken the GPS signal. Grass looks like a wall when only distance is measured.

Platform
The base is a Lynxmotion A4WD3, a radio-controlled rover with an aluminium body, four 16 cm wheels and four brushed DC motors. The project turned it into an autonomous platform with two levels of control.
- Flight controller: a Matek H743-WING V3 with ArduPilot Rover. It fuses GPS, compass, inertial sensors and optical flow, and it follows waypoint missions.
- Companion computer: a Raspberry Pi 5. It runs the vision pipeline and steers the rover around obstacles.
- Depth camera: an Intel RealSense D455, chosen over the D435 for its 6 m range.
- Positioning: a u-blox ZED-F9P receiver with RTK corrections, a Matek RM3100 compass and a PMW3901 optical flow sensor.
- Low-level control: three Raspberry Pi Pico boards programmed in MicroPython.
- Telemetry: an ESP32-C3 as a Wi-Fi bridge to the ground station.

Operation modes
A three-way switch on the remote selects the mode, so the operator can take over at any moment. The rover also stops by itself when the radio signal is lost.
- RC only: the remote drives the motors directly. This still works when everything else fails.
- Aided: the remote drives through the flight controller, which scales acceleration and steering.
- Auto: the flight controller follows the mission. When the camera reports an obstacle closer than a set distance, the companion computer takes over in ArduPilot’s guided mode, finds a clear direction and hands back.

Low-level control
Two Picos control the front and the rear wheels, and a third acts as the central hub that reads the radio receiver and the flight controller. Each wheel has its own PID speed loop, fed by its quadrature encoder. A Hall-effect current sensor on each motor cuts the power before a stalled motor can damage its gearbox. A second motor driver was added so that all four wheels are driven individually. The code that does not depend on hardware is tested on a PC with PyTest.
Mechanical extension
This part was mine. The base chassis had no room for the new components, so I designed a second storey with the same footprint in Fusion 360. It is a frame of MakerBeam profiles with acrylic panels. It had to stay low, stay modular, keep rain out and keep every component within reach.
- Mating frame: the extension sits on its own rubber-lined frame and is held down by ten rubber O-rings over screw pegs. It lifts off without unscrewing the chassis.
- Hinged lid: the rear half of the top opens, so the LiPo battery can be isolated quickly in an emergency.
- Aluminium plates: the back and the front of the top are aluminium, so later parts can be mounted there. The power switch and the Wi-Fi antenna ended up on them.
- Shelves and mounts: two acrylic levels with mounting patterns hold the electronics. The depth camera, the optical flow sensor, the flight controller and the 5 m GPS antenna cable have 3D-printed mounts.


The rover went through three assemblies. The first served to collect images, the second moved the low-level electronics to the bottom level and shortened the cabling, and the third added the compass and better antennas. In the field the extension survived collisions, rollovers, rain and light snow, and the inside stayed mostly dry. Cracks did form in the acrylic top cover, which is the first thing to fix.

Positioning
This part was also mine. The ZED-F9P receiver reaches centimetre accuracy only with RTK corrections, and those normally need a base station. I used the Raspberry Pi as an NTRIP client instead: it fetches the corrections over a phone’s mobile data and passes them to the receiver, built on the pygnssutils library.
ArduPilot rejected the GPS signal until a healthy compass was connected. The first compass kept losing its calibration and showed a heading offset of 5° to 15°. A Matek CAN-L4-RM3100 replaced it and held a consistent heading.

| Static test | Result |
|---|---|
| Compass against a phone compass | within ±11° |
| 1 m distance measured with plain GPS | 2.99 m |
| 1 m distance measured with RTK float | 0.82 m |
| Radio range, line of sight | 150 m |
| Wi-Fi telemetry range | 32 m |
Navigation
The camera delivers depth and colour images at 848 × 480 pixels. They are aligned, reduced to 424 × 240, filtered and cut off at 4 m, where the depth error of the D455 is still below 2%. Two readings of the same scene are then combined.
- Geometry: the depth image is split into four vertical segments. Each becomes a point cloud, and RANSAC fits the ground plane. A direction with a slope above 30° counts as unsafe.
- Meaning: a random forest classifier with 250 trees labels every pixel as ground, vegetation, tree or other, from intensity, edge and texture features. Depth alone would treat soft grass as an obstacle.
The classifier was trained on 200 hand-labelled images: 116 collected with the rover around Southampton Common, and 84 from the Freiburg Forest dataset.

A window then slides across the image. A position is dropped when more than 5% of its terrain patch is tree or other, or when its ground plane is too steep. Among the positions that remain, the rover takes the one whose nearest obstacle is farthest away, and the column of that position becomes a turning angle within the camera’s 87° field of view. There is no long-term path planning, because the camera cannot see far enough for it.

- Dead end: when no direction is clear, the rover turns 45° to the right in place and looks again, then 90° to the left.
- Tall vegetation: when soft plants cover the camera, the rover falls back to waypoint following and relies on collision detection.
- Collision: when the commanded speed is above zero and the measured speed is not, the rover reverses.
One image takes less than 1 s on the Raspberry Pi 5. In fewer than 1% of cases it takes up to 1.2 s.
Field tests
The finished rover was tested on four terrains of rising difficulty, with two runs on each. Eight metrics were taken from the flight logs in MATLAB.
| Terrain | Planned path | Path deviation | Interventions per run |
|---|---|---|---|
| 1. Car park, asphalt | 147 m | 12 to 52% | 0 to 2 |
| 2. Grass field, few obstacles | 98 m | 78 to 87% | 0 to 2 |
| 3. Forest, sparse vegetation | 12 m | 420 to 429% | 1 to 3 |
| 4. Forest trail, dense vegetation | 14 m | 293 to 295% | 6 |


NANA finished the missions on all four terrains. On open ground it needed little or no help. In the forest it needed manual help in every run.

The logs point to three causes.
- GPS: under the tree crowns, with the antenna close to the ground, the receiver almost never reached an RTK fix.
- Steering: the low-level control pulled to the left while slowing down, which gave a jagged track.
- Mode switching: the handover between waypoint following and obstacle avoidance was slow, so the rover drove into gaps that were too narrow.
Outcome
The project turned a radio-controlled rover into an autonomous platform that is ready for forest missions on simple terrain. The client rated the result as satisfactory. After the project, the rover went on to be used by the Geography department for data collection and by Dr Danesh Tarapore’s group for further research.
The full system cost about £2,370. That places it among the cheapest 20% of the forest navigation platforms surveyed in Niu et al. (2023), the work this project follows up.
The report names the next steps: a stand-alone RTK base station, a custom board for the motor control, a faster segmentation, and a classifier that tells woody shrubs from soft plants.
Team
- Alp Ortakci: project management, GPS, compass, mechanical extension, performance metrics.
- Shen Yik Chua: low-level control, MAVLink.
- Zhi Syuen Lim: budget, optical flow, Wi-Fi bridge, power protection.
- Dávid Máté: depth camera, point clouds, image segmentation.
- Anh Hach: first firmware installation and first work on tall vegetation.
Everyone took part in the field tests and the research.