Controlling Crazyflie through Labview - CRTP responses are not as expected
Posted: Tue Oct 02, 2018 9:01 am
Hi there,
I hope I am posting in the right place.
I am trying to achieve control of Crazyflies through Labview. So far, I am communicating with five, and having no issues with sending information in the correct format down to the copters. All 5 respond perfectly when using the commander packet - if I change yaw/pitch/thrust/roll values the motors spin as expected.
However, the data I am receiving back from them in response to the packets is not what is received under normal operation with the Crazyflie PC client. Under normal operation, the Crazyflie will respond with either 1, 4, 10, 20, or 22 bytes. I am yet to understand what these responses mean, but I do not understand why when I send the same protocol and messages downlink, the responses are so erratic. See example of my capture below:
host sends - 5d05
normal operation - Crazyflie responds - 01561307605700000000000000000000000000000000
my operation (Labview) - Crazyflie responds - 01f3012c
host sends - f3
normal operation - Crazyflie responds - 015212fe5f57bbfc1e3f9b83ef3d6843eac20000
my operation (Labview) - Crazyflie responds - 01f7012c
host sends - 3000000000000000000000000000000000 (commander)
normal operation - Crazyflie responds - 015212626057b84a1f3f970cef3d2841eac20000
my operation (Labview) - Crazyflie responds - 015d053b00
The responses returned are very similar and almost seem to be in line with what I am sending down - returning CRTP back to me.
I feel like this could be an issue with the way in which I am sending my messages downstream, but the Crazyflie is reading my messages and responding to them so I am not sure if I am misreading what it sends me, or whether it isn't actually reading my messages properly.
Thank you in advance.
Jess
I hope I am posting in the right place.
I am trying to achieve control of Crazyflies through Labview. So far, I am communicating with five, and having no issues with sending information in the correct format down to the copters. All 5 respond perfectly when using the commander packet - if I change yaw/pitch/thrust/roll values the motors spin as expected.
However, the data I am receiving back from them in response to the packets is not what is received under normal operation with the Crazyflie PC client. Under normal operation, the Crazyflie will respond with either 1, 4, 10, 20, or 22 bytes. I am yet to understand what these responses mean, but I do not understand why when I send the same protocol and messages downlink, the responses are so erratic. See example of my capture below:
host sends - 5d05
normal operation - Crazyflie responds - 01561307605700000000000000000000000000000000
my operation (Labview) - Crazyflie responds - 01f3012c
host sends - f3
normal operation - Crazyflie responds - 015212fe5f57bbfc1e3f9b83ef3d6843eac20000
my operation (Labview) - Crazyflie responds - 01f7012c
host sends - 3000000000000000000000000000000000 (commander)
normal operation - Crazyflie responds - 015212626057b84a1f3f970cef3d2841eac20000
my operation (Labview) - Crazyflie responds - 015d053b00
The responses returned are very similar and almost seem to be in line with what I am sending down - returning CRTP back to me.
I feel like this could be an issue with the way in which I am sending my messages downstream, but the Crazyflie is reading my messages and responding to them so I am not sure if I am misreading what it sends me, or whether it isn't actually reading my messages properly.
Thank you in advance.
Jess