0 How to include an if in the code of Pixhawk Posted by Medr Dal on March 3, 2016 at 3:25pm Hi,everything is in the title :-) Here is my c++'s code: if (g.RTL_altitude_cm > 2000 && g.RTL_altitude_cm < 3000) { } How does this look like? Do you habe a better solution?Cheers,M. You need to be a member of diydrones to add comments! Join diydrones Tags: c++, algorithms, condition, if, pixhawk, software Email me when people reply – Follow
Replies