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
LTM AUTO serial port speed lowered to 4800 bps #184
Conversation
@DzikuVx wow, you're fast! 👍 |
Some thoughts: This also needs to be coordinated with the MSP rate as one valid use case is MSP pre-armed (for preflight checks), LTM after arming. Not having the same baud rate will break this use case. If no one beats me to it, I will test 4800 at the weekend (as it involves reconfiguring two radios). |
Does both have to use the same bps? |
If you mean the radios, the same air speed (which I want to reduce), but I can have different serial speeds air and ground side. If for the MSP and LTM case, they need to be the same because the radio serial side is fixed. |
Yeap, looks like you are right here. Either way, let's first check of LTM only will work at 4800 |
For the baudrates I guess it depends on the setup. I have a BT adapter for MSP (115200bps) for preflight config, and LTM in the same wire for telemetry when armed (9600bps right now). |
@stronnag Had you a chance to test it? |
Yes, I tested it. Not surprisingly it works just fine, as we only send average c. 270 bytes/sec, so we have perhaps a 40% headroom. What is perhaps more interesting is the attached patch, which works down to 2400bps (the minimum for my 3DR). This provides c. 170 bytes/sec LTM; might be interetsing the the long range folks In line too:
|
This is nice. BTW, what kind of ranges do you get on your 3DR? |
Don't laugh, I just pootle around the local recreation ground in LOS, so never more than 200m (and I always have good telemetry). |
I'm not sure if I can merge this now or delay it to be done together with #365 |
Definetly delay, this is mainly an experiment |
I was thinking the same way. |
Wait for #365, as we need the same rate across MSP and LTM to be useful. And we can do the low speed option included above to please the long range folks. |
This issue / pull request has been automatically marked as stale because it has not had any activity in 60 days. The resources of the INAV team are limited, and so we are asking for your help. |
Automatically closing as inactive. |
This is proof of concept for issue #183 .
If LTM serial speed is set to AUTO, port is initialized with 4800pbs. I was considering going down to 2400 but lets first check how it behaves at 4800. Unfortunately I'm unable to test it in any reasonable future (days) so maybe one of you can do it @sppnk @stronnag @digitalentity