[optimization Feature]


Hi,

Thanks for this great work here !

I'm testing Playuav-osd with a new Pixfalcon (aka mini Pixhawk)

I want to ask 2 features if possible
1/ Speed feature on ladder > Actually it's GPS Groundspeed
(VFR_HUD #74, 'groundspeed')
Could you make possible to choose in OSD config tool, on left ladder, Airspeed instead of groundspeed
((VFR_HUD ( #74, 'airspeed')

2/ RSSI display > there is slash > '/' after the value > is it possible to delete it if % is not diplay ?

3/ HDOP display : 1 cipher after comma is enough hdop 1.80m > 1.8m (if more than 10 > no comma and cipher for example ex 10.8m > 10m

4/ Battery Remaining > there is a slash after value but no percent symbol

5/ altitude is absolute and not relative dspite the fact that normally thi sis resolve and the last firmware. Where to find thi snumber version ?

Thanks again and very happy to test new firmware !

Here What I have tested:
https://youtu.be/Hq1Gr8ZOZno

(you can see the percent bug on the video for RSSI for example or battery percent)

PS: On manual, wiring name is video IN 2 for video IN 1. I mean the first time you connect it without radio controller, if you plug on video IN 1, you have no picture. but If you plug in video IN 2 you have (I suppose the main default video is video In 2 so it would be better to call it Video In 1 ) . For sure, this is so minor but I just want to underlign this for newbies who could think this stuff doesn't work with this kind of inversion.
Has invited:

Tom - PlayUAV

Favor from: macfly1202


Hi,

Thanks for your suggestions, I will consider them in the next release.

Best,
Tom

Tom - PlayUAV

Favor from: macfly1202


I will add an option for alternative of Speed and Altitude alarm.

For the flicking issue, I will test it in HIL and real flight. And for baud-rate, it really needs to be configurable. I will add an option for that.

Thanks.

andy

Favor from: macfly1202



macfly1202 - 38y, France, Britany I try different things in the way of
arming without success in the flickering mode issue.


I test playuav with headplay hd connected with direct RCA connector -
image of osd is perfect with AND without a cam input (Xiaomi Yi). A
bit more lighter with usb than pixfalcon power module input : this is
normal.


Here is a short sample: http://youtu.be/K_rhIYWg0L0
Wow ... that is a cool setup you have there :)

regards
Andy

Tom - PlayUAV

Favor from: macfly1202


Great! Thanks for the testing. My Fatshark 250mW is still on the way. About the flicker, I have asked the developer of Ardupilot. Below is the suggestion from Randy, and it makes sense. I will try it out tomorrow:

I think the OSD is getting confused by the heartbeat being received from the ground station (aka GCS). In Copter-3.3 we do mavlink forwarding across the telemetry ports meaning messages from the GCS are probably reaching the OSD. The way to resolve it is for the OSD to filter out the messages that are not coming from the vehicle. I think for the heartbeat that could be done using the MAV_TYPE. You'll probably find the mission planner sets the MAV_TYPE to "6" (MAV_TYPE_GCS)
Another option would be to filter by SYSID. Each MAVLink message will have a SYSID and a component ID. The vehicle is normally "1" while the GCSs are high numbers (like 255). The SYSID can be set by the user though so the perfectly correct way to do it would be for the OSD to maintain a little map of SYSID to MAV_TYPE using data collected from the heartbeats and then each time a message arrives, check if the SYSID maps to a vehicle or a GCS and throw away all the GCS ones.

Tom - PlayUAV

Favor from: macfly1202


I just released a new version of firmware. Here is the major changes:
1) Add the comment of unit of Speed-alarm and altitude-alarm. And the judgement values refer to the value used for scale bar.
2) Add parameter Misc_USART_BandRate used to set bandrate.
3) The flicker issue.
4) Fixed the row_offset and column_offset issue.

macfly1202 - 38y, France, Britany

Favor from:


