GUBotDev / ardupilot

APM Plane, APM Copter, APM Rover source
http://ardupilot.com/
GNU General Public License v3.0
0 stars 1 forks source link

Change call throttle controller IF statement #12

Open MWWes opened 8 years ago

MWWes commented 8 years ago

Change sonar_ to lidar_? // call throttle controller if (sonar_alt_health >= SONAR_ALT_HEALTH_MAX) { // if sonar is ok, use surface tracking target_climb_rate = get_throttle_surface_tracking(target_climb_rate, pos_control.get_alt_target(), G_Dt); }