I have started to add functions to MinimOsd code.

At first i did it for myself only. Added many functions i thought i need. Then opened this thread.

after a while, Pedro and later Miguel came, and things started to happen fast. :D

They have optimised the code and added even more things to it.

They have worked hard on CT, and it became a great tool!

Thank you Bough! :)

By now MinimOSD-Extra got a pretty advanced OSD.

Here it is in action:

Added:

- Changeable unit measurement (US, metric)

- Airspeed

- Home alt

- Battery Percent

- Battery used mah

- Current Draw

- Time From Startup (cleared at takeoff to show exact flight time)

- OSD Menu

- Variometer

- Wind horizontal speed and direction, and also the average wind speed of the last few minutes. 

- OSD on/off

- Switchable secound screen

- WP distance

- WP heading

- Crosstrack error

- Warning messages for Lost GPS fix, Stall, Overspeed, battery volt, battery Percent, RSSI

- Efficiency, glide distance & thermic notifier. 3 in one panel

- OSD Brightness

- HAM Call Sign

- After flight summary

- Trip distance

- Temperature

- Smoothened horizon

- Real heading

- RSSI

- Vertical speed

This functions can be turned on and off, and placed on different screens now, by the Config. tool.

Also RSSI, switching mode and channel and unit measurement, Stall speed warning, Overspeed warning, Battery warning volt, Battery percent warning, RSSI warning,  can be set in new Config Tool.

We built in a new way of setting video standards. Now OSD does not guessing anymore :). You can set it fixed from CT. It is in "Video Mode" menu.

Here is how it looks: (This video is a bit outdated, sorry. I will make a new one soon.)

The MinimOSD-Extra project is here: Link

This project is the developing version of the official Arducam OSD located here: Link

The latest stable version is: 2.2

The latest version can be downloaded from here: MinimOSD-Extra R800

Username: MinimOSD_Extra

Password: Top_Secret

CT is included. (The FW for Plane, Copter, Character upload and the character file is in the "FW & Char" directory inside CT directory)

We are sharing it to see videos you make using it! :)

Enjoy

Views: 293393

Reply to This

Replies to This Discussion

I'd be in for the crowd funding.

Hi!

PLS help!

I start to work with code of MinimOsd-Extra under Arduino 1.0.6 for plane.

I make a copy of project (use SVN Client).

I copy files from Trunk----MinimOsd-Extra  catalog  to Arduino Arducam_OSD catalog and also Trunk-- libraries to Arduino libraries. Set board Arduino Nano w/328. 

Start verify and see many warnings and errors:

