minimosd-extra icon indicating copy to clipboard operation
minimosd-extra copied to clipboard

Home Direction arrow not consistent in pointing toward home

Open Hwurzburg opened this issue 7 years ago • 21 comments

Issue details

Home direction arrow often does not point toward home.....often is 180 deg out

Version

v942 Mavlink

Board type

http://www.readytoflyquads.com/micro-minimosd-pin-header-edition

runnning pixhawk with Ardupilot firmware

How "canonical" OSD firmware works?

[ X ] Works fine...... [ ] The same bug [ ] Not applicable [ ] Not tested

TLOG and OSD

will update with video on next flight

Hwurzburg avatar Jan 22 '18 18:01 Hwurzburg

Issue details - Me too Home direction arrow often does not point toward home.....often is 180 deg out

Version v942 Mavlink

Board type https://www.ebay.com/itm/On-Screen-Display-APM-Minim-OSD-V1-1-Module-for-ArduPilot-Mega-MAVLink-Optimal/322263494662?hash=item4b0866b006:g:bVwAAOSwLF1X25fE

runnning pixhawk with latest Ardupilot firmware

JeyPi avatar Jan 23 '18 10:01 JeyPi

tlog and .osd files are required

night-ghost avatar Jan 23 '18 12:01 night-ghost

miniSkyhunter.osd.txt tlog is not possible since I have no telemetry radio in the airplane....I have the dataflash log if that helps...

home arrow wrong

Home arrow was wrong most of the flight

Hwurzburg avatar Jan 23 '18 22:01 Hwurzburg

Flight video. https://youtu.be/7phs5V55n7Y

Hwurzburg avatar Jan 24 '18 00:01 Hwurzburg

.OSD and .tlog are absolutely required because OSD is data-driven software and just shows incoming MAVlink stream in a form programmed in .osd file. So without them it is absolutely impossible to found which caused such behavior.

I have the dataflash log if that helps

only if you'll find a way to convert them into .tlog

night-ghost avatar Jan 24 '18 07:01 night-ghost

okay, I managed to add a telem radio and captured a TLOG showing the problem..home direction arrow was incorrect a lot of the time....here is the video of the osd during the flight and TLOG https://youtu.be/iufUt6LfLnM log_usb_2018_01_25_11_46_41_091.tlog.txt

Hwurzburg avatar Jan 25 '18 21:01 Hwurzburg

fine, will check it

night-ghost avatar Jan 29 '18 10:01 night-ghost

just flashed back to 936MM, no other changes...flew 15min today and home arrow never glitched or pointed anywhere other than 100% correctly....maybe that will make it easier for you to track down the issue...

Hwurzburg avatar Feb 08 '18 20:02 Hwurzburg

Have you ever tried the radar feature. Someone on RC grouos said it has never worked. And if it did, what version was it?

JeyPi avatar Feb 09 '18 12:02 JeyPi

no, sorry...have not

Hwurzburg avatar Feb 09 '18 13:02 Hwurzburg

I confirm the 934 OSD works regarding the home arrow pointing. But the distance from home resets every 1000 meters as with the newest software.

JeyPi avatar Feb 11 '18 21:02 JeyPi

I also have this issue on 942. Home arrow points the wrong way often. However the autopilot responds fine. It still returns to launch in the correct direction even when the home arrow is pointing the wrong way.

SlipstreamFPV avatar Feb 13 '18 22:02 SlipstreamFPV

Maybe the problem is related to this commit? https://github.com/night-ghost/minimosd-extra/commit/f949445e70b0f304dd73ee5d679e74f775d7ee9f

I just compared code of 936 (proven to work) and the latest. And only significant change regarding home direction is there (function grad_to_sect is removed). It means that v941 should also work.

But maybe I'm totally wrong and this change was made by purpose...

nppc avatar Apr 28 '18 20:04 nppc

JeyPi, I tested successfully radar with track on v931 (plane/PAL/pixhawk/arduplane3.8.5)

mric3412 avatar May 07 '18 13:05 mric3412

I had the same "Home Arrow" issue with v943 (90deg jumping in my case)

mric3412 avatar May 07 '18 13:05 mric3412

I modified v943 (Mavlink without ADSB) to come back at v936 concerning issue for radar and home_dir arrow. (cf. ILS and radar issues) If you want to test it, the .hex is attached. build_for_test_onATMEGA328.zip

mric3412 avatar May 15 '18 19:05 mric3412

Ah, thank you! Will try it soon...

nppc avatar May 15 '18 20:05 nppc

bug found, will be fixed in new version ASAP

night-ghost avatar May 21 '18 06:05 night-ghost

I tried my patch on v943 yesterday and there is still a bug with panHomeDirection : sorry ! So, it's better to wait for the next released of night-ghost. (However the radar function works again: I will study this more seriously tonight...)

mric3412 avatar May 22 '18 11:05 mric3412

Today I tried latest firmware (v946) and can confirm, that home arrow is working now. Thank you very much guys!

nppc avatar Jun 03 '18 16:06 nppc

Today I tried latest firmware (v946) and can too confirm, that home arrow is working now. I prefer this osd much more to MWOSD. Thanks for awesome work. I think this issue could be closed. The home arrow works like a charm.

JeyPi avatar Jun 05 '18 21:06 JeyPi