Skip to content

Commit 243ce0a

Browse files
authored
Merge pull request #1221 from muramura/DK_Change_the_reference_URL
docs: Change the reference url
2 parents 3ee89b7 + 1dda2a2 commit 243ce0a

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

docs/examples/guided-set-speed-yaw-demo.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -189,16 +189,16 @@ The functions for controlling vehicle movement are:
189189
DroneKit position controller method. It is called from :ref:`goto <example_guided_mode_goto_convenience>` to fly a triangular path.
190190
* :ref:`goto_position_target_global_int() <example_guided_mode_goto_position_target_global_int>`
191191
is a position controller that uses the
192-
`SET_POSITION_TARGET_GLOBAL_INT <https://pixhawk.ethz.ch/mavlink/#SET_POSITION_TARGET_GLOBAL_INT>`_ command.
192+
`SET_POSITION_TARGET_GLOBAL_INT <https://mavlink.io/en/messages/common.html#SET_POSITION_TARGET_GLOBAL_INT>`_ command.
193193
* :ref:`goto_position_target_local_ned() <example_guided_mode_goto_position_target_local_ned>`
194-
is a position controller that uses `SET_POSITION_TARGET_LOCAL_NED <https://pixhawk.ethz.ch/mavlink/#SET_POSITION_TARGET_LOCAL_NED>`_
194+
is a position controller that uses `SET_POSITION_TARGET_LOCAL_NED <https://mavlink.io/en/messages/common.html#SET_POSITION_TARGET_LOCAL_NED>`_
195195
command (taking values in NED frame, relative to the home position). This is used to fly a square path.
196196
The script is put to sleep for a certain time in order to allow the vehicle to reach the specified position.
197197
* :ref:`send_ned_velocity() <guided_mode_copter_velocity_control>` is a velocity controller.
198-
It uses `SET_POSITION_TARGET_LOCAL_NED <https://pixhawk.ethz.ch/mavlink/#SET_POSITION_TARGET_LOCAL_NED>`_
198+
It uses `SET_POSITION_TARGET_LOCAL_NED <https://mavlink.io/en/messages/common.html#SET_POSITION_TARGET_LOCAL_NED>`_
199199
to fly a square path using velocity vectors to define the speed in each direction.
200200
* :ref:`send_global_velocity() <example_guided_mode_send_global_velocity>` is a velocity controller.
201-
It uses `SET_POSITION_TARGET_GLOBAL_INT <https://pixhawk.ethz.ch/mavlink/#SET_POSITION_TARGET_GLOBAL_INT>`_
201+
It uses `SET_POSITION_TARGET_GLOBAL_INT <https://mavlink.io/en/messages/common.html#SET_POSITION_TARGET_GLOBAL_INT>`_
202202
to fly a diamond-shaped path. The behaviour is essentially the same as for ``send_ned_velocity()``
203203
because the velocity components in both commands are in the NED frame.
204204
* :ref:`goto <example_guided_mode_goto_convenience>` is a convenience function for specifying a target location
@@ -262,7 +262,7 @@ send_global_velocity()
262262
----------------------
263263

264264
The function ``send_global_velocity()`` generates a
265-
`SET_POSITION_TARGET_GLOBAL_INT <https://pixhawk.ethz.ch/mavlink/#SET_POSITION_TARGET_GLOBAL_INT>`_
265+
`SET_POSITION_TARGET_GLOBAL_INT <https://mavlink.io/en/messages/common.html#SET_POSITION_TARGET_GLOBAL_INT>`_
266266
MAVLink message which is used to directly specify the speed components of the vehicle in the NED
267267
frame.
268268

