While looking through your send_short_servo_cmd() function I noticed that the command sent to the MNAV is equivalent to ST (0x53,0x54 found on lines 579,580 in navigation/mnav.cpp) However, the checksum is added as (0x53+0x53). Is there a reason for this ST command because the longer send servo function uses the command SS?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I don't understand the question, are you sure you read the source code right? 0x53 0x53 is the command for the original send_servo_cmd() I used 0x53 0x54 as my new send_servo_short_cmd() which only sends data for the first 4 channels. I made a corresponding change to the MNAV firmware to support this new command. If you don't make a similar change to the MNAV firmware, then you should just use the original send_servo_cmd() function.
Regards,
Curt.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I see, I didn't know you had changed the MNAV firmware to correspond to this functions, I has assumed your firmware was stock. Thanks for the quick reply!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
While looking through your send_short_servo_cmd() function I noticed that the command sent to the MNAV is equivalent to ST (0x53,0x54 found on lines 579,580 in navigation/mnav.cpp) However, the checksum is added as (0x53+0x53). Is there a reason for this ST command because the longer send servo function uses the command SS?
I don't understand the question, are you sure you read the source code right? 0x53 0x53 is the command for the original send_servo_cmd() I used 0x53 0x54 as my new send_servo_short_cmd() which only sends data for the first 4 channels. I made a corresponding change to the MNAV firmware to support this new command. If you don't make a similar change to the MNAV firmware, then you should just use the original send_servo_cmd() function.
Regards,
Curt.
I see, I didn't know you had changed the MNAV firmware to correspond to this functions, I has assumed your firmware was stock. Thanks for the quick reply!