image
Results 1 to 3 of 3

Thread: KV OSD Showing "Disarmed" on compass

  1. #1
    Navigator
    Join Date
    May 2014
    Posts
    2

    KV OSD Showing "Disarmed" on compass

    Hey All,
    I'm having a weird issue with my OSD. I'm running the 2.2 release of KV OSD with a Naze32 board.

    Anyways, For whatever reason when the heading is between 270 and 359 degrees rather than showing the cardinal direction it displays "DISARMED". The DISARMED portion actually moves like it's part of the compass display.

    Here's a link to an image of what I'm seeing:
    https://www.dropbox.com/s/m0lpl1wyf8...525_190305.jpg

    I've cleared the EEPROM and reflashed multiple times. But this issue still persists. If I disconnect the Naze32 and connect a serial connection and use the sim through the GUI then it actually shows correctly. So I'm not really sure what to make of this. It seems like it's an issue with the OSD but at the same time it does away when using the sim.

    Any idea what's causing this?

    Thanks,
    Jared

  2. #2
    Navigator
    Join Date
    May 2014
    Posts
    2
    Well I've found the issue. It looks like MW OSD has addressed this by using the "BASEFLIGHT" define. Uncommenting this out fixes the issue.

    Thanks,
    Jared

  3. #3
    bonafidepirate Keith's Avatar
    Join Date
    Feb 2011
    Location
    Louisiana
    Posts
    1,267
    I had the same issue with my setup, Jared suggested I add a line of code to KV OSD that was present in MW OSD. It worked! Thanks Jared!

    In the KV_TEAM_OSD project folder, open serial.ino and after line 139, add the following:

    Code:
    if (MwHeading >= + 180) MwHeading -= 360; // added line
    The comment after "//" can be anything that floats your boat... Here's what it looks like in mine:



    After editing that, I zero'd the board then started from scratch. I wrote the code to it using ArduinoIDE as usual, then used the GUI to do the initial setup. Now the compass works fine!

    AKA Bonafidepirate

Similar Threads

  1. 110" Blunt nose Scratch built Wing "Gynormika"
    By Yuvski in forum FIXED WING
    Replies: 178
    Last Post: 9th June 2014, 08:16 AM
  2. Replies: 7
    Last Post: 14th July 2013, 04:36 AM
  3. Replies: 6
    Last Post: 28th May 2013, 09:26 AM
  4. EzUHF RX "Diversity" and "Lite"
    By DIGITAL_DARKSIDE in forum ImmersionRC
    Replies: 4
    Last Post: 21st December 2011, 09:19 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •