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

标题: autopilot 对接大疆FPV,OSD成功调出 [打印本页]

作者: jczsyygt    时间: 2020-4-8 23:45
标题: autopilot 对接大疆FPV,OSD成功调出
本帖最后由 jczsyygt 于 2020-4-9 00:39 编辑

         以前是玩APM的,APM的定点定高、GPS航线、失控保护都很棒,不过没有玩FPV,只是用地面站飞飞航线,玩几次就觉得没啥意思了,最近开始玩穿越机,大疆FPV,那种驾驶飞机的感觉真棒,不过BF失控保护很头痛,现在飞控主要是BF,INAV,AUTOPILOT,APM就属于autopilot,只是APM的硬件不再更新了。查了一下资料,autopilot也有acro模式,那么能否用autopilot来玩穿越机FPV呢,而且autopilot的失控保护做的很好,他有个模式叫smartRTH,失控触发smartRTH,根据你前面飞的过程记录的GPS点自动返回,这个功能很棒,可以防止返航过程中碰到障碍物。
      但现在有个问题,大疆FPV只支持BF OSD,用AUTOPILOT,大疆FPV不能显示OSD 啊,这是个麻烦事。于是就去找资料,还真找到了解决办法,国外有个家伙,弄了个
Ardupilot Mavlink telemetry data 转换器,把MAVLIKN的协议转换为大疆支持的MSP协议,从而支持DJJ FPV OSD ,而且是全功能哦,保护GPS等各种信息。而且这个转换器还支持INAV。

      今天测试了一把,调试成功。
    (, 下载次数: 21)
(, 下载次数: 30)

--------------------------------------------------------

网址:https://github.com/d3ngit/djihdfpv_mavlink_to_msp_V2

#DJI HD FPV Mavlink to MSP - Full OSD for DJI firmware version V01.00.0400
Converts Ardupilot Mavlink telemetry data to MSP telemetry data compatible with the DJI HD FPV system.


-------------------------------------
我用的是这个小板:
(, 下载次数: 34)

   网址:https://store.arduino.cc/usa/arduino-pro-mini
这个板的好处是小,但没有usb接口,所以还需要用USB-TTL接口,才能刷固件。


(, 下载次数: 26)

总体来说:这个方案简单,只要按照说明刷arduino-pro-mini固件,然后连线就可以了,不用动大疆FPV任何东西。

有几点需要注意:
a、If using the FTDI cable on Windows, you'll need to make one configuration change to enable the auto-reset. With the board connected, open the Device Manager (in Control Panels > System > Hardware), and find the USB Serial Port under Ports. Right-click and select properties, then go to Port Settings > Advanced and check Set RTS on Close under Miscellaneous Options.


b、The Arduino Pro Mini connected to (and powered by) a SparkFun FTDI Basic Breakout Board and USB Mini-B cable. Note that on earlier Pro Mini boards the orientation of the 6-pin header may be reversed; check that the words GRN and BLK align on the Pro Mini and FTDI Basic Breakout.

c、用Arduino IDE刷固件的时候,注意要把djihdfpv_mavlink_to_msp_V2\Arduino_libraries下的库文件拷贝到arduino-1.8.12-windows\arduino-1.8.12\libraries下,其他的好像没什么坑。
d、至于连线看说明即可。







------------------------------
INAV官网:https://github.com/iNavFlight/inav/wiki
autopilot官网:https://ardupilot.org/copter/docs/common-autopilots.html#common-autopilots
  Omnibus F7V2这块飞控竟然支持BF\INAV\AUTOPILOT三种飞控固件,我准备用它来组装第二架穿越机了。









作者: luosicheng2009    时间: 2020-4-9 09:23


作者: 花清风    时间: 2020-4-9 09:39
我擦 OSD信息怎么这么多

作者: xjkt    时间: 2020-4-9 13:54
大疆高清图传固件迟迟未更新,离家距离和回家方向指示始终没有,和大疆客服沟通。也不知道什么时候才能更新。请问楼主这个可以用在bf上osd显示吗?

作者: alexetea    时间: 2020-4-9 14:28
内部消息是下周更新固件~~
作者: 老孟    时间: 2020-4-9 19:03
太牛了

作者: 老孟    时间: 2020-4-9 19:03
眼盼蓝

作者: ykf58125    时间: 2020-4-9 20:03
牛逼牛逼
作者: 没事满地找牙    时间: 2020-4-9 20:20
牛逼

作者: Maiyu    时间: 2020-4-10 01:42
太牛逼了,非常感谢分享
作者: w254333816    时间: 2020-4-10 07:01


作者: xjkt    时间: 2020-4-10 08:38
alexetea 发表于 2020-4-9 14:28
内部消息是下周更新固件~~

真的吗?希望是好消息。

作者: k7boy    时间: 2020-5-6 23:12
好东西 留个记号    正好需要这个功能
作者: 小炫炫    时间: 2020-5-7 15:35
不遮一下GPS吗。。。让我以为自己又抓到一只同城飞友。。




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