No products in the cart.
I’m trying to apply automatic inputs at the elevator and aileron during the flight, for which I have configured the CRUISE mode. These inputs are of a specific pattern i.e., doublet(combination of an up pulse and down pulse).
I have made changes in the code (Arduplane.ino file) as follow
if ((channel_roll->control_in != 0
nav_roll_cd = channel_roll->norm_input() * roll_limit_cd;
nav_roll_cd = constrain_int32(nav_roll_cd, -roll_limit_cd, roll_limit_cd);
I was able to successfully compile and upload the code. However once I tried to check the effect of these command lines during ground testing I was unable to observe any of the input pattern once I switched to the CRUISE mode. Desired was the application of a doublet input at the elevator and aileron.
Would someone please tell me that what could be the possible problem and its solution. Isn’t it that this change is to be done in some other portion of the code because it is done in Arduplane.ino file.
SOURCE: Everyone’s Blog Posts – DIY Drones – Read entire story here.