Thanks Tom > Is the percent symbol a problem like on minimosd with the charset ?

Tom - PlayUAV

Favor from:


The new firmware has been released.
S1 - Not included. It need to read more Ardupilot codes.
S2,S4 - If the display font is 0(small), use '/' instead of '%'. If the display font is 1(normal) or 2(large), it will display '%'
S3 - Change it to one decimal place.
S5 - I could not get the issue you described. Could you give more details?

macfly1202 - 38y, France, Britany

Favor from:


Ok thanks Tom.
I could help you for S1.
I will have a look at the code.
when you say 'new firmware ', you speak about branch 'master' on Github ? (because prelease and dev seem to be old)

macfly1202 - 38y, France, Britany

Favor from:


Hi,
I've post some comment on diydrone
http://diydrones.com/profiles/ ... ments

I put there screenshots I made under HIL simulation with Xplane and my pixfalcon

{BUG} latitude and longitude is not display on panel 2 of OSD
{Contrats} panel 3 is awesome - I was waiting for this since so long time !

Thanks again Tom !

macfly1202 - 38y, France, Britany

Favor from:


Hi Tom,

I've hard coded - quick and dirty -

1/ airspeed instead of groundspeed
2/ relative alt instead of absolute alt

It's not possible to choose inside config tool for now but I will try.

I'm not developper but used to make change to code.
I've used PX4 toolchain to make this hex > could you have a look to it ?

Tom - PlayUAV

Favor from:


Hi,

I have put the compiled firmware onto our FTP Server. You can update it using Config Tool(also need to upgrade). Corresponding code is at the master branch.


{BUG} latitude and longitude is not displayed on panel 2 of OSD
The GPS1 is shown at panel 1 and GPS2 shown at panel 2 by default.

Could I refer to your codes about the modification? Actually, I have fixed the ALT to relative to Home altitude. osdproc.c(master branch) line#775 - #785 and line#258.

Regards,
Tom

macfly1202 - 38y, France, Britany

Favor from:


Hi Tom, I ´m ok to help but I need to know where to publish code > master / dev / prerelase branch ?

I will try to publish in master git.

Thanks for gps explanation but I see it in source code yesterday.

Tom - PlayUAV

Favor from:


Hi,

If you are familiar with GIT, you can refer to the instruction of APM

Please note the section - "Rebase-based workflow: keeping your code up to date".
You can post a pull request to master branch. I have deleted the dev/prerelease branch.

macfly1202 - 38y, France, Britany

Favor from:


Ok Tom. I will do this. I'm not so familiar with Git but Tortoise more. I could achieve this soon.
I will write you when ok.

macfly1202 - 38y, France, Britany

Favor from:


So I make a pull request for 2 main change I asked.
Thanks again !

macfly1202 - 38y, France, Britany

Favor from:


Hi again,
I pull request for Panel 2 ALT coorection because I ws encountering bug or strange altitude.
I understand why this has beem made like this but when I make / refactor my Ardustation Mega in the past, I found the same pb.
So instead I prefer to have relative alt to be sure.
Perhaps home alt is not enough strict in your condition but I didn't take time on this (fix 3D && not moving && armed etc). But with relative alt it's perfect and in case of crash, freeze or reboot, altitude on panel 2 stay correct even after this bad event.
For sure, for a tracker it's different.

Moreover, I encountering some freeze / slow in the first minutes launch but didn't know why

In more, switch panel (1-2-3) with RC is a bit tedious. I will have a look on this too.
(I m using PPM sum on OpenLRS)

ps: I've add another comment on the DIYDRONE forum - perhaps you could write / precise the firmware have been updated ? Thanks
ps2 : It's not so clear in your site to find where to download precompiled soft or config tool > Making a direct link like on DIYdrone will be easier for newbies....

Regards,

macfly1202 - 38y, France, Britany

Favor from:


