All pages
Powered by GitBook
1 of 3

MAVlink

Introduction

MAVLink is a very lightweight messaging protocol for communicating with drones, as well as between onboard drone components. It is a very commonly used protocol in the open source drone community.

65R OEM

65R supports image metadata tagging and sensor triggering using MAVLink V1 messages. The required serial port configuration for the MAVLink controller is 460800, 8-N-1, and it must be connected to 6X connector J2, pins 1/2 (UART2 TX/RX) with 3.3v signal levels.

65R Gimbal

The gimbaled 65R supports image metadata tagging and sensor triggering using MAVlink V2 messages. The MAVlink messages are ingested into the gimbal hardware and automatically forwarded to the 65R.

A custom camera configuration is generally required for MAVlink implementation with a gimbal. Contact support@sentera.com for more information.

Messages

Image Metadata Messages

  • MAVLINK_MSG_ID_SYSTEM_TIME

  • MAVLINK_MSG_ID_GPS_RAW_INT

  • MAVLINK_MSG_ID_ATTITUDE

  • MAVLINK_MSG_ID_GLOBAL_POSITION_INT

Sensor Triggering Messages

  • MAVLINK_MSG_ID_COMMAND_LONG::MAV_CMD_DO_DIGICAM_CONTROL


Integrated Platforms

Please see the compatibility settings if you are using a fully integrated platform:

Freefly Compatibility Settings - AstroInspired Flight Compatibility Settings - IF800 & IF1200

Generic Settings

These are generic MAVlink settings for use with the 65R sensor.

For non-gimballed sensors use the listed baud rates. For gimballed sensors a baud rate of 115200 or greater is recommended.

PX4 Settings

Parameter
Value

TRIG_INTERFACE

MAVlink

Sets MAVlink messages as the trigger commands.

TRIG_MODE

Distance Based (Survey Mode)

Distance-based on command (Survey mode)

MAV_X_CONFIG

TELEM2 (or any other configurable UART)

Sets the configuration of the desired MAVlink stream on a serial/UART port.

MAV_X_RATE

0 b/s

PX4 Default (half of theoretical max).

MAV_X_MODE

Gimbal or Normal

Sets the MAVlink message set.

MAV_X_FORWARD

Enable

Enables forwarding of MAVlink messages on the configured MAVlink stream.

SER_X_BAUD

460800 8N1

Baudrate for the configured serial port.

Ardupilot Settings

Parameter
Value
Description

SERIALX_BAUD

460800

Baudrate for configured serial port.

SERIALX_PROTOCOL

MAVlink 1 (OEM) MAVlink 2 (Gimballed)

MAVlink protocol for configured serial port.

SRX_EXTRA1

10

Rate for attitude messages (10Hz).

SRX_EXTRA3

2

Rate for UTC time messages (2Hz).

SRX_POSITION

4

Rate for GPS position messages (4Hz).

SRX_EXT_STAT

10

MAVLink Stream rate of SYS_STATUS, POWER_STATUS, MCU_STATUS, MEMINFO, CURRENT_WAYPOINT, GPS_RAW_INT, GPS_RTK (if available), GPS2_RAW_INT (if available), GPS2_RTK (if available), NAV_CONTROLLER_OUTPUT, FENCE_STATUS, and GLOBAL_TARGET_POS_INT

CAMX_TYPE

5

How to trigger the camera to take a picture

Freefly Compatibility Settings - Astro

Intro

Current Astro firmware and 65R firmware requires two parameters to be set for seamless operation. This requirement will be removed in an upcoming firmware release. Please use the page linked below for instructions on how to set the parameters.

Instructions

  1. Power on Astro and hand controller & Connect

  2. Open AMC

  3. Enter advanced mode by rapidly tap on the Auterion logo in the upper left hand corner until a dialog box appears.

  4. Press Switch to Advanced

  5. Press the Auterion logo in the upper left hand corner and press Advanced

  6. Scroll down to Parameters on the left hand menu

  7. In the search bar search "baud"

  8. Change SER_EXT2_BAUD to 115200 8N1 and press Save

  9. In the search bar search "MAV"

  10. Change the MAV_MODE from GIMBAL to Normal and press Save

  11. Turn the aircraft off

  12. Connect the sensor to the aircraft

  13. Power on aircraft

  14. Restart AMC

  15. Verify the lights on the sensor turn solid green

Inspired Flight Compatibility Settings - IF800 & IF1200

Introduction

For Inspired Flight systems that were not purchased through or configured by Inspired Flight or Sentera use the following instructions to configure your aircraft for Sentera sensors.


Instructions

  1. Power on aircraft and hand controller

  2. Open IGC/QGC and verify connection to aircraft

  3. Tap the IGC Icon in the upper left hand corner and enter the vehicle setup menu

  4. Scroll down in the left hand menu and select Parameters

  5. In the search bar search "CAM2_TYPE"

  6. Set CAM2_TYPE = 5 and press Save

  7. Repeat this process for the following parameters listed in the table below

  8. Once all of the parameters are set power down the aircraft

  9. Connect the sensor to the aircraft

  10. Power on the aircraft

  11. Verify the lights on the sensor to turn solid green (requires a GPS fix)

The shoulder wheel on the hand controller should now also control the gimbal pitch of the camera.

Parameter
Value

CAM2_TYPE

5

SERIAL4_PROTOCOL

MAVlink 2

SERIAL4_BAUD

115200

SR4_EXTRA1

10

SR4_EXTRA3

2

SR4_POSITION

4

SR4_EXT_STAT

10

MNT1_Type

Gremsy

MNT1_RC_RATE

60 deg/s

MNT1_PITCH_MIN

-90 deg

RC5_OPTION

Mount1 Pitch

RC5_DZ

20 PWM