|
From: | Felix Ruess |
Subject: | Re: [Paparazzi-devel] Rotorcraft Mission Module |
Date: | Mon, 20 Oct 2014 14:41:43 +0200 |
EnesRegards,6. Hit "Mission" strip button to run the sent mission.5. Hit "ClickMe" to send the message to Ivybus4. Run c_ivy_client_example_3-> make c_ivy_client_example_3.c-> Add mission string under example hello message in c_ivy_client_example_3.c-> just add c_ivy_client_example_3 to "all:" in "sw/ground_segment/tmtc/Makefile"1. Create an executable to send Ivy messagesTesting module on NPS3. Add mission flag on target=nps2. Add mission block to flight planAbove flag is misplaced. I added it under target=rotorcraft instead of NPS. Now it is OK.For people who want to try mission module in rotorcraft let me give a brief description (maybe this also sould be documented on wiki)Building mission module for NPS1. Add mission module to airframe file.
<load name="mission_rotorcraft.xml"/>
<block name="mission" strip_button="Mission">
<call fun="mission_run()"/>
<deroute block="Standby"/>
</block>
<configure name="USE_MISSION_COMMANDS_IN_NPS" value="1"/>
Format: IvySendMsg("mission MISSION_GOTO_WP Aircraft_id Insert X Y Z T");
Example: IvySendMsg("mission MISSION_GOTO_WP 3 0 10.0 10.0 10.0 10.0");
2. Start NPS Simulation
3. First Start Engine then Takeoff--On Fri, Oct 17, 2014 at 1:30 PM, enes dilcan <address@hidden> wrote:enesRegards,Hi Gautier,I have USE_MISSION_COMMANDS_IN_NPS flag in my airframe file.--On Fri, Oct 17, 2014 at 12:44 PM, Gautier Hattenberger <address@hidden> wrote:Hi,
Do you have the flag USE_MISSION_COMMANDS_IN_NPS in your airframe file ?
Gautier
Le 16/10/2014 22:37, enes dilcan a écrit :
Hi guys,
I want to test mission module on NPS but currently I have not manage to run it.
First,I added mission_rotorcraft.xmi to airframe file and I called mission_run function from flight plan.Then I wrote a c app for sending mission messages to Ivybus. By using ivyprobe, I listened Ivybus and I only displayed values related mission. After calling my app I saw that, MISSION_GO_TO_WP messages were inserted to Ivybus but MISSION_STATUS was not changed.
I would be very pleased if someone can summarize the usage of mission module on NPS.
As a note that, I have used Paparazzi-v5-2-0-stable for this case. Also , I have tested my c app by sending/binding other messages before testing mission messages.
Regards,enes--
nsdcn
_______________________________________________ Paparazzi-devel mailing list address@hidden https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
_______________________________________________
Paparazzi-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
nsdcnnsdcn
_______________________________________________
Paparazzi-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
[Prev in Thread] | Current Thread | [Next in Thread] |