You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/piloting.rst
+53-1Lines changed: 53 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -68,7 +68,59 @@ To move Bebop's virtual camera, publish a message of type `geometry_msgs/Twist <
68
68
GPS Navigation
69
69
==============
70
70
71
-
.. warning:: Not fully integrated/tested yet.
71
+
Start Flight Plan
72
+
-----------------
73
+
74
+
An autonomous flight plan consists of a series of GPS waypoints along with Bebop velocities and camera angles encoded in an XML file.
75
+
76
+
Requirements that must be met before an autonomous flight can start:
77
+
78
+
* Bebop is calibrated
79
+
* Bebop is in outdoor mode
80
+
* Bebop has fixed its GPS
81
+
82
+
To start an autonomous flight plan, publish a message of type `std_msgs/String <http://docs.ros.org/api/std_msgs/html/msg/String.html>`_ to `autoflight/start` topic. The ``data`` field should contain the name of the flight plan to execute, which is already stored on-board Bebop.
83
+
84
+
.. note:: If an empty string is published, then the default 'flightplan.mavlink' is used.
85
+
86
+
.. warning:: If not already flying, Bebop will attempt to take off upon starting a flight plan.
87
+
88
+
The `Flight Plan App <https://play.google.com/store/apps/details?id=com.parrot.freeflight3>`_ allows easy construction of flight plans and saves them on-board Bebop.
89
+
90
+
An FTP client can also be used to view and copy flight plans on-board Bebop. `FileZilla` is recommended:
91
+
92
+
.. code-block:: bash
93
+
94
+
$ sudo apt-get install filezilla
95
+
$ filezilla
96
+
97
+
Then open `Site Manager` (top left), click `New Site`:
98
+
99
+
* `Host`: 192.168.42.1
100
+
* `Protocol`: FTP
101
+
* `Encrpytion`: Use plain FTP
102
+
* `Logon Type`: Anonymous
103
+
* Connect.
104
+
105
+
Pause Flight Plan
106
+
-----------------
107
+
108
+
To pause the execution of an autonomous flight plan, publish a message of type `std_msgs/Empty <http://docs.ros.org/api/std_msgs/html/msg/Empty.html>`_ to `autoflight/pause` topic. Bebop will then hover and await further commands.
109
+
To resume a paused flight plan, publish the same message that was used to start the autonomous flight (ie. to the topic `autoflight/start`). Bebop will fly to the lastest waypoint reached before continuing the flight plan.
110
+
111
+
.. note:: Any velocity commands sent to Bebop during an autonomous flight plan will pause the plan.
112
+
113
+
Stop Flight Plan
114
+
----------------
115
+
116
+
To stop the execution of an autonomous flight plan, publish a message of type `std_msgs/Empty <http://docs.ros.org/api/std_msgs/html/msg/Empty.html>`_ to `autoflight/stop` topic. Bebop will hover and await further commands.
117
+
118
+
Navigate Home
119
+
-------------
120
+
121
+
To ask Bebop to autonomously fly to it's home position, publish a message of type `std_msgs/Bool <http://docs.ros.org/api/std_msgs/html/msg/Bool.html>`_ to `autoflight/navigate_home` topic with the ``data`` field set to ``true``. To stop Bebop from navigating home, publish another message with ``data`` set to ``false``.
122
+
123
+
.. warning:: The topic has changed from `navigate_home` to `autoflight/navigate_home` after version 0.5.1.
0 commit comments