|
From: | Stephen Dwyer |
Subject: | Re: [Paparazzi-devel] How to send/log trigger-events? |
Date: | Sun, 27 Jan 2013 23:25:44 -0700 |
In case anyone else is interested,
I think I found the reason for my problems with interacting with the trigger-function for digital cameras, and with sending/logging trigger-events via telemetry.
1. The method of activating the trigger from a subsystem appears to have been changed, form previous e.g. like this:
#ifdef DIGITAL_CAMdc_survey(psa_shot_dist, seg_start.x - dir_vec.x*psa_shot_dist*0.5, seg_start.y - dir_vec.y*psa_shot_dist*0.5);#endif
As implemented in the current poly_survey_adv.c routine: https://github.com/paparazzi/paparazzi/blob/v4.2/sw/airborne/subsystems/navigation/poly_survey_adv.c
To the new and simpler:
#ifdef DIGITAL_CAMLINE_START_FUNCTION;#endif
As implemented here: https://github.com/scdwyer/paparazzi/commit/a0fbe0883ae7107b626b280428897605942d7aa9
2. The autopilot must be told to sent events (like trigger-events), by adding a line for the relevant module in the airframe-file:
<define name="SENSOR_SYNC_SEND" value="1" />
as described here: https://github.com/paparazzi/paparazzi/blob/v4.2/conf/modules/digital_cam.xml
(Which, as far as I have noticed, also means none of the existing flight-plan examples do logging of trigger-events).
Cheers,
Jørn
From: address@hidden
To: address@hidden
Subject: How to send/log trigger-events?
Date: Tue, 15 Jan 2013 00:19:49 +0100
Hi,
I am experimenting with interacting with the digital camera trigger, and think I finally have got it right.
But as it is, I don't think the trigger event is sent via telemetry, and therefore not logged. Do I have to set a variable or something in the airframe-file, -or somewhere else, to make this happen?
And one other thing; does it exist other tools for exporting flight-logs to kml-files, e.g. to include waypoints, trigger events or other information?
Cheers,
Jørn
_______________________________________________
Paparazzi-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
[Prev in Thread] | Current Thread | [Next in Thread] |