What is exaclty wrong with command_long after updated firmware???

17 views
Skip to first unread message

Joseph Lim

unread,
Jul 20, 2021, 1:54:05 PM7/20/21
to MAVLink

I updated my firmware for my drones, and suddenly command_long_send in python doesn't work?
Is something wrong?????
I spent last 3 hours figuring what is going on? and now do I have to re code all most last 6 months of work because some sadistic  ***** think out of no whatsoever reasons just to change the command!?

Please kindly not make such big changes for NO whatsoever reasons if it works well in the first place, for us when we use it for operational work this is a hell of a big problem for us. I hate updating firmware god knows what kind of surprises is install for us.

Joseph Lim

unread,
Jul 20, 2021, 2:00:57 PM7/20/21
to MAVLink
anyone knows eactly what is wrong with my command? Why can't arm the drone?

    the_connection.mav.command_long_send(
                                    1, # autopilot system id
                                    1, # autopilot component id
                                    400, # command id, ARM/DISARM
                                    0, # confirmation
                                    1, # arm!
                                    0,0,0,0,0,0 # unused parameters for this command
                                    )

Joseph Lim

unread,
Jul 21, 2021, 3:36:52 AM7/21/21
to MAVLink
Hi ,

I found the issue is not with the command.
I realised the issue is with the system id.
Each drone if the system id when the command_long is sent the system id must be the same as well. Sorry for my mistake.
Reply all
Reply to author
Forward
0 new messages