mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-31 12:23:23 +08:00
Revert "[extra_dl] Added an example of processing a payload_command packet"
This reverts commit 7402d0a1b4.
This commit is contained in:
@@ -11,24 +11,7 @@
|
||||
</header>
|
||||
<init fun="extra_pprz_dl_init()"/>
|
||||
<periodic fun="extra_pprz_dl_periodic()" freq="TELEMETRY_FREQUENCY" autorun="TRUE"/>
|
||||
|
||||
<!--
|
||||
The event function listens on the extra telemetry port (from the payload computer for example)
|
||||
and parses the received "datalink" messages, such as MOVE_WP.
|
||||
We need this function to be able to listen to the extra telemetry port
|
||||
|
||||
As a result all messages normally handled by the autopilot (such as MOVE_WP) are processed.
|
||||
-->
|
||||
<event fun="extra_pprz_dl_event()"/>
|
||||
|
||||
<!--
|
||||
The "datalink" tag appends the specified "message" at the end of dl_parse_msg() function.
|
||||
In case their is match in the message ID, "fun" is called on the message.
|
||||
|
||||
This automatically checks for the specified messages in regular telemetry (from GCS)
|
||||
as well as on the extra telemetry (from the payload computer).
|
||||
-->
|
||||
<datalink message="PAYLOAD_COMMAND" fun="extra_pprz_dl_parse_payload_cmd()"/>
|
||||
<event fun="ExtraDatalinkEvent()"/>
|
||||
<makefile target="ap">
|
||||
<configure name="EXTRA_DL_PORT" default="uart1" case="upper|lower"/>
|
||||
<define name="EXTRA_DOWNLINK_DEVICE" value="$(EXTRA_DL_PORT_LOWER)"/>
|
||||
|
||||
Reference in New Issue
Block a user