Revert "[extra_dl] Added an example of processing a payload_command packet"

This reverts commit 7402d0a1b4.
This commit is contained in:
Gautier Hattenberger
2017-03-19 23:11:03 +01:00
parent 205559e825
commit 1754ce0a41
3 changed files with 19 additions and 69 deletions
+1 -18
View File
@@ -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)"/>