It’s the single cell battery voltage reported by the flightcontroller as read by the power module on board. Full lipo around 4.2 down to 3.5 on landing, so it’s working
EDIT: To be more precise, it’s the total battery voltage reported by the flightcontroller divided by the cell count detected by the script. On a 3s lipo pack max voltage is 4.2*3=12.6, flightcontroller reports 12.6 via telemetry, script detects it’s a 3s and displays 12.6/3 = 4.20 on screen.
Hi Alex,
Thank you very much for your “Yaapu Telemetry Script”.
It is very elegant and practical with the on screen information given.
I do however, have a bit of a problem.
I have a Quad Plane and when yaapu script is started, everything is as it should be and works well.
When I try to arm the Plane, the screen still shows “Disarmed” and the screen freezes (values don’t change).
After about 10 second a voice alert says “Sensor Lost” and that is where it stays.
When I disarm the plane, the screen comes back to life with the “Disarmed” icon still flashing
and it is all back to the way it should be.
When it comes back to normal, there are 2 alert beeps and the Alert Screen says
"19 DBG Throttle Armed and 20 DBG Throttle disarmed" straight after it comes back.
It seems that when you try to “Arm” the model, the script can’t find what it is looking for (Frame Type maybe)
and just sits there lost and waiting for some sort of input. The script still appears to be running.
I hope that I have explained it well enough.
If you need anymore info, ask away.
I also found that the Serial Inverter (Some Soldering Required) gets extremely hot when first powered up.
I found that if you disconnect the battery and then reconnect 5 seconds later, it will run cool.
Something not quite right there. Might have a look at it when I get time or just leave it as it is
now that I know.
When I try to arm the Plane, the screen still shows “Disarmed” and the screen freezes (values don’t change).
After about 10 second a voice alert says “Sensor Lost” and that is where it stays.
When I disarm the plane, the screen comes back to life with the “Disarmed” icon still flashing
and it is all back to the way it should be.
You probably have a problem with logging on your sd card. Writing on sd starts as soon as you arm.
telemetry is freezing on your vehicle not on the radio
Hi Alex,
You were spot on.Replaced the card with a class 10 and it worked straight away.
The weather has not been to kind here and haven’t had a chance to fly it yet so I would like to ask, when does the “Armed” icon disappear to reveal the Home Direction?
Thanks again. I would never have thought of looking at the SD card as the problem.
That is what I thought.
The Flight Timer on my setup is not counting and therefore the warning does not disappear.
I had a look at the configs but can’t see any timer mentioned.
Do i have to set it up on the X10 or in Arduplane.
Bruce
Just found something interesting.
The X10 will discover all the sensors in the sensors list which have to be typed in.
You select “Discover Sensors” but don’t turn it off. Start the “Yaapu Script” then when you go back to the Telemetry screen, you will find them all there. Then turn off discovery. I checked all of them against the list and found the “A2” was the only one that didn’t match up with the list.
Thanks Bruce, good catch, I’ll add it to the documentation 'cause it’s a much simpler way of doing it.
As for the Arm/disarm window that’s strange.
On a quad as soon as you arm and raise throttle ardupilot sets the “vehicle is flying” status right away and the script starts the timer.
just to be clear, did you arm and give gas or just arm?
By looking at @hurzburg telemetry logs we found out that with EKF disabled the current telemetry library does not send vspeed info, this is an ardupilot issue.
While we wait for the ardupilot team to fix it I’ve added a “synthetic vspeed” calculated by the altitude variance, it has to be enabled in the menu to be used.
It will be available in the next release.
@hurzburg did you open the issue or should I do it, if it’s open could you link it here, thanks
Came across it by accident.
Wondered where all the sensors came from then realized I forgot to stop discovery.
Yes the plane was armed and the window shows armed.
When the throttle is raised the motor runs but not the timer.
I let it run for at least a minute and a half but still no counter.
Just thought of something when you mentioned a copter. I have not tried the quad side of it yet.
The motor I am talking about is the plane drive motor not the quad motors.
Maybe the two are handled differently.
Bruce
Just found out what is causing the counter problem.
It won’t work while it is any of the plane modes (Manual or FBWA flight modes).
When QStabilize or QHover is selected the counter and armed warning both work.
If you go back to manual (or transition) mode it still works.
Not a problem at all when you think about it after all it is a Quad Plane.
Bruce
While looking at @hurzburg logs I noticed another small issue.
The default capacity parameter of the second battery monitor is set to 3300
This gets sent by the frsky telemetry library as second battery capacity > 0 which the script sums to the first battery to calculate total capacity and generates on offset in “fuel” vocal alerts.
So if battery % vocal alerts are acting weird please check that parameter value and set it back to 0!
Alex, everything working well! thanks!..one input however…the synthetic vertical speed/ vario is wildly fluctuating…
even in my OSD setup config program, there is an option to filter the Mavlink vertical speed by a 30 or 100 sample running average…I usually use the 100 sample option, even then, it bounces a good deal from update to update but is useable…
perhaps putting a menu configurable running average on the vertical speed (even if provided by telem) would be worthwhile…ie set the number of samples for a running average of the speed before its displayed numerically or on vario?maybe 1 to 100?
I increased the sample period to 750ms and on my setup is usable, before it was fluctuating a lot. I updated the code on GitHub, if you have a chance try this new setting.