Skip to content

Commit 21135f0

Browse files
committed
Adding write-up for midair activation
1 parent 047a14e commit 21135f0

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

docs/65-howto-usecases/midair_activation.md

+12-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,15 @@ description: Midair activation of the MRS system
66

77
# Midair activation
88

9-
TODO
9+
For the cases of flight where you need the aircraft to either activate in the air or be flight-ready on the ground without having to perform a take-off procedure, you can use the midair activation feature. To use this, follow this procedure:
10+
11+
1. In your custom configuration file, set the controller and tracker you desire to be used when midair activation is called:
12+
```yaml
13+
midair_activation:
14+
after_activation:
15+
controller: "MpcController"
16+
tracker: "NullTracker"
17+
```
18+
2. Arm your UAV.
19+
3. Call midair activation using the service call `rosservice call /<vehicle_name>/uav_manager/midair_activation`. This service will request the underlying `hw_api` to switch to offboard and when the status is confirmed, it will switch to the controller and tracker specified in the configuration file.
20+
4. The UAV will now be engaged with the controller and tracker specified in the configuration file.

0 commit comments

Comments
 (0)