OSD_Panels.ino:247:27: warning: character constant too long for its type
ArduCAM_OSD.ino: In function 'void __vector_18()':
ArduCAM_OSD.ino:95: warning: comparison between signed and unsigned integer expressions
Font.ino: In function 'void uploadFont()':
Font:20: error: no matching function for call to 'FastSerial::printf_P(prog_char_t*)'
E:\arduino-1.0.6\Arduino\libraries\FastSerial/BetterStream.h:28: note: candidates are: void BetterStream::printf_P(const char*, ...)
Font:87: error: no matching function for call to 'FastSerial::printf_P(prog_char_t*)'
E:\arduino-1.0.6\Arduino\libraries\FastSerial/BetterStream.h:28: note: candidates are: void BetterStream::printf_P(const char*, ...)
OSD_Config_Func.ino: In function 'void InitializeOSD()':
OSD_Config_Func:50: error: no matching function for call to 'OSD::printf_P(prog_char_t*)'
E:\arduino-1.0.6\Arduino\libraries\FastSerial/BetterStream.h:28: note: candidates are: void BetterStream::printf_P(const char*, ...)
OSD_Panels.ino: In function 'void panLogo()':
OSD_Panels:15: error: no matching function for call to 'OSD::printf_P(prog_char_t*)'
E:\arduino-1.0.6\Arduino\libraries\FastSerial/BetterStream.h:28: note: candidates are: void BetterStream::printf_P(const char*, ...)
OSD_Panels.ino: In function 'void panDistance(int, int)':
OSD_Panels.ino:176: warning: format '%5.2f' expects type 'double', but argument 4 has type 'float'
OSD_Panels.ino:178: warning: format '%5.0f' expects type 'double', but argument 4 has type 'float'
OSD_Panels.ino: In function 'void panFdata()':
OSD_Panels.ino:193: warning: format '%5.0f' expects type 'double', but argument 26 has type 'float'
OSD_Panels.ino: In function 'void panTemp(int, int)':
OSD_Panels.ino:207: warning: format '%5.1f' expects type 'double', but argument 4 has type 'float'
OSD_Panels.ino: In function 'void panEff(int, int)':
OSD_Panels:230: error: no matching function for call to 'OSD::printf_P(prog_char_t*)'
E:\arduino-1.0.6\Arduino\libraries\FastSerial/BetterStream.h:28: note: candidates are: void BetterStream::printf_P(const char*, ...)
OSD_Panels.ino:248: warning: format '%4.0f' expects type 'double', but argument 4 has type 'float'
OSD_Panels:252: error: no matching function for call to 'OSD::printf_P(prog_char_t*)'
E:\arduino-1.0.6\Arduino\libraries\FastSerial/BetterStream.h:28: note: candidates are: void BetterStream::printf_P(const char*, ...)
OSD_Panels:254: error: no matching function for call to 'OSD::printf_P(prog_char_t*)'
E:\arduino-1.0.6\Arduino\libraries\FastSerial/BetterStream.h:28: note: candidates are: void BetterStream::printf_P(const char*, ...)
OSD_Panels.ino: In function 'void panWarn(int, int)':
OSD_Panels.ino:678: warning: deprecated conversion from string constant to 'char*'
OSD_Panels.ino:679: warning: deprecated conversion from string constant to 'char*'
OSD_Panels.ino:680: warning: deprecated conversion from string constant to 'char*'
OSD_Panels.ino:681: warning: deprecated conversion from string constant to 'char*'
OSD_Panels.ino:682: warning: deprecated conversion from string constant to 'char*'
OSD_Panels.ino:683: warning: deprecated conversion from string constant to 'char*'
OSD_Panels.ino: In function 'void panBatteryPercent(int, int)':
OSD_Panels.ino:723: warning: format '%5.0f' expects type 'double', but argument 4 has type 'float'
OSD_Panels.ino: In function 'void panHorizon(int, int)':
OSD_Panels:782: error: no matching function for call to 'OSD::printf_P(prog_char_t*)'
E:\arduino-1.0.6\Arduino\libraries\FastSerial/BetterStream.h:28: note: candidates are: void BetterStream::printf_P(const char*, ...)
OSD_Panels.ino: In function 'void panWPDis(int, int)':
OSD_Panels.ino:1011: warning: format '%4.0f' expects type 'double', but argument 6 has type 'float'
OSD_Panels:1013: error: no matching function for call to 'OSD::printf_P(prog_char_t*)'
E:\arduino-1.0.6\Arduino\libraries\FastSerial/BetterStream.h:28: note: candidates are: void BetterStream::printf_P(const char*, ...)
OSD_Panels.ino: In function 'void panFlightMode(int, int)':
OSD_Panels.ino:1043: warning: deprecated conversion from string constant to 'char*'
OSD_Panels.ino:1044: warning: deprecated conversion from string constant to 'char*'
OSD_Panels.ino:1045: warning: deprecated conversion from string constant to 'char*'
OSD_Panels.ino:1046: warning: deprecated conversion from string constant to 'char*'
OSD_Panels.ino:1047: warning: deprecated conversion from string constant to 'char*'
OSD_Panels.ino:1048: warning: deprecated conversion from string constant to 'char*'
OSD_Panels.ino:1049: warning: deprecated conversion from string constant to 'char*'
OSD_Panels.ino:1050: warning: deprecated conversion from string constant to 'char*'
OSD_Panels.ino:1051: warning: deprecated conversion from string constant to 'char*'
OSD_Panels.ino:1052: warning: deprecated conversion from string constant to 'char*'
OSD_Panels.ino:1053: warning: deprecated conversion from string constant to 'char*'
OSD_Panels.ino:1054: warning: deprecated conversion from string constant to 'char*'
OSD_Panels.ino:1055: warning: deprecated conversion from string constant to 'char*'
/OSD_Vars.h: At global scope:
/OSD_Vars.h:120: warning: 'osd_windspeedz' defined but not used
/OSD_Vars.h:137: warning: 'convertt' defined but not used

My question- this is normal or something I did wrong?

Thanks in advance!

The 3.2 ArduCopter release no longer populates long and lat or the battery condition...

I looked at the Arducopter and plane code side by side and I cant see anything obvious, does anyone have any ideas ?

Keep hitting enable telemetry (in mission planner) and restart the board each time until it works,,Im sure there is a more technical way but that worked for me.

Gabor and others,

Not sure if you saw this already?

Just an idea of some OSD, maybe something could be used from it for the future version of Minim OSD?

