-
Notifications
You must be signed in to change notification settings - Fork 121
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for MavLink Telemetry and PixHawk based Flight Controllers #2
Comments
MavLink telemetry will be supported in the android app and the telemetry module in the near future. I was about to add some things to the control module to make it confirm waypoint uploads etc. That will open the door for MavLink as well. I will consider MavLink when designing and implementing missions. |
I agree, supporting Mavlink would be very good. I'm using INav and Pixhawks as well. But congratulations to your project! Bg, Stefan |
@seeul8er : Also gratulations to the very professional looking projekt from my side and for supporting MavLink in the near future! That will be a huge Plus! Keep up the excellent work!!!! It's always good to see that people are tinkering themselfs rather than getting ripped off by DJI and competitors. |
Short question: "tx" in Dronebridge means ground side, "rx" means rover (air) side? It's a little bit irritating, since in original EZ-Wifibroadcast, "tx" is (mainly) the rover side and rx the ground side. |
@careyer Thank you! Really appreciate it! Gotta make it look killer so people take a closer look 😄 @fingadar Yes. For everything concerning DroneBridge: TX is ground. I know that WifiBroadcast does it the other way around and as video transmission goes from drone to groundstation it makes sense. When I first looked into WifiBroadcast that confused me the most as TX usually is RC. As DroneBridge is more than just video I decided to go with that. Thanks for your interest! Happy to help. |
Hi there, Since at some point in time WiFi broadcast became a bidirectional solution it is also a good practice to talk about "AirPi" and "GroundPi". No more confusions this way ;-) |
Did you make any more progress on Mavlink? |
Yes! Mavlink telemetry is supported by the Android app and the telemetry module. The control module still has some issues with Mavlink but I started working on it again today! This means you can only get Mavlink telemetry for now. |
MavLink telemetry is now supported via telemetry module, control module, android app and WBC OSD release during the next days |
how are you sending your mavlink telemetry? are you using the mavlink libraries or is it just a pipe, ez-wifibroadcast has issues currently since the standard mavlink libraries are not fully compatible with ardupilot due to a crc check that causes it to drop a lot of packets. |
Telemetry module: Simple pass through. Chunks of 128 bytes per packet are passed through. I am not sure if I tested the telemetry module with MAVLink in the last few weeks, but it worked back in the days when I implemented it. The telemetry module provides no MAVLink uplink to the drone. The config described in "Setup guide" uses the control module to read telemetry. Let me know what worked for you. |
Have you got uplink working? |
Uplink should work. I will setup the MAVLink SITL to verify it. |
That is great news! I'll have to give it a try! |
Did some SITL testing yesterday. Uplink works but has too much packet loss. Also I needed to modify the code a bit to get it working with QGroundcontrol. |
have you been following the ezwifibroadcast thread on rcgroups, the standard mavlink libraries dont work properly with ardupilot only px4. ardupilot has some checksum that is not implemented in the regular mavlink libraries. |
yep. read about that some time ago. Thanks for posting! The problem I am trying to fix with the uplink appears with both (MAVLink and MSP) stream. Spent half the day testing. With the nightly branch the uplink works just fine, but only when I stop transmitting the video. With WBC-Video running I can barely get packets through. Strangely the DroneBridge RC uplink is not (or only insignificantly) affected by any of it. So the long range throughput seems to be OK. Just a little status update. I'll keep you posted. |
i think this is why rodzio moved to parsing the mavlink packets, the problem is the px4 library is not fully compatible so his uplink is not transmitting specific packets due to crc problem. the libray that it needs is here : https://github.com/ArduPilot/mavlink if you can just replace rodzios mavlink libaries in 1.6 with these you will fix all of it. |
The problem was not the parsing but the lossy link and throughput. I think I got it figured out. I'll craft a new release with all the changes within the next days so you guys can test it out if you want. |
@seeul8er : Thank you very much for the update. Indeed EZ-WifiBroadcast also suffers from this phenomenon (unreliable MavLink Up-& Downlink). Looking forward to your solution. If you find a solution it would be best practice to share knowledge with the WifiBoadcast project. Cheers! |
I am currently using transparent mode on v1.5 and get about 99% of packets through using changes from here: rodizio1/EZ-WifiBroadcast#31 |
Hi I have been using EZ Wifibroadcast on my setup for a while and it works good for Video and ok for Mavlink. I use a APM 2.6 with a Pi zero for the airDrone For the UART coms I use a voltage divider from the APM TX 5V to the PI Zero RX 3.3V and directly connect PI Zero TX 3.3v to APM RX 5V. This works fine for me until I receive my Voltage logic converter. I use a Pi 3 model B v1.2 on the GroundStation. I setup DroneBridge 0.5 cause I like the way this project is going and do not like having to remove the sd cards to change settings. At first I could not get it to work and found that on wifi or lan I could only get video not telemetry or app control. But if I use usb tethering it works 100%. I have not done any flights yet but will be soon. I also just want to say thank you Wolfgang for the awesome work. Maybe in the future you can add special funding futures like maybe OPENCV ROI follow. Have people fund your time to create it then you can keep the app free or you can create stuff like this and have people pay for the app that will be up to you. |
Hi there,
could you include support for MavLink based Flight Controllers as well (e.g. Pixhawk, PixRacer aso...)? It is a highly standardized protocol also much used in robotics. That would be gorgeous! Thanks in advance and keep up the excellent work!
Cheers!
Thomas
The text was updated successfully, but these errors were encountered: