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/about/release_notes.rst
+5-5
Original file line number
Diff line number
Diff line change
@@ -25,10 +25,10 @@ Working with releases
25
25
26
26
The following PyPI commands are useful for working with different version of DroneKit Python: ::
27
27
28
-
pip install droneapi # Install the latest version
29
-
pip install droneapi --upgrade # Update to the latest version
30
-
pip show droneapi # Find out what release you have installed
31
-
pip install droneapi=1.0.3 # Get a sepcific old release (in this case 1.0.3
28
+
pip install dronekit # Install the latest version
29
+
pip install dronekit --upgrade # Update to the latest version
30
+
pip show dronekit # Find out what release you have installed
31
+
pip install dronekit=1.0.3 # Get a sepcific old release (in this case 1.0.3
32
32
33
-
See `Release History on the package ranking page <http://pypi-ranking.info/module/droneapi#release_history>`_ for a list of all releases available on PyPI.
33
+
See `Release History on the package ranking page <http://pypi-ranking.info/module/dronekit#release_history>`_ for a list of all releases available on PyPI.
Copy file name to clipboardexpand all lines: docs/examples/drone_delivery.rst
+1-1
Original file line number
Diff line number
Diff line change
@@ -52,7 +52,7 @@ Looking at the code
52
52
Using attribute observers
53
53
-------------------------
54
54
55
-
All attributes in DroneKit can have observers - this is the primary mechanism you should use to be notified of changes in vehicle state. For instance, `drone_delivery.py <https://github.com/diydrones/droneapi-python/blob/master/examples/drone_delivery/drone_delivery.py>`_ calls:
55
+
All attributes in DroneKit can have observers - this is the primary mechanism you should use to be notified of changes in vehicle state. For instance, `drone_delivery.py <https://github.com/dronekit/dronekit-python/blob/master/examples/drone_delivery/drone_delivery.py>`_ calls:
Copy file name to clipboardexpand all lines: docs/examples/follow_me.rst
+1-1
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@ Before running this demo you'll need to make sure your computer has the gpsd ser
18
18
19
19
apt-get install gpsd gpsd-clients
20
20
21
-
You can then plug in a USB GPS and run the "xgps" client to confirm that it is working. If you do not have a USB GPS you can use simulated data by running *droneapi-python/examples/run-fake-gps.sh*.
21
+
You can then plug in a USB GPS and run the "xgps" client to confirm that it is working. If you do not have a USB GPS you can use simulated data by running *dronekit-python/examples/run-fake-gps.sh*.
22
22
23
23
Once your GPS is plugged in you can start follow-me by running the following command inside of MAVProxy:
Copy file name to clipboardexpand all lines: docs/examples/simple_goto.rst
+5-5
Original file line number
Diff line number
Diff line change
@@ -5,8 +5,8 @@ Example: Simple Go To (Copter)
5
5
==============================
6
6
7
7
This example demonstrates how to arm and launch a Copter in GUIDED mode, travel to a number of waypoints, and then return
8
-
to the home location. It uses :py:func:`Vehicle.commands.takeoff() <droneapi.lib.CommandSequence.takeoff>`,
9
-
:py:func:`Vehicle.commands.goto() <droneapi.lib.CommandSequence.goto>` and :py:attr:`Vehicle.mode <droneapi.lib.Vehicle.mode>`.
8
+
to the home location. It uses :py:func:`Vehicle.commands.takeoff() <dronekit.lib.CommandSequence.takeoff>`,
9
+
:py:func:`Vehicle.commands.goto() <dronekit.lib.CommandSequence.goto>` and :py:attr:`Vehicle.mode <dronekit.lib.Vehicle.mode>`.
10
10
11
11
The locations used are centred around the home location when the :ref:`Simulated Vehicle <vagrant-sitl-from-full-image>` is booted; you can edit the latitude and longitude
12
12
to use more appropriate positions for your own vehicle.
@@ -95,16 +95,16 @@ Takeoff
95
95
-------
96
96
97
97
To launch *Copter* you need to set the mode to ``GUIDED``, arm the vehicle, and then call
98
-
:py:func:`Vehicle.commands.takeoff() <droneapi.lib.CommandSequence.takeoff>`. The takeoff code in this example
98
+
:py:func:`Vehicle.commands.takeoff() <dronekit.lib.CommandSequence.takeoff>`. The takeoff code in this example
99
99
is explained in the guide topic :ref:`taking-off`.
100
100
101
101
102
102
Flying to a point - Goto
103
103
------------------------
104
104
105
105
The vehicle is already in``GUIDED`` mode, so to send it to a certain point we just need to
106
-
call :py:func:`Vehicle.commands.goto() <droneapi.lib.CommandSequence.goto>`with the target location,
107
-
and then :py:func:`flush() <droneapi.lib.Vehicle.flush>` the command:
106
+
call :py:func:`Vehicle.commands.goto() <dronekit.lib.CommandSequence.goto>`with the target location,
107
+
and then :py:func:`flush() <dronekit.lib.Vehicle.flush>` the command:
Copy file name to clipboardexpand all lines: docs/examples/vehicle_state.rst
+1-1
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@ The vehicle and DroneKit should be set up as described in :ref:`get-started`.
18
18
19
19
If you're using a simulated vehicle remember to :ref:`disable arming checks <disable-arming-checks>` so
20
20
that the example can run. You can also `add a virtual rangefinder <http://dev.ardupilot.com/wiki/simulation-2/sitl-simulator-software-in-the-loop/using-sitl-for-ardupilot-testing/#adding_a_virtual_rangefinder>`_
21
-
(otherwise the :py:attr:`Vehicle.rangefinder <droneapi.lib.Vehicle.rangefinder>` attribute may return values of ``None`` for the distance
21
+
(otherwise the :py:attr:`Vehicle.rangefinder <dronekit.lib.Vehicle.rangefinder>` attribute may return values of ``None`` for the distance
22
22
and voltage).
23
23
24
24
Once MAVProxy is running and the API is loaded, you can start the example by typing: ``api start vehicle_state.py``.
0 commit comments