Functions | Variables
pymavlink.examples.magtest Namespace Reference

Functions

def set_attitude (rc3, rc4)
 
def TrueHeading (SERVO_OUTPUT_RAW)
 

Variables

 args = parser.parse_args()
 
 blocking
 
 condition
 
 default
 
int delta3 = 2
 
int delta4 = 1
 
 event = mavutil.periodic_event(30)
 
 help
 
 mav1 = mavutil.mavlink_connection(args.device1, baud=args.baudrate)
 
 mav2 = mavutil.mavlink_connection(args.device2, baud=args.baudrate)
 
int MAV_ACTION_CALIBRATE_GYRO = 17
 
 parser = ArgumentParser(description=__doc__)
 
 pevent = mavutil.periodic_event(0.3)
 
 rc3 = rc3_min
 
int rc3_max = 1850
 
int rc3_min = 1060
 
int rc4 = 1160
 
int rc4_max = 1500
 
int rc4_min = 1080
 
 required
 
 True
 
 type
 
int use_pitch = 1
 

Detailed Description

rotate APMs on bench to test magnetometers

Function Documentation

def pymavlink.examples.magtest.set_attitude (   rc3,
  rc4 
)

Definition at line 23 of file magtest.py.

def pymavlink.examples.magtest.TrueHeading (   SERVO_OUTPUT_RAW)

Definition at line 81 of file magtest.py.

Variable Documentation

pymavlink.examples.magtest.args = parser.parse_args()

Definition at line 21 of file magtest.py.

pymavlink.examples.magtest.blocking

Definition at line 45 of file magtest.py.

pymavlink.examples.magtest.condition

Definition at line 45 of file magtest.py.

pymavlink.examples.magtest.default

Definition at line 20 of file magtest.py.

pymavlink.examples.magtest.delta3 = 2

Definition at line 65 of file magtest.py.

pymavlink.examples.magtest.delta4 = 1

Definition at line 66 of file magtest.py.

pymavlink.examples.magtest.event = mavutil.periodic_event(30)

Definition at line 57 of file magtest.py.

pymavlink.examples.magtest.help

Definition at line 17 of file magtest.py.

pymavlink.examples.magtest.mav1 = mavutil.mavlink_connection(args.device1, baud=args.baudrate)

Definition at line 33 of file magtest.py.

pymavlink.examples.magtest.mav2 = mavutil.mavlink_connection(args.device2, baud=args.baudrate)

Definition at line 36 of file magtest.py.

int pymavlink.examples.magtest.MAV_ACTION_CALIBRATE_GYRO = 17

Definition at line 69 of file magtest.py.

pymavlink.examples.magtest.parser = ArgumentParser(description=__doc__)

Definition at line 15 of file magtest.py.

pymavlink.examples.magtest.pevent = mavutil.periodic_event(0.3)

Definition at line 58 of file magtest.py.

pymavlink.examples.magtest.rc3 = rc3_min

Definition at line 63 of file magtest.py.

int pymavlink.examples.magtest.rc3_max = 1850

Definition at line 60 of file magtest.py.

int pymavlink.examples.magtest.rc3_min = 1060

Definition at line 59 of file magtest.py.

int pymavlink.examples.magtest.rc4 = 1160

Definition at line 64 of file magtest.py.

int pymavlink.examples.magtest.rc4_max = 1500

Definition at line 62 of file magtest.py.

int pymavlink.examples.magtest.rc4_min = 1080

Definition at line 61 of file magtest.py.

pymavlink.examples.magtest.required

Definition at line 17 of file magtest.py.

pymavlink.examples.magtest.True

Definition at line 17 of file magtest.py.

pymavlink.examples.magtest.type

Definition at line 19 of file magtest.py.

int pymavlink.examples.magtest.use_pitch = 1

Definition at line 67 of file magtest.py.



mavlink
Author(s): Lorenz Meier
autogenerated on Sun Apr 7 2019 02:06:02