Page 1 of 2
FollowMe & Tap´n´Go implementation in r449: success
Posted:
Mon Oct 26, 2015 3:35 pm
by afernan
Re: FollowMe implementation in r449
Posted:
Wed Oct 28, 2015 10:10 am
by joebar.rc
This is only the send to telemetry (android) function. In the received command structure you define what to look for from the incoming mavlink commands and what to do.
(void mavlinkDoCommand(mavlink_message_t *msg) {)
and case MAVLINK_MSG_ID_EXTERN_GPS_POSITION: defines what to do based on the position of the follow device
Autoquad.xml is used in an aid to auto create the mavlink definition files. So basically .xml is used to create the mavlink external message definition file that you need to include. That is in this step not necessary because that file already exists.
Re: FollowMe implementation in r449
Posted:
Wed Oct 28, 2015 1:45 pm
by afernan
Re: FollowMe implementation in r449
Posted:
Wed Oct 28, 2015 10:48 pm
by sandmen
Re: FollowMe implementation in r449
Posted:
Thu Oct 29, 2015 1:21 am
by Max
I always wondered why you don't use an existing standard message -- SET_POSITION_TARGET_GLOBAL_INT seems perfect.
-Max
Re: FollowMe implementation in r449
Posted:
Thu Oct 29, 2015 9:00 am
by sandmen
For "just" follow me, yes, you are right.
But, I'm not only doing "follow me" with this.
Re: FollowMe implementation in r449
Posted:
Thu Oct 29, 2015 10:15 am
by afernan
@Peter:
Thanks for the files. Now it compiles OK. I see the missing functions inside your MAVLINK library.
I´ll test in flight and report back. Any recomendation for the flight test? (...apart of the obvious).
Angel
Re: FollowMe implementation in r449
Posted:
Thu Oct 29, 2015 11:10 am
by sandmen
take care for the external declaration from
- navUkfSetGlobalPositionTarget
- navSetHoldHeading
Re: FollowMe implementation in r449
Posted:
Thu Oct 29, 2015 1:56 pm
by afernan
I plan to use this external GPS in the ANDROID terminal to improve signal:
viewtopic.php?f=11&t=4680
FollowMe & Tap´n´Go implementation in r449: success
Posted:
Wed Nov 04, 2015 8:57 pm
by afernan
1st Flight Test: successfull !!
Working very well both Tap´n´Go and FollowMe in r449 modified. Attached fw for v6.1 DIMU QUATOS.
Mini guide:
Tap´n´Go: while in PH, touch the map for 1 sec. A yellow drop will indicate the point to flight. After a confirmation, the machine will fly at 3m/s at the same height it was. It works perfect.
Follow-Me: First, activate FollowMe in GCS settings. Then while in PH, activate FollowMe in the menu; a message will tell you that FolloMe is active all time supplying position and speed. If you walk it will follow you maintaining same height as initial position. You can overide position and height at any moment with Tx. Worked perfectly at first shot.
Now I´ll test with a better antena for the phone GPS signal improvement.
Thanks a lot to Peter and Menno for their contributions (really most of the work). Files modified are attached also. Remember you´ll need an special Mavlink library to compile (see previous link from Peter)
Keep tuned.