-
Notifications
You must be signed in to change notification settings - Fork 13.7k
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
FrSky Telemetry Not Recognizing S-PORT #9737
Comments
This seem to be related to this: #9240 |
From the Slack thread: @bkueng Trying with ArduPilot is actually a good idea. Then we know if it's a software or hardware issue. Me: Yes, it works in ArduPilot. I loaded Mission Planner 1.3.56 and ArduPlane V3.8.5. I only had the GPS connected and it immediately discovered the coordinates. So to confirm, it's not a hardware issue. By the way, ArduPilot uses the SERIAL 4/5 port instead of TELEM2. The SERIAL4_PROTOCOL param is changed from 5 to 10. |
I recently made some improvements for frsky telemetry. You can now (by flashing master) specify the mode via |
@bkueng I'm not a coder or anything so could you please give me a step-by-step on how to do this? Is this something that has to be put in the SD card? Let me know. Will this be incorporated in the next version? Thanks. |
@rollysing You could put this on the SD card in etc/extras.txt - see http://dev.px4.io/en/advanced/system_startup.html#starting-additional-applications You don't say what hardware you're using? Generally speaking you need two things for this to work.
So essentially steps would be to check driver is present for your target (and remove commenting out if needed) then start the driver by adding @bkueng line above, then rebuild the firmware as you would normally and upload. Is that clear enough? |
@hamishwillee My apologies. I'm just seeing this now. I didn't mention it here but I believe I did originally in the Slack forum where this started and @bkueng requested I open an issue. I'm not a coder/programmer. I'm simply a hobbyist/user with what I still consider a "newbie status" so everything you mentioned just went over my head. If you or someone can provide me the file to put in the etc\extras.txt, that I'm capable of. Many thanks. |
@rollysing I'm not a programmer either. Unfortunately, once you're talking about things that require more than just download and set a parameter, then you need to be willing to read docs and try stuff. I guess we should step back.
@bkueng When will there be firmware that can be downloaded from QGC that has this - next release? |
@hamishwillee I've tried it in Pixhawk 1 mRobotics and generic eBay ones v3.4.6 and v3.4.8. |
The fact is that if you want to do this you will almost certainly need to build firmware. This will be non-trivial. Are you willing to try that? |
Yes next release. But you can also flash master via QGC if you select 'Advanced' |
@bkueng So in the next release, this will be supported natively without having to do the frsky_telemetry start -m sport step as you mentioned earlier as long as the steps to setup are followed according to the FrSky Telemetry PX4 Docs? Thanks. |
Yes, but this is already the case with the current release. I'm not sure what the problem is with your setup. |
@bkueng My mRobotics Pixhawk 1 came in today and tried to setup per docs and your recommendation. No joy! Please look at the setup and let me know what I'm missing. I even tried this but no luck: All I get is RSSI and RxBat (which is even wrong.) I appreciate any assistance. Thanks. |
Unfortunately |
Ok. I think someone needs to update the docs to let folks know it's not supported in Pixhawks that can only load v2 and/or 1MB limit. Thanks for all the responses. |
@bkueng During the firmware upgrade, it shows this. I'm presuming that means the bootloader is Version: 4? So it needs to be higher than that? |
Just wanted to update before closing this. Phillip with mRobotics went above and beyond product customer service and updated the bootloader of the mRo Pixhawk to version 5. This now allowed QGC to recognize and upgrade using the Developer version of px4fmu-v3_default.px4. I can confirm that the Q X7 was able to discover all available sensors and data transmitted in real time. @bkueng Thank you very much for all the guidance and directions. |
Great! Good to see it works now. |
It's a reasonable request, but given that such a lot disabled in fmu_v2, hard to to. For many drivers we do have a comment that users should check that the module is present in firmware. |
@bkueng @hamishwillee Is there a way to change values from metric to imperial? If not, is this something that can be incorporated in future release? Thanks. |
This is something that you have to change in the Taranis, or the display script that you use. It is not part of the PX4 Firmware. |
hi,everyone Here are my setup: |
Hi |
px4 don't support yaapu lua scripts。 |
@zhaoxiaowei1013
Good luck. |
|
@zhaoxiaowei1013 Is it your intention to write the code so it connect directly to the SPort of FrSky Rx without needing a Teensy or Telemetry Cable and natively work? |
I've tried setting up the FrSky telemetry using a Craft & Theory Pixhawk cable per documentation. The C&T cable is connected to the S PORT of the X6R and the other end daisy-chained into a FrSky LiPo Voltage sensor then to TELEM2 of the Pixhawk (eBay 2.4.6 version).
I've tried it with both stable and dev versions of 1.6.5, 1.7.0, and 1.7.3. frsky_telemetry status in the Mavlink console says: ERROR [frsky_telemetry] running: DTYPE . As I'm made to understand, it should auto sense SPORT. I've tried swapping the Rx and Tx pins and also connecting TELEM2 directly into Rx S PORT to no avail. I tried 1.8.0 stable and it doesn't even recognize the frsky_telemetry status command.
All of the above setup changes were per @bkueng recommended diagnostic step. Apparently, the only way to force it to switch from DTYPE to SPORT is a change in the source code?
Please advise or recommend resolution.
Thanks.
The text was updated successfully, but these errors were encountered: