Adil Shaikh

Projects

Fenswood volcano mission

A ROS 2 drone mission that flies a survey corridor, finds the volcano's hot zones with its camera and lands clear of them. I wrote the mission code for a University of Bristol group project in 2022.

Stack
ROS 2, ArduPilot SITL, MAVROS
Simulator
Gazebo in Docker
Team
Six members, University of Bristol, 2022
adil@workstation: ~
adil@workstation:~$ git clone https://github.com/AdilShaikh1/fenswood-volcano-mission
Cloning into 'fenswood-volcano-mission'...
adil@workstation:~$ ls fenswood-volcano-mission
CHANGELOG.md  LICENSE  NOTICE  README.md
docs  fenswood_volcano_template  tools
Split view of one simulated mission. Left, the Gazebo world with a chase camera on the drone as it climbs, flies the corridor and lands beside the yellow and red zones. Right, the drone's camera, which tilts down over the zones before landing.
One simulated mission at 4x speed. Watch the full run in real time (MP4, 2 min 40 s).

What it is

The mission is a simulated volcano survey at the Fenswood field site near Bristol. The drone takes off from a set point, climbs to 20 m and flies four waypoints through a corridor that avoids a no-fly zone. Over the survey area it tilts its camera down, finds the red hot zones by colour and moves clear of them. It then lands outside the red and yellow zones.

How it works

Three ROS 2 nodes run the mission. The state machine sends position, velocity and mode commands to ArduPilot through MAVROS. The image processor masks the red and yellow zones in each camera frame and publishes where they sit in the image. The failsafe node holds the operator mode (stand by, take off, land or rth) and publishes a status image.

The path planner builds the corridor waypoints with a visibility graph. The no-fly-zone and flight-region polygons are coordinates in its code. It writes them to a shapefile inside the container and reads that file back.

What I did

I wrote the mission code and planning for team 2's entry in the Group Project in Aerial Robotics at the University of Bristol in 2022. The team had six members. My part covers the state machine, failsafe, image processing, path planner, flight-zone shapefile, Dockerfiles and launch files.

The base and its tutorial come from Arthur Richards' Fenswood Volcano template, and the simulator images are the University of Bristol Flight Lab's Starling images.

Result

The mission runs again in simulation with ArduPilot SITL, MAVROS and Gazebo in Docker. In a working run, the controller log shows "Arming successful", four "Close enough to target" lines, the camera tilt command and "Landing point reached". The drone ends up on the ground outside the red and yellow zones. In the reference runs it landed and disarmed at about 51.42213, -2.66816.

Known limits

  • The mission ends at the landing. It doesn't take off again or fly the corridor home.
  • An rth command hands over to ArduPilot's return-to-launch, which flies a straight line home and may cross the no-fly zone.
  • If the drone is already more than 35 m from the survey area when a red zone first sits in the outer quarter of the camera image, it lands at once. It still lands outside the zones but close to the yellow edge.