Comments (7)
This could be implemented as an additional feature on the air side in one of several ways:
- Read the input voltage and send a DJI DUML message. This could even be implemented using a shell script and the
dji_mb
commands in/system/bin
provided we find the correct message to send. Benefits: Shows up natively in DJI Glasses OSD (so warnings etc. work), should be pretty easy. No tampering with the system, can probably be done without even writing any native code. Drawbacks: Maybe the message we send will conflict with HDVT or get overridden? And need to find the message to send. - Send a fake MSP "reply" over the serial mux to the DJI HDVT service, populated with the voltage read from the input pins. This also should be pretty easy. Benefits: Same as previous method, plus only relies on things we know (MSP and the mux service) instead of researching things we don't (DUML message for voltage). Drawbacks: Requires the serial mux service to be installed and run, so a little "heavier weight" in terms of tampering with the system.
- Send an MSP OSD with only a Voltage widget, populated by reading the voltage. Benefits: 100% in code we control. Drawbacks: Requires you to kill
glasses
on the goggles side and lose all DJI functionality to get only a voltage display. Heaviest weight in terms of tampering with the system.
I think approach #2 is the best - basically, extend the serial mux with a "fake flight controller" function which can reply to various MSP queries with data populated off of the Vista/AU. The existing DJI OSD functionalities can be used.
I'll take a look at this later, I had no idea the air side stuff even had voltage sensing so I'll play around.
from msp-osd.
This has been done for awhile now.
from msp-osd.
Nice!! I will look at the project and see if I can get a wing up and running to test it.
from msp-osd.
from msp-osd.
Copy that. Will be on the lookout. Thanks for addressing this. I have a couple questions but will ask on the discord to not clutter this.
from msp-osd.
Following this issue, and request that it gets reopened to ensure it doesnt fall through the cracks.
Would be great to modify the au_overlay_enabled option, or create a new option on the air unit side, to send temp and voltage without having a fc detected. As an AU option it could be enabled only as needed,
In the code it appears this only fires when we process_data_packet, which only happens while receiving msp data. @bri3d I suspect you already have a plan on how to implement this so I will stop digging though the code!
Thanks
from msp-osd.
0.6.11
from msp-osd.
Related Issues (20)
- README needs updates for config GUI
- Improvmenet: store .osd stream in internal flash
- fakehd_hide_throttle_element vs fakehd_hide_menu_switch HOT 1
- Swap to Goggles GUI without uninstalling MSP OSD? HOT 3
- HD mode is only displaying upper-left part of the designed HD area. HOT 13
- msp-osd not showing up (INAV 6.0) HOT 2
- How to read .OSD files on Windows? HOT 10
- Add configurable log levels HOT 4
- DJI OSD and MSP-OSD overlap solution
- Ardupilot + MSP DisplayPort OSDn_POWER element not displayed
- OSD Freeze when video signal is weak HOT 2
- Show Goggles temp and duty cycle in overlay
- safely default to standard white font page if coloured font pages not available
- Centering the crosshair. Is it possible? HOT 5
- .osd files with Googles V2 and DJI O3 unit? HOT 1
- Support changing resolution during .osd recording
- Timestamped .osd recordings
- Add Betaflight Goggle* and VTX* elements? HOT 3
- Recording PX4 MSP OSD HOT 1
- Tx uplink Power OSD element is not working HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from msp-osd.