Code Monkey home page Code Monkey logo

scarab-osd's People

Contributors

asciich avatar basdelfos avatar chrisinvb avatar csurf avatar damonp avatar derkorb avatar dustin avatar eirism avatar error414 avatar ezshinoda avatar fape avatar georgemulder avatar hayden-t avatar jarnfast avatar lefebvrestephane avatar mindnever avatar moggiex avatar nathantsoi avatar ohhorob avatar pekpon avatar pmauby avatar rbnis avatar shikofthera avatar tronskifpv avatar truglodite avatar truhlikfredy avatar xaviergriffon avatar xeno010 avatar zeezeeeff avatar zeugri avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

scarab-osd's Issues

Forced crosshair depends on accelerometer

At the moment if you disable accelerometer (needed to get 1000 loop time on F1 hardware for gyro synced looptime feature), crosshair enabled by FORCECROSSHAIR define doesn't work as it's called inside displayHorizon function which is not used without accelerometer.

I suggest to make a separate function displayForcedCrosshair() like this:

    uint16_t position = getPosition(horizonPosition)-(2*LINE);
    screen[position+2*LINE+7-1] = SYM_AH_CENTER_LINE;
    screen[position+2*LINE+7+1] = SYM_AH_CENTER_LINE_RIGHT;
    screen[position+2*LINE+7] =   SYM_AH_CENTER;

and call it from MW_OSD.ino surrounded by #ifdef FORCECROSSHAIR. Just after displayHorizon outside of if(MwSensorPresent&ACCELEROMETER) block.

This way crosshair will not depend on what sensors you have enabled. I've already tried it and it works just fine. Should be an easy and safe fix.

Question: After flight statistics are cumulative or per flight?

When you disarm your multi-rotor a flight characteristics page is displayed, fly time and some information on it.

These information are stats on given flight? Fly time is reset every time, but for example MAX AMPS is not reset so it will display maximal current from the moment battery was connected and not from last flight. MAH USED and others are the same i think.

Is this by design?

Hoping for custom bootloader and how to apply it

On https://code.google.com/p/scarab-osd/wiki/Frsky_SPort is mention of a custom 
bootloader to allow port 0 to be used on the Mega 2560. Any chance of uploading 
it with notes on how to burn it into a Paris v5r3? Including mention of which 
port/connection IS port 0 on that board. I know pin 19 is port 1 but I can't 
use that as it is needed for PPM-SUM input.

Thanks!


Original issue reported on code.google.com by [email protected] on 31 Aug 2014 at 4:31

Java 8 causes exception during GUI startup

Win7, x64

1.4.1
When starting the GUI, a java 'animation' exception is thrown in the console window.

1.2
An "unspecified error" popup appears.

Both versions:

Uninstalling Java 8, and installing Java 7 update 80 (downloaded from Java.com) fixes the issue.

GUI stuck on "Waiting OSD" v1.5

FC: Paris v5r3 (Multiwii 2.4)
OS: Windows 10 (64bit) w/64bit Java

After flashing from 1.4.1 to 1.5, when in the GUI and selecting the comm port to connect to the OSD, the message "Waiting OSD" will flash indefinitely with no connection established.

Flashing back to 1.4.1 and everything works as expected.

PIDs in OSD menu to floats

Coming from BorisB's work on PID controller improvements came the need to show PIDS in floats in the CF configurator. Though this is not yet in master, it's likely coming. It would be great if MWOSD will also be able to show the PIDs as float (or add just 1 extra digit, ie. P=1,02 -> MWOSD: 102)

Cleanflight 1.9 RC TUNING labels are wrong

Roll and Pitch rates are now separate, so all the parameters after ROLL PITCH RATE are off.

YAW RATE displays PITCH RATE.
TPA displays YAW RATE.
THROTTLE MID displays TPA
etc...

Also,

ROLL displays 0
PITCH displays TPA Breakpoint value.

Using master build as of today (69e1146).

standalone GPS error.

Mentioned this to Shikra before on the lab.

