Skip to content

Commit

Permalink
Fix code link.
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Lovett committed Mar 3, 2017
1 parent d8eff5b commit 34fa6b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/apis.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,13 @@ You can find a ready to run project in HelloDrone folder in the repository.

## How does Hello Drone work?
Hello Drone uses the RPC client to connect to the RPC server that is automatically started by the AirSim.
The RPC server routes all the commands to a class that implements [DroneControlBase](../AirLib/include/control/DroneControlBase.hpp).
The RPC server routes all the commands to a class that implements [DroneControlBase](https://github.com/Microsoft/AirSim/blob/master/AirLib/include/controllers/DroneControllerBase.hpp).
In essence, DroneControlBase defines our abstract interface for getting data from the quadrotor and sending back commands.
We currently have concrete implementation for DroneControlBase for MavLink based vehicles. The implementation for DJI drone
platforms, specifically Matrice, is in works.

## How to get images from drone?
Here's a sample code. For more information, please see [DroneControlBase](../AirLib/include/control/DroneControlBase.hpp) class.
Here's a sample code. For more information, please see [DroneControlBase](https://github.com/Microsoft/AirSim/blob/master/AirLib/include/controllers/DroneControllerBase.hpp) class.

```
int playWithImages()
Expand Down

0 comments on commit 34fa6b1

Please sign in to comment.