Here a short link to illustrate FLight mode 'filckering / changing' on OSD depsite I'm doing nothing on my Taranis.
It s only on Display > Flight mode are not changing on the Flight Controller (Pixfalcon)

https://youtu.be/J4Dc8dC4vFo

Tom - PlayUAV

Favor from:


I have merged your changes. I will modify the Config Tool. Hope we can have a new release soon:-)

macfly1202 - 38y, France, Britany

Favor from:


Ok thanks Tom.
Major issue now is ´changing / flickering' filght mode on display.
I will take a look first on this.

Tom - PlayUAV

Favor from:


I just released the new firmware and Config Tool. The Config Tool can be updated automatically. After that, use CT to update the OSD firmware. The codes are put into the master branch on github.

Does arm state have the same flickering issue?

Best,
Tom

macfly1202 - 38y, France, Britany

Favor from:


Hi, Thanks again for your cool OSD ! I love it so much now.

I didn't understand the ARM and flight mode flickering but perhaps it s under HIL condition.

For now I will publish many screenshot to DIYDRONE to show everyone how cool your OSD is

macfly1202 - 38y, France, Britany

Favor from:


ok this is published on DIYdrones.
http://diydrones.com/profiles/ ... ments

For sure you could use these screenshot on your wiki. It s fake location under HIL.
I'm uploading a video in more to show how it s react.

Regards,

Tom - PlayUAV

Favor from:


Hi,

Great work! The screenshots look wonderful. It will be a good idea to put some of the screenshots on wiki to make it more interesting. Thanks.

Best,
Tom

macfly1202 - 38y, France, Britany

Favor from:


Ok Tom - I will help you to make this site better - with pleasure.

Here the link of video I make under Hil on the same session.
http://youtu.be/WFDRutBj2XI

Do you have an idea abour flight mode changing / flashing ? It's a like problem of refereshing / frequency value from eeprom.
I already have this issue on my antenna tracker ardustation mega and need to have a look on how I solved this 2 years ago.
Perhaps it's due to HIL.

