2609
Kommentar:
|
2785
|
Gelöschter Text ist auf diese Art markiert. | Hinzugefügter Text ist auf diese Art markiert. |
Zeile 4: | Zeile 4: |
##include_event_begin | |
Zeile 29: | Zeile 30: |
{{http://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=70370&g2_serialNumber=2}} | {{http://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=70370&g2_serialNumber=2}}<<BR>> (For the example of 10sec., the "Time" must be changed from 5 to 10. So the Kopter will stay for 10sec. at that waypoint.) |
Zeile 46: | Zeile 50: |
##include_event_end |
WaypointEvent
The idea is, to trigger a camera (or similar) if the waypoint is reached.
The camera can be connected on the bliking-outpots or can be controlled by a mechanical servo.
If the waypoint is reached, a selectable value will be written into one virtual channel "WP-Event" - this can be used for blinking outouts or on a servo-outpot.
This value will be sent from the NaviControl to the FlightControl when the waypoint is reached.
The value is active during the waiting time on the waypoint. In the other time the value is zero.
Now the Poti (here Poti 8) can be used for blinking pattern or the Servo output.
Excample
A camera is connected via a ShutterCable and shall be triggered 5 times in 10 seconds.
Step 1: select WP-Event-Value
We will use a value of 100 here
(For the example of 10sec., the "Time" must be changed from 5 to 10. So the Kopter will stay for 10sec. at that waypoint.)
Step 2: use Poti8
When reaching the waypoint, the value shall be stored in Poti8
Step 3: Interval of the blinking pattern
The interval is now controlled via Poti8 (WP-Event)
When reaching the Waypoint, the trigger will be alternate between on and off with 1 second on (100) and 1 second off (100), because we selected the pattern: on,off,on,off,...
More information to the blinking pattern here or here
Tip: You can also put the Poti8 (WP-Value) to a servo-output. In that case the servo will move after reaching the waypoint - for excample to control the camera mechanically.
See also: en/Firmware-0.82