Replies: 7 comments
-
Disarming via switch / In order for us to take this issue more seriously, you should: |
Beta Was this translation helpful? Give feedback.
-
What stronnag said. disarm_always - Defaults to ON. If set to OFF it will not allow disarming if throttle is not below min_check. if both options are disabled, you need the throttle channel at 1000 and the arming channel in disarmed state both together to disarm. there are a few more settings that might affect the behavior so a DIFF is important. Maybe better even a DUMP. |
Beta Was this translation helpful? Give feedback.
-
hey b14ckyy, thanks for your resopnse!! here the DIFF, and I also add the dump as dump.txt file. also just the add up, is not just disarm that stop responding even lowering the throttle bellow 1100 is not responding. ############################################################ diffversionINAV/SPEEDYBEEF405V3 7.1.2 Jun 1 2024 / 00:45:26 (4e1e59e)GCC-10.3.1 20210824 (release)start the command batchbatch start resourcesTimer overridesOutputs [servo]safehomeFixed Wing Approachfeaturesfeature PWM_OUTPUT_ENABLE beeperblackboxblackbox -NAV_ACC Receiver: Channel mapPortsserial 1 0 115200 115200 0 115200 LEDsLED colorLED mode_colorModes [aux]aux 0 0 0 1825 2100 Adjustments [adjrange]Receiver rxrangetemp_sensorMission Control Waypoints [wp]#wp 0 invalid OSD [osd_layout]Programming: logicProgramming: global variablesProgramming: PID controllersOSD: custom elementsmasterset looptime = 500 mixer_profilemixer_profile 1 set model_preview_type = 3 Mixer: motor mixermmix reset mmix 0 1.000 -1.000 1.000 -1.000 Mixer: servo mixerprofileprofile 1 set mc_p_pitch = 32 battery_profilebattery_profile 1 set throttle_idle = 2.000 save configurationsave end the command batchbatch end |
Beta Was this translation helpful? Give feedback.
-
AS I expected:
|
Beta Was this translation helpful? Give feedback.
-
Now I see that disarm does work when I only(no other extra messgae) send the disarm command at a 0.02-second interval (time.sleep(0.02). Can you please explain if there is a message queue? Currently, I only send a msp command after receiving a response(some type of message/ response loop), but I am observing behavior that I don’t fully understand. However, I noticed the following behavior: When I send an ARM command using MSP_SET_RAW_RC with the payload at a 0.02-second interval (time.sleep(0.02), and then switch to MSP_SET_MOTOR, it takes some time for MSP_SET_MOTOR commands to take effect. Could you please explain why this happens? |
Beta Was this translation helpful? Give feedback.
-
There is no real queue but afaik a buffer of up to 5 messages, iir. also you should always send all channels together in a single message. Changing specific channels only with a dedicated message will cause a lot of extra overhead. |
Beta Was this translation helpful? Give feedback.
-
I will move this to discussion btw. Other systems work as expected with MSP_SET_RAW_RC so this can be flagged as support. |
Beta Was this translation helpful? Give feedback.
-
Hey,
I’m experiencing unexpected behavior when controlling my flight controller via a Linux device connected through USB-C. I don’t use an external receiver; instead, my Linux device sends MSP commands directly to the flight controller.
Current Behavior
Using MSP_SET_RAW_RC, I send the following channel values:
Disarmed:
channels = [1500, 1500, 1000, 1500, AUX1_OFF (1000), 1000, 1000, 1000, 1000, 1000, 1000, 1000]
Armed:
channels = [1500, 1500, 1000, 1500, AUX1_ON (1830), 1000, 1000, 1000, 1000, 1000, 1000, 1000]
Once armed, increasing the throttle works fine. For example:
However, after I increase the throttle to 1500, any command to set the throttle below 1100 (including disarm commands) does not work. Specifically:
****if i'm not setting to 1500, I'm able to lower the value below 1100 and even to disarm.
Steps to Reproduce
Send MSP_SET_RAW_RC with disarm values:
channels = [1500, 1500, 1000, 1500, AUX1_OFF (1000), 1000, 1000, 1000, 1000, 1000, 1000, 1000]
Send MSP_SET_RAW_RC with arm values:
channels = [1500, 1500, 1000, 1500, AUX1_ON (1830), 1000, 1000, 1000, 1000, 1000, 1000, 1000]
Send MSP_SET_RAW_RC with throttle set to 1500.
Send MSP_SET_RAW_RC with throttle set to 1100.
Send MSP_SET_RAW_RC with throttle set to 1000 or disarm values:
channels = [1500, 1500, 1000, 1500, AUX1_OFF (1000), 1000, 1000, 1000, 1000, 1000, 1000, 1000]
Expected behavior
The motors should decrease speed when the throttle is set below 1100.
Sending a disarm command should disarm the flight controller and stop the motors.
FC Board name and vendor: speedybee F405 V3 stack with 60A 4-in-1 ESC
INAV version string: 7.1.2
Beta Was this translation helpful? Give feedback.
All reactions