5iMX.com 我爱模型 玩家论坛 ——专业遥控模型和无人机玩家论坛(玩模型就上我爱模型,创始于2003年)

标题: mwc gps home [打印本页]

作者: xiaop5345    时间: 2013-4-23 11:25
标题: mwc gps home
谁知道设置GPSHOME返航时速度的那段代码在哪???
还有: /* GPS navigation can control the heading */
   
    #define NAV_CONTROLS_HEADING       true      // copter faces toward the navigation point, maghold must be enabled for it
    #define NAV_TAIL_FIRST             false     // true - copter comes in with tail first
    #define NAV_SET_TAKEOFF_HEADING    true      // true - when copter arrives to home position it rotates it's head to takeoff direction
这三个是机头朝向的 不需要哪个直接注释掉就可以????
谢谢了`~~~


作者: xiaop5345    时间: 2013-4-23 11:58
刚又看了下代码感觉就是这两句的一句                                                                                                                                   #define GPS_WP_RADIUS              200       // if we are within this distance to a waypoint then we consider it reached (distance is in cm)
#define NAV_SLEW_RATE              30        // Adds a rate control to nav output, will smoothen out nav angle spikes
完了改了试试看!!






欢迎光临 5iMX.com 我爱模型 玩家论坛 ——专业遥控模型和无人机玩家论坛(玩模型就上我爱模型,创始于2003年) (http://5imx.com./) Powered by Discuz! X3.3