Skip to content

agressiva/MavLink_FrSkySPort

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 

Repository files navigation

MavLink_FrSkySPort

This is a modified version of the mavlink to frsky s.port code found here: http://diydrones.com/forum/topics/amp-to-frsky-x8r-sport-converter

It's based on the official 1.3 version.

Changes:

  • Acc X/Y/Z reports the average vibrations (difference between max/min) instead of actual accelerometer values.
  • Reports gps-speed instead of hud-speed.
  • Change how the code responds to tx telemetry requests. This fixes the missing cell/cells in the latest open-tx versions.
  • Updated the cell detection to minimize the risk of detecting to many cells (unless the battery is low upon connection) and changing the cell count inflight when the battery voltage drops.
  • Changed the averaging for voltage/current to be more accurate to the voltage/current fluctuations. Hoping of increasing the accuracy of the mAh-counter. Use FAS as both voltage/current source.
  • Delays sending the voltage/current until the voltage reading through mavlink has stabilized. This should minimize the false low battery-warnings upon model powerup.
  • GPS hdop on A2
  • Temp2 contains both arming status (armed if the value is uneven) and status message number if the text received through mavlink was recognized.

Lua scripts: Arducopter_Status

Mixer scripts:

ApmTelem.lua: This script configures A2 for usage as hdop and exports arming-status as an output. This status can be used to for example control a timer. It also publishes a set of methods that can be used by other scripts.

ApmSounds.lua: This is a mixer script that announces (plays a soundfile) when the flightmode changes. Some flightmodes (auto-modes) will be repeated at a given intervall.

Lua telemetry screens:

telem1.lua: Shows status of different parameters received through mavlink. Some of this parameters are current flightmode, gps status, battery status, current consumption and power usage. It also displays (briefly) any status messages received from ardupilot.

telem2.lua: Shows a log with received status messages from ardupilot.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published