Skip to content

Commit ec4a557

Browse files
committed
Script: add ahrs bypass sample
1 parent 41f9fbf commit ec4a557

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

Scripts/cubeorange.py

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+

2+
import clr
3+
import MissionPlanner
4+
clr.AddReference("MAVLink")
5+
from System import Byte
6+
from System import Func
7+
import MAVLink
8+
from MAVLink import mavlink_command_long_t
9+
10+
import MAVLink
11+
12+
print 'Start Script'
13+
14+
MAV.setParam("INS_ACC_ID", 0, True);
15+
MAV.setParam("INS_ACC2_ID", 0, True);
16+
MAV.setParam("INS_ACC3_ID", 0, True);
17+
18+
MAV.setParam("INS_ACC_ID", 3081250, True);
19+
MAV.setParam("INS_ACC2_ID", 2883874, True);
20+
MAV.setParam("INS_ACC3_ID", 3015690, True);
21+
22+
print 'Done'

0 commit comments

Comments
 (0)