ardupilot icon indicating copy to clipboard operation
ardupilot copied to clipboard

Home position not reset on 3D lock or arming position, (AC 2.9.1)

Open GrahamDyer opened this issue 13 years ago • 12 comments

This afternoon I powered up my quad and was watching the MP, eventually I had 11 satellites and a gpshdop of 0.81.

My home postion however remained at the point where I flew this morning, 5530m away! It stayed like this for the whole flight and was like this when I landed.

Correct me if I'm wrong but I understood the home position is set on either 3D lock or arming postion?

If that is not my home position why does the MP say "DistToHome"?

2013-02-03_1757

GrahamDyer avatar Feb 03 '13 16:02 GrahamDyer

I have made a video that explains the issue here. http://www.youtube.com/watch?v=J5ClTnggZKk

In short, there is a mission planner home and an arducopter home. We should unify the two because it's an endless source of confusion for users.

rmackay9 avatar Feb 05 '13 08:02 rmackay9

Yes, confusing as it is ambiguous :) What is the parameter name for arducopter's home and when does it store this, when it gets a lock (with how many satellites) or when it is armed? How can we see this on the MP without clicking Home Position? Also how do DistToMav & DistToHome differ?

GrahamDyer avatar Feb 05 '13 08:02 GrahamDyer

to update home possition once you have armed. just read the mission, and home will udpate to whatever the coptert has as home

meee1 avatar Feb 05 '13 08:02 meee1

Hello, Just a though, Allways same mark changing name like: Home: Shown when there is no lock or APM unconnected (should be kept as MP variable) 3D Lock: 3D Lock position received from APM Launch: Armed position True big issue here IMHO is between words home and launch. APM does RTL not RTH (which, IMO RTL is the right one).

Regards, Miguel

MiguelPereira avatar Feb 05 '13 09:02 MiguelPereira

A few users have reported odd RTL behaviour, so it would be prudent to ensure that the less confusion there is the better (also makes for less support time required on the forum.)

Playing the devils (or ArduCopter user) advocate here: What if you have no mission loaded? The average user does not know to do this or to click the Home Postion text? He expects home to be home.

IMHO, 1) There should be clear differentiation between the "Home" and "Launch" postions or NONE at all and/or 2) as soon as ArduCopter sets it's "launch" postion this should be displayed and labelled on the MP and/or, 3) there should be a button that clearly says "Set Home Position to Current" and/or "Set Launch Position to Current"

GrahamDyer avatar Feb 05 '13 09:02 GrahamDyer

@Graham, Michael O is working on something that will do your 2nd suggestion. The great thing is that the way he's doing it we don't need to do anything in the arducopter software so it should hopefully be simply a mission planner upgrade.

rmackay9 avatar Feb 06 '13 07:02 rmackay9

fix, home is now requested on arming

meee1 avatar Feb 07 '13 22:02 meee1

Thanks, works as expected. Is this the mission planner home or the arducopter home Randy refferred to or have they been consolidated?

GrahamDyer avatar Feb 08 '13 13:02 GrahamDyer

The mission planner is now updating it's home position to match the arducopter home whenever it sees that the arducopter has become armed.

rmackay9 avatar Feb 08 '13 16:02 rmackay9

The wiki is now incorrect in some places, so I just want to make 100% sure - ArduCopter home is now ALWAYS set on arm and NEVER on 3D GPS lock? What happens if APM is armed prior to 3D GPS lock? Where will home be set in this case?

GrahamDyer avatar Feb 10 '13 07:02 GrahamDyer

It's still set both on 3d gps lock and when you arm. So if you take-off without waiting for a GPS lock, the arducopter home will be where it first got lock.

rmackay9 avatar Feb 10 '13 07:02 rmackay9

Sure about that on Arducopter 3.1.2? I have experienced that my copter went to a "home" position in RTL, where I had previously entered the mission in mission planner (at my home), not to the arming site. After my blood pressure went normal again, I went home and manually set "home" to the desired arming (Launch) location in mission planner. After that RTL worked out. Is this a bug, or intentional?

hellowtisch avatar Mar 23 '14 12:03 hellowtisch