http://youtu.be/uB8LDlTGtjQ


http://youtu.be/DKLbMQLKp4k


Regards,

Pavel

Copy the "MinimOSD_Extra_Plane_Pre_release_Beta" and "librariesOK" folders to a new location. Rename "librariesOK" to "libraries." Set the sketch directory to that new location. Load up the "MinimOSD_Extra_Plane_Pre_release_Beta" sketchbook, make sure "Arduino Pro or Pro Mini 5V 328" is the selected board, and profit.

I am very grateful for your help! I did everything you said. Errors were gone, but Warnings in the remaining.
I ask you again to look.

In file included from MinimOSD_Extra_Plane_Pre_release_Beta.ino:81:
/OSD_Vars.h:90: warning: this decimal constant is unsigned only in ISO C90
OSD_Panels.ino:241:27: warning: character constant too long for its type
OSD_Panels.ino: In function 'void panDistance(int, int)':
OSD_Panels.ino:169: warning: format '%5.2f' expects type 'double', but argument 4 has type 'float'
OSD_Panels.ino:171: warning: format '%5.0f' expects type 'double', but argument 4 has type 'float'
OSD_Panels.ino: In function 'void panFdata()':
OSD_Panels.ino:186: warning: format '%5.0f' expects type 'double', but argument 8 has type 'float'
OSD_Panels.ino:186: warning: format '%5.0f' expects type 'double', but argument 11 has type 'float'
OSD_Panels.ino:186: warning: format '%5.0f' expects type 'double', but argument 26 has type 'float'
OSD_Panels.ino: In function 'void panTemp(int, int)':
OSD_Panels.ino:201: warning: format '%5.1f' expects type 'double', but argument 3 has type 'float'
OSD_Panels.ino: In function 'void panEff(int, int)':
OSD_Panels.ino:222: warning: format '%4.0f' expects type 'double', but argument 4 has type 'float'
OSD_Panels.ino:242: warning: format '%4.0f' expects type 'double', but argument 4 has type 'float'
OSD_Panels.ino: In function 'void panTune(int, int)':
OSD_Panels.ino:515: warning: format '%3.0f' expects type 'double', but argument 4 has type 'float'
OSD_Panels.ino: In function 'void panWarn(int, int)':
OSD_Panels.ino:664: warning: deprecated conversion from string constant to 'char*'
OSD_Panels.ino:663: warning: suggest explicit braces to avoid ambiguous 'else'
OSD_Panels.ino:670: warning: deprecated conversion from string constant to 'char*'
OSD_Panels.ino:669: warning: suggest explicit braces to avoid ambiguous 'else'
OSD_Panels.ino:676: warning: deprecated conversion from string constant to 'char*'
OSD_Panels.ino:675: warning: suggest explicit braces to avoid ambiguous 'else'
OSD_Panels.ino:682: warning: deprecated conversion from string constant to 'char*'
OSD_Panels.ino:681: warning: suggest explicit braces to avoid ambiguous 'else'
OSD_Panels.ino:688: warning: deprecated conversion from string constant to 'char*'
OSD_Panels.ino:687: warning: suggest explicit braces to avoid ambiguous 'else'
OSD_Panels.ino:694: warning: deprecated conversion from string constant to 'char*'
OSD_Panels.ino: In function 'void panBatteryPercent(int, int)':
OSD_Panels.ino:745: warning: format '%4.0f' expects type 'double', but argument 4 has type 'float'
OSD_Panels.ino: In function 'void panHomeDis(int, int)':
OSD_Panels.ino:788: warning: format '%5.2f' expects type 'double', but argument 4 has type 'float'
OSD_Panels.ino:790: warning: format '%5.0f' expects type 'double', but argument 4 has type 'float'
OSD_Panels.ino: In function 'void panWPDis(int, int)':
OSD_Panels.ino:1061: warning: format '%4.0f' expects type 'double', but argument 6 has type 'float'
OSD_Panels.ino: In function 'void panFlightMode(int, int)':
OSD_Panels.ino:1093: warning: deprecated conversion from string constant to 'char*'
OSD_Panels.ino:1094: warning: deprecated conversion from string constant to 'char*'
OSD_Panels.ino:1095: warning: deprecated conversion from string constant to 'char*'
OSD_Panels.ino:1096: warning: deprecated conversion from string constant to 'char*'
OSD_Panels.ino:1097: warning: deprecated conversion from string constant to 'char*'
OSD_Panels.ino:1098: warning: deprecated conversion from string constant to 'char*'
OSD_Panels.ino:1099: warning: deprecated conversion from string constant to 'char*'
OSD_Panels.ino:1100: warning: deprecated conversion from string constant to 'char*'
OSD_Panels.ino:1101: warning: deprecated conversion from string constant to 'char*'
OSD_Panels.ino:1102: warning: deprecated conversion from string constant to 'char*'
OSD_Panels.ino:1103: warning: deprecated conversion from string constant to 'char*'
OSD_Panels.ino:1104: warning: deprecated conversion from string constant to 'char*'
OSD_Panels.ino:1105: warning: deprecated conversion from string constant to 'char*'
/OSD_Vars.h: At global scope:
/OSD_Vars.h:50: warning: 'check_warning' defined but not used
/OSD_Vars.h:94: warning: 'warning_found' defined but not used
/OSD_Vars.h:129: warning: 'osd_windspeedz' defined but not used
/OSD_Vars.h:164: warning: 'convertt' defined but not used
/OSD_Vars.h:176: warning: 'waitingMAVBeats' defined but not used
/OSD_Vars.h:180: warning: 'enable_mav_request' defined but not used
E:\arduino-1.0.6\Arduino\hardware\arduino\cores\arduino\HardwareSerial.cpp: In function 'void store_char(unsigned char, ring_buffer*)':
E:\arduino-1.0.6\Arduino\hardware\arduino\cores\arduino\HardwareSerial.cpp:98: warning: comparison between signed and unsigned integer expressions
E:\arduino-1.0.6\Arduino\hardware\arduino\cores\arduino\HardwareSerial.cpp: In function 'void __vector_18()':
E:\arduino-1.0.6\Arduino\hardware\arduino\cores\arduino\HardwareSerial.cpp:127: warning: unused variable 'c'
E:\arduino-1.0.6\Arduino\hardware\arduino\cores\arduino\HardwareSerial.cpp: In member function 'void HardwareSerial::begin(long unsigned int, byte)':
E:\arduino-1.0.6\Arduino\hardware\arduino\cores\arduino\HardwareSerial.cpp:368: warning: unused variable 'current_config'
E:\arduino-1.0.6\Arduino\hardware\arduino\cores\arduino\HardwareSerial.cpp: In member function 'virtual size_t HardwareSerial::write(uint8_t)':
E:\arduino-1.0.6\Arduino\hardware\arduino\cores\arduino\HardwareSerial.cpp:467: warning: comparison between signed and unsigned integer expressions
E:\arduino-1.0.6\Arduino\hardware\arduino\cores\arduino\Stream.cpp: In member function 'bool Stream::find(char*)':
E:\arduino-1.0.6\Arduino\hardware\arduino\cores\arduino\Stream.cpp:78: warning: deprecated conversion from string constant to 'char*'
E:\arduino-1.0.6\Arduino\hardware\arduino\cores\arduino\Tone.cpp:119: warning: only initialized variables can be placed into program memory area

