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:
- Changeable unit measurement (US, metric)
- Home alt
- Battery Percent
- Battery used mah
- Current Draw
- Time From Startup (cleared at takeoff to show exact flight time)
- OSD Menu
- 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
- Smoothened horizon
- Real heading
- 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
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! :)
Yes, I like to complete the TauLabs Mavlink support.
And yes, I know what you mean ;)
But I like to add the new mode_str
I can do it in my fork, but I like to have it in the main code.
Thats why I ask, whats the best way!
I like to add the following strings:
And a other thing:
'retl' should be 'RTH'
'posi' should be 'PH'
Thats the shortcuts I normaly see for that ;)
I'm afraid we won't be including that new modes in the main code.
The main fork is intended to be as abstract as possible, i.e., If there was a standard in mavlink which said "code x means flight mode string y" then it would make sense, and any mavlink compliant platform would show the right flight mode.
Also the first goal of the main fork is to be compatible with APM.
Nonetheless I may help you to make the a custom fw if you want.
Regarding the renaming of the flight modes I think you got a good point on that.
RETL - I wouldn't call RTH but something similar RTL since in Arducopter it stands for "Return To Launch" or to be more precise "Return To Armed" (that's when it sets RTL position) although RTA doesn't sound right. I'll think a bit more on that.
POSI - Totally agree with you, PH would make more sense.
where is the problem to have some additional Flight Modes perhaps beginning with ID 100?
In this case APM can create a lot, but all other (I) are happy too.
Perhaps there a other FC with flight modes (Harakiri, OpenPilot, MultiWii ...) that want to use this feature too.
To create the firmware is not really a problem ;)
The only problem is to keep it up to date ;)
Could you add the
if osd_mode> APPHighID than
mode_str = osd_mode;
Than I can send IDs like 100 ...
I'm getting a strange behavior on the RSSI output, i've set the correct numbers but (raw is not ticked so I can get the LQ in %) however, the actual output on the OSD still shows the raw.. strangely mid-flight it occasionally changes to LQ%. Here's what I mean.. the 2 images came from the same flight, about 1 minute apart (00:11:24 minute and the next one 00:12:21) .. Notice the RSSI values on the upper left.
AFAIK no news :(
We'll keep fighting against space I guess :S :)
In APM dataflash logs you may also check the voltage so you may decide which will be the best setting for you ;)
The only problem creating custom flight modes in the main fw is that we're out of code space. So when we find some code improvements (which we still have to do) we prefer to include new features.
Also making a unique fw with custom flight modes for each flight controller will lead to a lot of entropy in code.
Your edited tip is a good one, thanks!
However we cannot make mode_str = osd_mode directly because are different types of variables.
The best implementation I tried for this will use 72 bytes of code space.
To have an idea, we are struggling to try to save around 100 bytes of code space improving existing code. So 72 bytes are "a lot" :S
It seems that min and max values are not setted well.
Could you tell me a bit more about your setup:
osd fw version
CT Tool version
mavlink rssi or ch8
CT Tool setted RSSI Min and Max values
I'm using the following:
2) CTools 18.104.22.168 r727
3) channel 8
4) when I use 'raw' for the rssi, I get the max value at 1085 and the minimum at 1489 (yes its reversed!) -- however, in AP2 under radio calibration I get a min of 995 (ie no plugged rc tx) and a max of 1795 coming from channel 5 (which is plugged to channel 8 of the APM2.6). I'm using the numbers seen by minimosd and when I use percent full link quality gives me '0%' and no link (ie unplug rc tx) gives me 100%. Reversing it gives me a very high four digit negative percentage.. Any ideas?
In the meantime, I suppose I can 'reverse' my understanding of the LQ% in the meantime =)
I am updating the MinimOSD and installed
- CT Tool for MinimOSD Extra 22.214.171.124 Pre Release r727
A good part is working fine. Is this FW not showing ARMED/DISARMED status anymore ? I am also missing the prefixes for airspeeed and throttle. I suspect having a wrong charset and tried others without success.
AS icons can be turned on/off using CT.
If youare using Plane, it is not in yet. I mean ARMED/DISARMED message.
For throttle, i have removed it fixed. Like it is quite sraight, that that is throttle. :)
thanks for help. Did not make the link between "sign" and "icon". Everything all right.