How to use mavlink(message v2) for lapse photography

Hello,

I want to use mavlink message v2 related to gpslapse photography.

I experimented with the mavlink files shown below, but it did not work well. ANAFI Ai only moves and no photos were taken.
(ANAFI Ai is set to photo mode beforehand, and there is enough distance between waypoints.)

	QGC WPL 120
	0	0	3	22	0	0	0	0	0	0	0	1
	1	0	3	50001	0	0	12	0	0	0	0	1
	2	0	3	206	5	0	0	0	0	0	0	1
	3	0	3	2000	0	2	0	0	0	0	0	1
	4	0	3	16	0	0	0	0	a	b	c	1
	5	0	3	16	0	0	0	0	x	y	z	1
	6	0	3	2001	0	0	0	0	0	0	0	1
	7	0	3	21	0	0	0	0	0	0	0	1
	QGC WPL 120
	0	0	3	22	0	0	0	0	0	0	0	1
	1	0	3	50001	0	0	12	0	0	0	0	1
	2	0	3	206	5	0	0	0	0	0	0	1
	3	0	3	16	0	0	0	0	a	b	c	1
	4	0	3	16	0	0	0	0	x	y	z	1
	5	0	3	206	0	0	0	0	0	0	0	1
	6	0	3	21	0	0	0	0	0	0	0	1

It would be helpful if you could teach me how to use it correctly.

Thanks.

Hello @y.kadono,

On the first example you have asked for a GPS Lapse at index 2 (command 206) and directly after that are asking for a Timelapse (command 2000).

The second example you provided is the approach you should follow.

First try setting the view mode to absolute as well as the still capture mode:

1	0	0	50001	0	0	12	0	0	0	0	1
2	0	0	50000	0	0	0	0	0	0	0	1

If that does not work try using -1 as your 2nd parameter of your 206 command

2	0	3	206	5	*-1*	0	0	0	0	0	1

You could even specify the triggerOnceImmediately parameter (3rd parameter)

2	0	3	206	5	-1	*1*	0	0	0	0	1

Georges

1 Like

This topic was automatically closed after 30 days. New replies are no longer allowed.