[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4789: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3916)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4791: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3916)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4792: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3916)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4793: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3916)
AutoQuad Forum • View topic - Frsky Telemetry HOTT for AQ code.

Frsky Telemetry HOTT for AQ code.

Radio, Telemetry, FTDI/USB, ESCs, Motors, etc.

Frsky Telemetry HOTT for AQ code.

Postby chestnut » Wed Apr 01, 2015 2:28 pm

Hi all,

Long time I don't update any thing for AQer, I have some experiences to develop from AQ open source code, so for now, i'll update some modules to upgrade for AQ code such as: Frsky Telemetry HOT, auto disarm after 3s if no throttle (never use diasrm :D) , garanti for start up like NAZA A2, Smart mode fly...Some algorithms like Quastos, AQ code for fixed-wing, HIL...

I will update some pics and videos at tomorrow for Frsky Telemetry HOT.

For Frsky telemetry HOT, you need invert signal like S-bus, like this, or you need invert logic ics (74HC04).

I'll update code and pic soon as soon possible.
Attachments
sport_inversion_circuit_v2.gif
sport_inversion_circuit_v2.gif (9.25 KiB) Viewed 24566 times
Last edited by chestnut on Thu Apr 02, 2015 1:11 pm, edited 1 time in total.
chestnut
 
Posts: 71
Joined: Wed Oct 23, 2013 3:45 am
Location: VietNam

Re: Frsky Telemetry HOT for AQ code.

Postby chestnut » Thu Apr 02, 2015 1:01 pm

https://www.youtube.com/watch?v=FcG1ZV31D5k

I hope, Bill can integrated into AQ code. Thanks all.
Attachments
frsky_telemetry.h
(2.41 KiB) Downloaded 1188 times
frsky_telemetry.c
(4.75 KiB) Downloaded 1208 times
Last edited by chestnut on Fri Apr 03, 2015 1:20 am, edited 1 time in total.
chestnut
 
Posts: 71
Joined: Wed Oct 23, 2013 3:45 am
Location: VietNam

Re: Frsky Telemetry HOTT for AQ code.

Postby Cookiemonsta » Thu Apr 02, 2015 1:49 pm

Cool :)
So many interesting things ;)
So you implemented a L1 algorithm by yourself?
Cookiemonsta
 
Posts: 126
Joined: Thu Apr 11, 2013 3:31 pm

Re: Frsky Telemetry HOTT for AQ code.

Postby bn999 » Thu Apr 02, 2015 2:52 pm

Toan,

This looks like some clean code - very nice. I think all this would need to be done is to hook it up to the comm module instead of working with the serial ports directly so that it can work with the existing structure. A new commStreamTypes can be added (or more likely an unimplemented slot reclaimed for Frsky.)

Slightly unrelated: the idle calculations in AQ should probably be consolidated into the supervisor module. This module would be the third duplication of that code.
bn999
 
Posts: 1559
Joined: Thu Jun 21, 2012 11:40 pm

Re: Frsky Telemetry HOTT for AQ code.

Postby chestnut » Thu Apr 02, 2015 5:25 pm

chestnut
 
Posts: 71
Joined: Wed Oct 23, 2013 3:45 am
Location: VietNam

Re: Frsky Telemetry HOTT for AQ code.

Postby Max » Fri Apr 03, 2015 4:05 pm

Chestnut, have you tried this code? To be honest I don't understand how it works. For one thing, with S.Port you need to listen for the Rx to request data before sending any. The data IDs you're sending are from the old FrSky protocol, but trying to send it in SPort data format. Also for example, I'm not sure how you're sending double values like lat/lon via uint16.

We do have some SPort telemetry code in the works which should hopefully be online soon. I've been hesitant to post anything that sounds like a promise or timeframe ;) but it's happening sooner than later.

-Max
Max
 
Posts: 2814
Joined: Mon Aug 13, 2012 9:45 pm
Location: Near Ithaca, NY, USA

Re: Frsky Telemetry HOTT for AQ code.

Postby chestnut » Fri Apr 03, 2015 10:24 pm

Attachments
SCRIPTS.7z
(5.64 KiB) Downloaded 1145 times
Screen Shot 2015-04-04 at 4.15.00 AM.png
chestnut
 
Posts: 71
Joined: Wed Oct 23, 2013 3:45 am
Location: VietNam

Re: Frsky Telemetry HOTT for AQ code.

Postby chestnut » Mon Apr 06, 2015 11:21 pm

Can you want turning PID with using Frsky and Telemetry on Frsky? Now I'm testing some code for this, really cool.
chestnut
 
Posts: 71
Joined: Wed Oct 23, 2013 3:45 am
Location: VietNam


Return to Connections

Who is online

Users browsing this forum: No registered users and 9 guests

cron