Failed to update home location (1)

Hi,

We are writing a UAV simulator that talks the MAVLink protocol, and we have been using it successfully with QGroundControl. We've tried using it with Mission Planner too, and although for the most part it works, there are still a few problems we are trying to figure out. The one I'm having hard time with is this: we connect to our simulator using UDP just fine, but after about 10 sec, the Mission Planner shows a dialog box "Failed to update home location (1)". We do not see a MAV_CMD_DO_SET_HOME or MAV_CMD_GET_HOME_POSITION coming from the Mission Planner, and we tried sending out HOME_POSITION message to the MP when we first connect, but that didn't help. Any ideas what MAVLink message(s) we need to send out to stop this message from popping out?

Thanks,

Paul

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Replies

  • Developer

    do you implement the waypoint protocol?

    mp trys to pull waypoint 0 on arming.

    • Michael, thank you so much for the prompt reply! Yes, that was it! We implement the waypoint protocol, but we never set waypoint 0 as the home location, as QGroundControl didn't seem to require it. Once we set waypoint 0 to home on arming, everything worked fine. Thanks again!

This reply was deleted.

Activity

Mike Whitney liked Mike Whitney's profile
Jul 19
DIY Robocars via Twitter
Jul 2
DIY Robocars via Twitter
Jun 26
Abdulatif Tlaib liked Ryan's profile
Jun 24
DIY Robocars via Twitter
RT @SmallpixelCar: First time at @wsraceways. After tuning @HokuyoUsa lidar signal and camera sensor on @NVIDIAEmbedded, my car was able to…
Jun 20
DIY Robocars via Twitter
RT @breadcentric: The handy bit about racing with self-driving cars is that one can type while the car is racing. Report from #AWSDeepRacer…
Jun 18
DIY Robocars via Twitter
RT @chr1sa: Our Bay Area @DIYRobocars meetup is now at 2,700 members. Next in-person events (in Oakland) are training day on July 17 and…
Jun 18
DIY Robocars via Twitter
Videos from the ICRA autonomous racing workshop are now available: https://linklab-uva.github.io/icra-autonomous-racing/
Jun 10
DIY Robocars via Twitter
RT @SmallpixelCar: Prepared race track for Warm Spring Raceways @wsraceways and looking forward to test my new car at RAMS RC @ramsaicar fa…
Jun 6
DIY Robocars via Twitter
RT @f1tenth: Trying out some nasty blocking maneuvers 🏎️🤖 #f1tenth #autonomousracing https://t.co/nMTstsaogM
Jun 5
DIY Robocars via Twitter
May 27
DIY Robocars via Twitter
RT @araffin2: I will talk this Saturday from 18:00 to 19:00 Paris time for the @diyrobocars community about learning to race in hours using…
May 27
DIY Robocars via Twitter
RT @a1k0n: Luckily the infeasible hairpin problem was easily reproducible in simulation and I could test the fix before bringing the car ba…
May 26
DIY Robocars via Twitter
RT @a1k0n: Another problem was that I was over-constraining the car's allowed accelerations, so it didn't think it could turn as tight as i…
May 26
DIY Robocars via Twitter
RT @a1k0n: Breaking the map up into two halves worked, but I had to be more careful about separating the inner track from outer. There's se…
May 26
DIY Robocars via Twitter
RT @a1k0n: Here's a datalog for my fastest lap of the day. Lap timer is tiny window lower-left. https://t.co/myrlWWrKUY
May 26
More…