(Here a short video about my antenna tracker -> probably there us feature we could re-use on tracker side
https://www.icloud.com/sharedalbum/#B025n8hH42QjAj )

To be followed...

Tom - PlayUAV

Favor from:


Hi,

Thank you very much.

I may have fixed this issue#21. By updating the mavlink, it can be fixed with ArduCopter firmware. However, it still exists with ArduPlane firmware.

Regards,
Tom

macfly1202 - 38y, France, Britany

Favor from:


Ok thanks Tom.
I will follow this issue to see if I could find more info on Arduplane community.

Tom - PlayUAV

Favor from:


I change the osd_mode from uint8_t to uint32_t which is same as the definition of MAVLINK. The issue seems to be fixed. I tested it with ArduPlane's latest firmware(not a real flight or HIL). I have uploaded the firmware to the server, you can upgrade the firmware with the Config Tool. Hope we can fix it this time:-)

Best,
Tom

macfly1202 - 38y, France, Britany

Favor from:


It will try it. thanks

macfly1202 - 38y, France, Britany

Favor from:


Hi firmware doesn't seem to be upgraded. Still in 1.0.9 ?

Tom - PlayUAV

Favor from:


yes, the version is not changed because if we modify the version in firmware, we also need to modify the Config Tool. We can wait till the next release.

macfly1202 - 38y, France, Britany

Favor from:


ok I understand

macfly1202 - 38y, France, Britany

Favor from:


Re:

I want to add 2 things I see in OSD Alarm :

  • For altitude alarm > it's absolute altitude. Could you add relative alt like for the scale alt (ladder) ?
    What you do to let user choose is great!

  • For speed alarm : it's in m/s as i could see > perhaps you could add in OSD text that this is in m/s or let user choose the unit. Lot of people don't know or don't want to make calculation : myspeed * 3.6 = my speed in km/ h !!!


All the choice you make are great in general so thanks again. I'm so happy with your osd !

underalt.PNG

macfly1202 - 38y, France, Britany

Favor from:


I forget > I still have fikering in flight mode with your new firmware

macfly1202 - 38y, France, Britany

Favor from:


- Telemetry speed
I would like to askin feature list the availability to change Telemetry speed.
For most people it's 57600 but in some very good project it's 19200 like with UltimateLRS.

Do you think it will be possible to add this option in OSD config tool ?

-------------------------------------------------------------------------------
IN > PlayuavOSD\src\osdmavlink.c:

void MavlinkTask(void *pvParameters)
{
mavlink_usart_init(57600); // 19200 for ultimateLRS use
sys_start_time = GetSystimeMS();
while (1)
{
xSemaphoreTake(onMavlinkSemaphore, portMAX_DELAY);
parseMavlink();

-------------------------------------------------------------------------------
- Thanks again !

macfly1202 - 38y, France, Britany

Favor from:


Thanks again Tom.
What software do you use for the config tool ? Qt ?

Tom - PlayUAV

Favor from:


The config tool is written in c#.(Refer to MissionPlanner and MinimOSD's CT). I am using VS2010 as the compiler. I have considered re-writing it using QT for multi-platforms. But truly I have little knowledge about QT. Surely, it will be ported to QT in the future. If someone familiar with QT has a start project, I would be glad to join:-)

Tom - PlayUAV

Favor from:


I just checked the codes of both ArduPlane and OSD, but didn't find anything strange. ArduPlane puts the control_mode to the MAVLINK packet(function Plane::send_heartbeat(mavlink_channel_t chan) in GCS_Mavlink.cpp), and the OSD gets it from MAVLINK. Same for arm state except that the arm state is 8th bit in base mode.(MAV_MODE_FLAG_SAFETY_ARMED=128, /* 0b10000000 MAV safety set to armed. Motors are enabled / running / can start. Ready to fly. | */)

If I connect the Pixhawk to the GCS using USB, the mode and arm-state will flicker. The flickering will disappear if I don't connect to GCS! How odd is that!

macfly1202 - 38y, France, Britany

Favor from:


flipflap from ultimateLRS found something strange in last mission planner and get parameter at connection but I didn't found it in the thread here (http://www.rcgroups.com/forums ... 037442)

I will make some check this week end and hope find solution.
If this only with usb > this is not a major issue.

Probably this is linked to new state arm/disarm on arduplane since 3.3.
I try to arm via the GCS (mission planner) and it s the same.
I will try to desactivate arm with rudder to see if it s happen again.

Thanks again Tom ! Regards.

Tom - PlayUAV

Favor from:


I think we should see how the MP handles this, because there is no flicker with MissionPlanner.

BTW, does your Xiaomi work with PlayUAV OSD? My XiaoMi does not work with OSD so well. The image jumps occasionally.

macfly1202 - 38y, France, Britany

Favor from:


Hi Tom,
Ok for MP but I can't help in this.

For Xiaomi Yi, video I linked is from my Xiaomi -> at beging of video seen into headplay hd. I could say image is perfect ! No jump of image !
I've test it sucessfully too with surveilzone cc1531 1200 tvl and cc1526 800tvl.

macfly1202 - 38y, France, Britany

Favor from:


I'e plan to test soon playuav osd with different vtx I have (I ve read the other thread about this pb)
- Fatshark 250 mw >>> not the worst in osd compatibility
- ImmersionRC 600 mW >>> often problem in osd compatibility
- RMRC 1.2 > I know video signal from this is a perfect 75ohm so I'm not fear of this one.

macfly1202 - 38y, France, Britany

Favor from:


I try different things in the way of arming without success in the flickering mode issue.

I test playuav with headplay hd connected with direct RCA connector - image of osd is perfect with AND without a cam input (Xiaomi Yi).
A bit more lighter with usb than pixfalcon power module input : this is normal.

Here is a short sample:
http://youtu.be/K_rhIYWg0L0

To reply to a question, please Login or registered