资源简介
stm32 三轴无刷电机云台 版本090 亲测可用 全套版本..
代码片段和文件信息
# This script can be used for three situations:
# A) communication channel is connected to the Pixhawk
# Mission Planner is connected to Pixhawk (Sys/Comp ID 01/01)
# B) communication channel is connected to the Pixhawk
# Mission Planner is connected to STorM32 (Sys/Comp ID 71/67)
# C) communication channel is connected to the STorM32
# Mission Planner is connected to STorM32 (Sys/Comp ID 71/67)
#
# Note:
# * AC does NOT support the common messages COMMAND_LONG:DO_MOUNT_CONTROL and COMMAND_LONG:DO_DIGICAM_CONTROL
# but instead uses the APM specific messages DO_MOUNT_CONTROL and DO_DIGICAM_CONTROL
# * STorM32 DOES support the common messages COMMAND_LONG:DO_MOUNT_CONTROL and COMMAND_LONG:DO_DIGICAM_CONTROL
# as well as the APM specific messages DO_MOUNT_CONTROL and DO_DIGICAM_CONTROL
#
# This script uses the DO_MOUNT_CONTROL DO_MOUNT_CONFIGURE and DO_DIGICAM_CONTROL messages.
import clr
import MissionPlanner
clr.AddReference(“MAVlink“)
import MAVlink
print ‘Start‘
MAV.setMountConfigure(MAVlink.MAV_MOUNT_MODE.NEUTRAL False False False)
script.Sleep(2000)
MAV.setMountConfigure(MAVlink.MAV_MOUNT_MODE.MAVlink_TARGETING False False False)
MAV.setMountControl( -2000 0 5000 False)
script.Sleep(3000)
print ‘click‘
MAV.setDigicamControl(1)
MAV.setMountControl( -2000 0 0 False)
script.Sleep(2000)
print ‘click‘
MAV.setDigicamControl(1)
MAV.setMountControl( -2000 0 -5000 False)
script.Sleep(2000)
print ‘click‘
MAV.setDigicamControl(1)
MAV.setMountControl( 0 0 -5000 False)
script.Sleep(2000)
print ‘click‘
MAV.setDigicamControl(1)
MAV.setMountControl( 0 0 0 False)
script.Sleep(2000)
print ‘click‘
MAV.setDigicamControl(1)
MAV.setMountControl( 0 0 5000 False)
script.Sleep(2000)
print ‘click‘
MAV.setDigicamControl(1)
MAV.setMountControl( 2000 0 5000 False)
script.Sleep(2000)
print ‘click‘
MAV.setDigicamControl(1)
MAV.setMountControl( 2000 0 0 False)
script.Sleep(2000)
print ‘click‘
MAV.setDigicamControl(1)
MAV.setMountControl( 2000 0 -5000 False)
script.Sleep(2000)
print ‘click‘
MAV.setDigicamControl(1)
MAV.setMountConfigure(MAVlink.MAV_MOUNT_MODE.NEUTRAL False False False)
script.Sleep(500)
MAV.setMountConfigure(MAVlink.MAV_MOUNT_MODE.RC_TARGETING False False False)
print ‘End‘
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2018-11-05 12:52 o323bgc-release-v090-v20160110\
目录 0 2018-11-05 12:52 o323bgc-release-v090-v20160110\bin\
文件 29075 2016-01-10 10:10 o323bgc-release-v090-v20160110\bin\NTLoggerTool_ui_ow.py
文件 55925 2016-01-10 10:05 o323bgc-release-v090-v20160110\bin\NTLoggerTool_v010.py
文件 469095 2016-01-11 02:30 o323bgc-release-v090-v20160110\bin\o323BGCTool_v090.pl
目录 0 2018-11-05 12:52 o323bgc-release-v090-v20160110\bin\ST\
目录 0 2018-11-05 12:52 o323bgc-release-v090-v20160110\bin\STM32 Virtual COM Port Driver\
目录 0 2018-11-05 12:52 o323bgc-release-v090-v20160110\bin\STM32 Virtual COM Port Driver\stsw-stm32102\
文件 1990 2014-10-19 21:17 o323bgc-release-v090-v20160110\bin\STM32 Virtual COM Port Driver\stsw-stm32102\readme.txt
文件 3011067 2018-10-15 11:33 o323bgc-release-v090-v20160110\bin\STM32 Virtual COM Port Driver\stsw-stm32102\VCP_V1.4.0_Setup.exe
文件 2373 2014-10-19 19:13 o323bgc-release-v090-v20160110\bin\STM32 Virtual COM Port Driver\stsw-stm32102\version.txt
目录 0 2018-11-05 12:52 o323bgc-release-v090-v20160110\bin\ST\STli
目录 0 2018-11-05 12:52 o323bgc-release-v090-v20160110\bin\ST\STli
文件 46076 2013-04-18 22:00 o323bgc-release-v090-v20160110\bin\ST\STli
文件 45232 2013-04-26 16:09 o323bgc-release-v090-v20160110\bin\ST\STli
文件 46076 2013-04-18 22:00 o323bgc-release-v090-v20160110\bin\ST\STli
文件 48956 2013-04-26 16:09 o323bgc-release-v090-v20160110\bin\ST\STli
文件 46076 2013-04-18 22:00 o323bgc-release-v090-v20160110\bin\ST\STli
文件 76440 2013-06-25 23:50 o323bgc-release-v090-v20160110\bin\ST\STli
文件 77436 2013-06-26 22:06 o323bgc-release-v090-v20160110\bin\ST\STli
文件 46076 2013-04-18 22:00 o323bgc-release-v090-v20160110\bin\ST\STli
文件 54688 2013-04-26 16:09 o323bgc-release-v090-v20160110\bin\ST\STli
文件 54844 2013-04-26 16:09 o323bgc-release-v090-v20160110\bin\ST\STli
文件 46088 2013-04-18 22:00 o323bgc-release-v090-v20160110\bin\ST\STli
文件 41172 2013-06-27 17:51 o323bgc-release-v090-v20160110\bin\ST\STli
文件 48740 2013-04-18 22:00 o323bgc-release-v090-v20160110\bin\ST\STli
文件 73592 2013-04-18 22:00 o323bgc-release-v090-v20160110\bin\ST\STli
文件 46088 2013-04-18 22:00 o323bgc-release-v090-v20160110\bin\ST\STli
文件 70284 2013-07-17 17:39 o323bgc-release-v090-v20160110\bin\ST\STli
文件 55324 2013-04-19 18:36 o323bgc-release-v090-v20160110\bin\ST\STli
文件 44736 2013-04-18 22:00 o323bgc-release-v090-v20160110\bin\ST\STli
............此处省略125个文件信息
评论
共有 条评论