Dunning-Kruger
Canada
Asked
— Edited
Has anyone else discovered the video overlays in the camera control? I just discovered this and I haven't seen a topic on it so I thought I would post.... While the camera is on, right click on the video image and you can embed a text overlay on the video image itself... Sort of like a HUD... I have in one of my projects a ping distance sensor displayed on the video image...
I've had overlays, Melvin has his battery voltage and the time/date overlaid. But you are right, it isn't something which is documented and rarely mentioned.
thats good
Thanks for that. It was something I did not know. It is a neat feature to have.
Neato Burrito! Good find Richard
Can someone provide an example of the code you put into the window so you can for example; overlay real time data, such as the battery voltage of the EZB v4, date and time, ping sensor data?
The overlay uses variables. Your variables may change depending on what scripts you have and if you have changed any settings. To see all variable names add the variable watcher (this is the simplest method, there are others).
Then, for the overlay simply use the variable name i.e. $Hour
Cool love it It also works on v3
One line of code will do that... Here is an example to display the voltage level.... You can add more than one overlay, by the way....
@Richard are script commands allowed in there? I haven't used it for a while but thought it was only actual variables (however it wouldn't surprise me to learn script commands such as GetVoltage() GetPing(D7, D8) etc work
@Rich... The above works for me, so does GetPing..... So the answer I guess is yes, albeit one script line only... However, you can have more than one overlay if you need a ping and maybe voltage reading as well....
I guess something like this would also work...
@Rich... I just tried your code... works perfectly as an overlay....
Thanks guys
just refreshing a nice find
https://synthiam.com/Community/Questions/2040