Arduino: 1.0.6 (Windows 7), Board: "Arduino Nano w/ ATmega328"
GPS.ino: In function 'void SerialGpsPrint(char)':
GPS:38: error: 'str' was not declared in this scope
GPS.ino: In function 'void GPS_SerialInit()':
GPS:74: error: invalid conversion from 'char*' to 'char'
GPS:74: error: initializing argument 1 of 'void SerialGpsPrint(char)'

Was my error msg.

Docs for success with d4r RSSI?

I've got a d4r (high speed pwm) hooked up to an OSDoge. I've tried several combinations of things to get the RSSI reading and the most success I've had gives me very coarse RSSI readings (essentially 100% or < 100% if things start going bad).

OSDoge has an RSSI filter option, but enabling that prevented me from ever seeing anything useful. It's unclear how to enable analog RSSI with the filter.

If it works, a FAQ entry for how would be good.

Crosshair at screen center

If you enable horizon, you can see a nice crosshair, it would be great to have only crosshair, but not the artificial horizon. Maybe it's already possible?

I workaround would be to add CallSign like "+" and move it to the center, but CallSign is always flashing which is annoying.

Maybe there is a better way that I'm not aware of? Thanks!

How do I run the simulator?

I can't figure out how to run the simulator. It would be nice if this info was captured in the documentation.

OSD not displaying

Hi, trying for the first time MWOSD but for some reason after compile, upload and configure...the screen don't show nothing...just the image from cam. Tried Rush-OSD and it works perfectly...

While on tests I'm not connecting the OSD to the CC3D with CleanFlight...

Any Tips?

OSD stops displaying -- requires reboot

I'm not entirely sure what leads to this, but I'll often have my OSD go out while the rest of my system continues to operate OK. I've captured one case in particular today:

http://imgur.com/a/noDZ8

