Updates to disarm save delay and emergency rearm#9688
Updates to disarm save delay and emergency rearm#9688
Conversation
Initial changes
- Added message for re-arm time. This is not the final solution. The final will only display when re-arm is available. The permanent message is for debugging. - Fixed odometer readout - Fixed stats screen refresh rate. The automatic page switching was blocking.
|
This is looking to be working in HITL. |
Stop MSP VTX from entering low power mode in emergency rearm.
|
Just for a little update. @Jetrell found some inconsistent issues in #9681 that I did not find in HITL. I created this PR to try and address those issues before the deadline for 7.1. I'm at the stage now where I don't think that's going to happen, as there seems to be some issues deeper that are causing this. I have reverted #9681 and brought the changes from that branch in to this one. As far as the testing goes. I did test in HITL and everything seemed fine. However, @Jetrell's testing with his quad always seemed to get different results to what I was seeing. Yesterday I was able to test on 2 aircraft and had different results on both aircraft!
* I will be posting DVR later. I do not have my goggles with me at this time Test 1 - AR.WingIf I had only performed a test with this wing. The Lego dude would have been singing "Everything is awesome" on loop. Everything worked as expected.
Everything worked perfectly. Test 2 - Baby AR Wing ProThis one ...not so much. At no point did it want to save. Stats has a 10 second after arming wait period. After that, it should request the save operation when you disarm. That never seemed to happen. This could be related to the last change I made before testing, but it seems highly unlikely. Lines 443 to 458 in c2b5d2e I don't believe it's related, as statsOnDisarm() is called internally, not via MSP. However, that change also didn't have the desired affect of keeping the VTX in an "armed" state. It reverts the bitmask to the how it was after providing the data to the MSP device. So the arming flags before entering and after exiting the MSP function will be consistent.
It seems odd that these issues are possibly related to MSP DisplayPort. But, it is also consistent with @Jetrell's test platform. He is also using MSP DisplayPort, on and F405 based craft. That's also the main difference between my two test platforms. It's also worth noting that tests in HITL were with both types of OSD. Though I'm sure the actual data passed to HITL will just be the character locations for both. I'm sure this can be resolved. But not before the 14th. If anyone has any ideas, please feel free to comment. I probably won't have a lot of time in, and leading up to, March. |
|
Thanks for your efforts in this!! |
If possible, this will show a countdown time for how long the pilot has to rearm in flight. This was a part of #9688, which wasn't working as expected. This part should work, and give the pilots useful information. Currently not tested. Will test in HITL, then in flight asap.
This is causing problems with MSP DisplayPort. I hope to fix the issue and reinstate it in #9688
If possible, this will show a countdown time for how long the pilot has to rearm in flight. This was a part of iNavFlight#9688, which wasn't working as expected. This part should work, and give the pilots useful information. Currently not tested. Will test in HITL, then in flight asap.
This is causing problems with MSP DisplayPort. I hope to fix the issue and reinstate it in iNavFlight#9688
Initial changes