Maybe I mast use more old Arduino version?

Thank You advance!

That's normal, they're only warnings. I get all of those as well, and pretty much every large sketch that I've ever compiled has tons of warnings, and still works fine.

I used to wonder if there could be a problem back when I used to compile APM firmware and would see all those warnings because that could have caused a crash but nope, everything has always been fine.

I'm really grateful to you!

If you would be so kind, I'd like to get you more advice.

I want to create on the basis of OSD project for example "subpanel
 horizon" on Panel #1 for graphic display of the data from Pixhawk under the MAV-Link protocol. The same data already use by OSD program to display in some other sub-panels in the form of figures.

But I do not have Pixhawk, at this time, that I would have to carry out experiments.

Can you know whether can disable the standby mode "Waiting for Mavlink Beat..." in OSD?

And whether in this case the OSD display or not some blank panel on the screen with the initial "zero" values of the parameters?

Thank You advance!

mistake -not "Waiting for Mavlink Beat..." in OSD.

correct- "No mav data!"

Able to cope with this issue. Edited two files and got what I wanted.

Hi guys,

I have a weird problem with my minimOSD extra on my LCD screen

It's all working fine and looks good, but...

every few seconds it goes to another screen and back to the normal screen back and forth (it's not the 2nd panel, I have disabled it and also disabled the warning panel)

I've attached pictures showing the normal panel and the weird unknown panel.

I would highly appreciate if anyone could help me get rid of this panel

Thanks,

Ori

Reply to Discussion

RSS

© 2020   Created by Chris Anderson.   Powered by

Badges  |  Report an Issue  |  Terms of Service