Hi, I’m working with a research project to control the drone(mainly indoors) with ROS. My goal is to keep the drone moving forward all the time, and I sent the “RIse” “Descend” “Turn left” “Turn right” commands to the drone. I am trying to use the
olympe.messages.ardrone3.Piloting.PCMD command to achieve my goal.
My problems are:
What is the mechanism of PCMD command. I cannot understand the describtion " The libARController is sending the command each 50ms. Please note that you should call setPilotingPCMD and not sendPilotingPCMD because the libARController is handling the periodicity and the buffer on which it is sent."
What does the " timestampAndSeqNum" mean? How can I deal with that “Command timestamp in milliseconds (low 24 bits) + command sequence number (high 8 bits) [0;255].”
How can I keep the drone moving forward all the time? Is PCMD the recommended way.
Thank you for your help/suggestions in advance.