FORUM › Forums › Software › CLS2SIM Software › API, Interface control documentation › v1 Protocol – Controlling Autopilot Axis
- This topic has 0 replies, 1 voice, and was last updated 4 years, 1 month ago by dustinmj1336.
-
AuthorPosts
-
29/10/2020 at 21:04 #2116dustinmj1336Participant
I’m attempting to use the v1 protocol to control the autopilot, specifically the aileron axis.
First, can I control the autopilot feature of the yoke by enabling AileronAPActive, and then writing the desired aileron position values to AileronAPPos?
Second, how do you use the OverrideBitmask properly? Do you sent a packet with the command, address and value such as this to override the AileronAPActive, and then a second packet with the value to override?
Command Address Value
0x2A 0x1E 0x0020
0x2a 0x16 0x01Of you you use a bitwise OR to combine the address and the OverrideBitmask (for instance 0x1E OR 0x20 = 0x3E) and then the desired value (for instance, 0x01 to enable)
Command Address Value
0x2A 0x3E 0x01Thanks for your help!
Dustin
-
AuthorPosts
- You must be logged in to reply to this topic.