@@ -359,7 +359,7 @@ The ``type_mask`` enables the position parameters (the last three bits of of the
359359

360360
.. note::
361361

362-
The `MAVLink protocol documentation <https://pixhawk.ethz.ch/mavlink/#SET_POSITION_TARGET_LOCAL_NED>`_
362+
The `MAVLink protocol documentation <https://mavlink.io/en/messages/common.html#SET_POSITION_TARGET_LOCAL_NED>`_
363363
lists a number of possible frames of reference. Up until Copter 3.2.1 the actual frame used is always
364364
relative to the home location (as indicated by MAV_FRAME_LOCAL_NED). Starting from Copter 3.3
365365
you can specify `other frames <http://dev.ardupilot.com/wiki/copter-commands-in-guided-mode/#set_position_target_local_ned>`_,

docs/guide/copter/guided_mode.rst

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,8 @@ for all positional movement commands until it is set to another value.
8383
.. tip::
8484

8585
You can also set the position by sending the MAVLink commands
86-
`SET_POSITION_TARGET_GLOBAL_INT <https://pixhawk.ethz.ch/mavlink/#SET_POSITION_TARGET_GLOBAL_INT>`_ or
87-
`SET_POSITION_TARGET_LOCAL_NED <https://pixhawk.ethz.ch/mavlink/#SET_POSITION_TARGET_LOCAL_NED>`_, specifying
86+
`SET_POSITION_TARGET_GLOBAL_INT <https://mavlink.io/en/messages/common.html#SET_POSITION_TARGET_GLOBAL_INT>`_ or
87+
`SET_POSITION_TARGET_LOCAL_NED <https://mavlink.io/en/messages/common.html#SET_POSITION_TARGET_LOCAL_NED>`_, specifying
8888
a ``type_mask`` bitmask that enables the position parameters. The main difference between these commands is
8989
that the former allows you to specify the location relative to the "global" frames (like
9090
``Vehicle.simple_goto()``), while the later lets you specify the location in NED co-ordinates relative
@@ -175,7 +175,7 @@ When moving the vehicle you can send separate commands to control the yaw (and o
175175
.. tip::
176176

177177
You can also control the velocity using the
178-
`SET_POSITION_TARGET_GLOBAL_INT <https://pixhawk.ethz.ch/mavlink/#SET_POSITION_TARGET_GLOBAL_INT>`_
178+
`SET_POSITION_TARGET_GLOBAL_INT <https://mavlink.io/en/messages/common.html#SET_POSITION_TARGET_GLOBAL_INT>`_
179179
MAVLink command, as described in :ref:`example_guided_mode_send_global_velocity`.
180180

181181

@@ -189,8 +189,8 @@ ArduPilot does not currently support controlling the vehicle by specifying accel
189189

190190
.. note::
191191

192-
The `SET_POSITION_TARGET_GLOBAL_INT <https://pixhawk.ethz.ch/mavlink/#SET_POSITION_TARGET_GLOBAL_INT>`_ and
193-
`SET_POSITION_TARGET_LOCAL_NED <https://pixhawk.ethz.ch/mavlink/#SET_POSITION_TARGET_LOCAL_NED>`_
192+
The `SET_POSITION_TARGET_GLOBAL_INT <https://mavlink.io/en/messages/common.html#SET_POSITION_TARGET_GLOBAL_INT>`_ and
193+
`SET_POSITION_TARGET_LOCAL_NED <https://mavlink.io/en/messages/common.html#SET_POSITION_TARGET_LOCAL_NED>`_
194194
MAVLink commands allow you to specify the acceleration, force and yaw. However, commands setting
195195
these parameters are ignored by the vehicle.
196196

@@ -221,7 +221,7 @@ to encode the message and then calling :py:func:`send_mavlink() <dronekit.Vehicl
221221

222222
``message_factory()`` uses a factory method for the encoding. The name of this method will always be the
223223
lower case version of the message/command name with ``_encode`` appended. For example, to encode a
224-
`SET_POSITION_TARGET_LOCAL_NED <https://pixhawk.ethz.ch/mavlink/#SET_POSITION_TARGET_LOCAL_NED>`_
224+
`SET_POSITION_TARGET_LOCAL_NED <https://mavlink.io/en/messages/common.html#SET_POSITION_TARGET_LOCAL_NED>`_
225225
message we call ``message_factory.set_position_target_local_ned_encode()`` with values for all the
226226
message fields as arguments:
227227

@@ -248,7 +248,7 @@ really intended for a specific component.
248248

249249
.. _guided_mode_how_to_send_commands_command_long:
250250

251-
In Copter, the `COMMAND_LONG message <https://pixhawk.ethz.ch/mavlink/#COMMAND_LONG>`_ can be used send/package
251+
In Copter, the `COMMAND_LONG message <https://mavlink.io/en/messages/common.html#COMMAND_LONG>`_ can be used send/package
252252
*a number* of different `supported MAV_CMD commands <http://dev.ardupilot.com/wiki/copter-commands-in-guided-mode/>`_.
253253
The factory function is again the lower case message name with suffix ``_encode`` (``message_factory.command_long_encode``).
254254
The message parameters include the actual command to be sent (in the code fragment below ``MAV_CMD_CONDITION_YAW``) and its fields.
@@ -474,7 +474,7 @@ Other information
474474
=================
475475

476476
* `NED Frame <http://en.wikipedia.org/wiki/North_east_down>`_
477-
* `MISSION_ITEM <https://pixhawk.ethz.ch/mavlink/#MISSION_ITEM>`_
477+
* `MISSION_ITEM <https://mavlink.io/en/messages/common.html#MISSION_ITEM>`_
478478
* `GUIDED Mode for Copter <http://copter.ardupilot.com/wiki/flying-arducopter/flight-modes/ac2_guidedmode/>`_ (wiki).
479479
* `GUIDED mode for Plane <http://plane.ardupilot.com/wiki/flying/flight-modes/#guided>`_ (wiki).
480480
* `Copter Commands in Guided Mode <http://dev.ardupilot.com/wiki/copter-commands-in-guided-mode/>`_ (wiki).

0 commit comments

Comments
 (0)