It looks like it may have browned out or similar (though I'm not entirely sure why). Ideally, in this situation, one of two things could happen:

  1. The OSD could detect the condition and reinit.
  2. The OSD could allow me to tell it that painting is failing and reinit.

I suppose the second one can be accomplished by tickling the reset on the AVR. But it's not clear to me exactly what's putting me in this state. e.g. is it the MAX itself that's needing to be reinitialized (and can you tell?) or is it the OSD itself that could be fixed up with a watchdog?

GPS altitude reset at arm not working

Hello,

I have the lastest version R 1.4 and cleanflight 1.9.0. When I arm my quadrocopter GPS altitude is not reset. It is not disabled in config file - //#define DISABLEGPSALTITUDERESET

Thank you for any tip how to resolve this issue.

BR, Michal

R1.3 (all) - Cannot edit font

Computer 1

Windows 7 Ultimate (64-bit)
Java 7 Update 13 (32-bit, build 1.7.0_13-b20)
GUI: R1.3, R1.3 SP0, R1.3 SP1, R1.3 SP2 (Windows 32-bit)

  • Load font "large.mcm"
  • Edit char 0x10
  • Save char
  • Entire font reverts back to "default.mcm"

Computer 2

Windows 7 Ultimate (64-bit)
Java 7 Update 71 (64-bit, build 1.7.0_70-b14)
GUI: R1.3, R1.3 SP0, R1.3 SP1, R1.3 SP2 (Windows 64-bit)

  • Load font "large.mcm"
  • Edit char 0x10
  • Save char
  • Entire font reverts back to "default.mcm"

Feature: List of elements in the layout editor

Instead of a + and - button to change between elements that can be turned on/off in the layout editor, can there just be a list so all element states can be seen, with a tick box next to eack one to turn them on and off. This will make selecting an element, moving it and turning them on and off much much! quicker when setting up custom layouts.
Right now, its "click +, wait a second, or 1.5 seconds, Test: changes to next object, repeat until required object is shown, move it, then repeat. Its rather slow and tedious.

Power/speed value for optimize cruise speed in airplane.

Hi Shikra,

To get good range with airplanes if could be very interesting to see on screen the Watts/speed value, so if the pilot or future autopilot modes (cruise speed) can get the lower value here, they are getting the optimal speed for long range purposes.

I know it can be made by debug[x] values, but perhaps it could be included in the main code. Should be something like (voltage * amperage) / speed, and a simple filtering of that. Thx.

minim osd does not start

When I connect minim osd with scarab to multiwii pro (2.3 and 2.4 tested) - it seems it does not start. power leds are on, but yellow led flashes once bright and 2-3 dimmed and then goes off.

when I connect usb device to flight controller - yellow led starts to blink rapidly (as it should). I had very same effect with rush-osd firmware (video: https://www.youtube.com/watch?v=VEhL8eA1d7k)

the main difference is that with scarab I cannot make it work when disconnecting usb (with rush-osd it sometimes worked OK after disconnecting).

I have exactly this minim: http://www.aliexpress.com/item/On-Screen-Display-Ardupilot-Mega-Mini-OSD-Rev-1-1-OSD-diy-drones-APM2-0-APM2/1691027880.html
and this multiwii pro: http://hobbyking.com/hobbyking/store/__26588__multiwii_pro_flight_controller_w_mtk_gps_module.html

now I have multiwii 2.4 and scarab-osd 1.3

any help and suggestions appreciated...

OSD doesn't overlay after flash unless camera is unplugged...

I recently purchased a RCTimer MACLink-OSD and a MinimOSD v1.1 and I finally flashed both of them with the latest MWOSD v1.3. Before the MAVLink-OSD had Arducam OSD v2.0 and the MinimOSD had Arducam OSD v2.1. Before I flashed them both I had plugged them in and checked to see if they are working and I saw them both boot up and go into waiting for heartbeat so I know the display overlay was working great for both. After flashing the firmware to the latest release I noticed that the OSD appeared to not overlay anything anymore. After days and weeks of troubleshooting I noticed that if I unplugged the camera IN and left the video OUT the overlay works! There appears to be some kind of issue with the software. Reason for this belief is before with Arduino OSD v2.0 I could see the overlay just fine with video but after the flash to MWOSD v1.3 and v1.2 it does not work. I have read that others have had to use other cameras but other than that I have found nothing.

Voltage display

I am having trouble with voltage display. The voltage is at the top of the screen, however, the simulator displays it at the bottom (as desired). I have tried editing the layout, as well as clearing EEPROM and reconfiguring etc.

I am using MWOSD 1.4 on a KVTEAM modded witespy minimOSD. I am using voltage from flight controller. The voltage is correct, the display location is wrong and I have not been able to resolve this.

MW_OSD_GUI.bat throws exception for MW_OSD_GUI/application.windows64

When executing MW_OSD_GUI.bat (MWOSD R1.3 SP2), the following exception is thrown:

ControlP5 2.0.4 infos, comments, questions at http://www.sojamo.de/libraries/con
trolP5
java.lang.UnsatisfiedLinkError: C:\Users\DELL-E6510\Google Drive\Engineering Tec
h\OSD\MWOSD\MW_OSD_GUI\application.windows64\lib\rxtxSerial.dll: Can't load AMD
64-bit .dll on a IA 32-bit platform thrown while loading gnu.io.RXTXCommDriver
java.lang.UnsatisfiedLinkError: C:\Users\DELL-E6510\Google Drive\Engineering Tec
h\OSD\MWOSD\MW_OSD_GUI\application.windows64\lib\rxtxSerial.dll: Can't load AMD
64-bit .dll on a IA 32-bit platform
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(Unknown Source)
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at gnu.io.CommPortIdentifier.(CommPortIdentifier.java:123)
at processing.serial.Serial.list(Unknown Source)
at MW_OSD_GUI.setup(MW_OSD_GUI.java:804)
at processing.core.PApplet.handleDraw(PApplet.java:2280)
at processing.core.PGraphicsJava2D.requestDraw(PGraphicsJava2D.java:243)

    at processing.core.PApplet.run(PApplet.java:2176)
    at java.lang.Thread.run(Unknown Source)

Exception in thread "Animation Thread" java.lang.RuntimeException: Error inside
Serial.ports()
at processing.serial.Serial.errorMessage(Unknown Source)
at processing.serial.Serial.list(Unknown Source)
at MW_OSD_GUI.setup(MW_OSD_GUI.java:804)
at processing.core.PApplet.handleDraw(PApplet.java:2280)
at processing.core.PGraphicsJava2D.requestDraw(PGraphicsJava2D.java:243)

    at processing.core.PApplet.run(PApplet.java:2176)
    at java.lang.Thread.run(Unknown Source)

Current readings

Maybe I'm too tired to think properly, but the latest beta the current readings seem to be very off.

The change seems to divide the 10mA reading by 10 when it seems the base value is 100mA, shouldn't it multiply?

#elif AMPERAGE_10ma
amperage = MWAmperage / 10;

Issue changing battery cells to 3 in configurator

I'm using 1.4pre5 and the x64 configurator and when I go to change the battery cells from the default of 4 to 3 I keep having this issue when trying to write where it just says waiting for FC forever. I've tried changing it to 6 and also back to 4 and it works fine with either of those values but it won't write if I have it on 3 battery cells. I've also found that if i deselect display battery voltage and have it on 3 cells that will work. Strange issue, has anyone else seen this before?
Do I even need to select the right battery cells since i'm using cleanflight and getting my battery info from the flight controller?

Clock running slow

I just noticed this by accident when I was editing some video from my DVR. The timer is runing significantly slow. From arm to disarm in the video is just over 4 minutes, and the OSD is showing 3:31. It gets even more pronounced on longer runs. After noticing I started paying attention, and a flight today the OSD said 5 minutes and the timer on my transmitter said almost 7.

This is on stable 1.3 running on a full size minimOSD. Also as a side note, the mAh readings are off as well due to the clock runing slow. They seem to be high by the same ratio even when the instantaneous readings are accurate.

config.h comments misleading

in config.h, comments that indicate what the #define do are misleading

//#define MULTIWII_V24 // Undefine this if you are using MW versions 2.4

It should say either "define" or "uncomment"

Crazy idea: MAVlink support?

Seeing how active, properly setup and developed this project is, I can't help but wonder why the equivalent project for ardupilot is so underdeveloped.

Taking into account that the whole ardupilot community has to rely on the MinimOSD-extra project, it's painful to watch how slowly that moves, how badly organized it is and how behind it has fallen. I don't mean to criticize the developers, they're doing their best and we all only have so much time left after our day jobs, but the truth is that that project needs changes. I'm just saying that MW OSD's progress is impressive.

So, I was thinking, how hard would it be for MW OSD to support parsing of the MAVlink protocol, so that it can be used on APM/Pixhawk setups, too? I guess this is the relevant code https://github.com/diydrones/MinimOSD-Extra/blob/master/MinimOsd-Extra/MAVLink.ino

This is not a feature request, just a discussion.

Current values from FC off by an order of magnitude

I upgraded from 1.3 and had current display from FC working fine. I seem to get the right values now if I enable "legacy MSP" support for current sensing, but that throws the baseflight GUI off by an order of magnitude the other way.

This is somewhat workable, but it'd be nice if baseflight and MWOSD agreed.

Deleted

Super minor but figured you want want to change before release:

define INTRO_VERSION "MW-OSD DEV - R1.3SP2" // Call the OSD something else if you prefer. KVOSD is not permitted - LOL.

Minimosd micro fails to store a new font

I tried multiple times to load the provided font and never got any error message. The font it is displaying on the video signal is still the font that came preloaded with the osd.
Tried lowering the baudrate for programming and an older version. Nothing worked so far. Any idea?

MW_OSD_GUI 1.5.0.0 won't start on OS X Yosemite

Even with the security settings disabled, the GUI won't start.

The error message is:

mw_osd_gui error dialog

Try from the command line:

application.macosx rob$ ls -alh MW_OSD_GUI.app/Contents/MacOS/MW_OSD_GUI 
-rw-r--r--@ 1 rob  staff    63K Aug  3 06:34 MW_OSD_GUI.app/Contents/MacOS/MW_OSD_GUI
$ open MW_OSD_GUI.app
LSOpenURLsWithRole() failed with error -10810 for the file /Users/rob/Downloads/scarab-osd-1.5.0.0/MW_OSD_GUI/application.macosx/MW_OSD_GUI.app.

In Console.app

8/8/15 10:36:33.404 AM com.apple.xpc.launchd[1]: (com.apple.xpc.launchd.oneshot.0x10000029.MW_OSD_GUI[15964]) Could not find and/or execute program specified by service: 13: Permission denied: /Users/rob/Downloads/scarab-osd-1.5.0.0/MW_OSD_GUI/application.macosx/MW_OSD_GUI.app/Contents/MacOS/MW_OSD_GUI

Now make the binary executable and try again

$ chmod a+x MW_OSD_GUI.app/Contents/MacOS/MW_OSD_GUI
$ ls -alh MW_OSD_GUI.app/Contents/MacOS/MW_OSD_GUI
-rwxr-xr-x@ 1 rob  staff    63K Aug  3 06:34 MW_OSD_GUI.app/Contents/MacOS/MW_OSD_GUI 
$ open MW_OSD_GUI.app

Which then allows you to confirm and open as expected

mw_osd_gui open dialog

yay! 👊

Osd not start

Hi..
I have a error..I use microosd and flash latest release, I use átom cc3d with boris b. beta cleanflight,
Camera ntsc, microosd connect to main port..ground,TX and rx..VLC i connect from 5v polulu step down..polulu power flight control, rx and osd only..camera it's power from another 5v lineal regulator.
Osd start and display data, when I disconnect my rx radio from cc3d, when connect the rx the osd not start and the led in microosd only blink 1 time, disconnect the main port the osd start and shows no data available..
Check all voltages and not find issue..the osd start and show data only when rx disconnected
Only for test I flash rushosd and works ok..no problem at all.
I hope for you's help..any idea to solve??
Have nice day
Regrds

Won't connect on Ubuntu 14.04 64-bit

The GUI starts, but when I click on the port the FTDI/OSD are connected to, I get a core dump and it crashes.

Using MWOSD 1.3, Ubuntu 14.04 64-bit, Java SE 1.7.0_76.

Parts of the error log:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007ff9fb58e6e6, pid=9618, tid=140712542066432
#
# JRE version: Java(TM) SE Runtime Environment (7.0_76-b13) (build 1.7.0_76-b13)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (24.76-b04 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C [librxtxSerial.so+0x76e6] Java_gnu_io_RXTXPort_nativeDrain+0xd6
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# If you would like to submit a bug report, please visit:
# http://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

Mac GUI fails to launch

attempting to run the latest version, the mac gui fails to launch and prompts the user to delete the app.

The previous version listed on the site worked

Move crosshair with camera gimbal

I have a pitch gimbal on my camera that i can move either manually or with cleanflight's camstab feature. Can the crosshair (and AHI) move up and down on the screen to maintain some truth to which way the craft is pointed at? I'd be happy even if it had to move by a full text line at a time.

GUI Freezes

I just downloaded MASTER.

As soon as the GUI connects, it freezes. I can't enable/disable options or click on load or save buttons.

The only config.h changes I've made are to enable the following:
WITESPYMICRO (and disabled MINIMOSD)
CLEANFLIGHT190 (and disabled MULTIWII)
INTRO_MENU (and disabled INTRO_VERSION)

When the GUI starts, it does connect to the board and load the configurations from the board. I just can't change anything. Also, both leds flash rapidly on the ftdi board so I'm guessing that the MSP info is flowing.

I've tried both application.windows32 and 64bit on a windows7 machine. I then tried the GUI for the K.... R1.3 and I was able to read the config from the board and adjust settings but the gui simulate screen said 'disconnected'.

Any ideas?

I'm going to revert config.h to see if that makes a difference.

can't set roll rate

I'm running baseflight_pr and tried to adjust roll and pitch rate in the field. Pitch rate took, but roll rate reset itself after change.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.