[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/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 - PID Tuning with Radio/Channel
Page 1 of 1

PID Tuning with Radio/Channel

PostPosted: Thu May 09, 2013 8:14 am
by aqchab
Hi,

don´t know if already asked - is it possible to use Radio Channel for PID Tuning - so maybe it´s much easier to play around ;)

Re: PID Tuning with Radio/Channel

PostPosted: Thu May 09, 2013 9:04 am
by Max
There's no built-in way to do it, though it's certainly possible with a bit of custom code. You first have to decide which parameter(s) will be tuned with which knob(s). Then some code in control.c should do the trick. You'll have to also set a scale for the adjustment, ie. how much the param values change in proportion to the RC channel input.

Some way to set up a parameter->channel mapping at runtime isn't a bad idea. Obviously a dangerous function though, it would be easy to cause all sorts of havoc with it. :twisted:

-Max

Re: PID Tuning with Radio/Channel

PostPosted: Thu May 09, 2013 1:37 pm
by bn999

Re: PID Tuning with Radio/Channel

PostPosted: Thu May 09, 2013 2:04 pm
by aqchab
Hi,

that means i have to setup development environment?
As i read the most common tool used is crossworks.
Does anyone use this on Mac OSX with success?

Re: PID Tuning with Radio/Channel

PostPosted: Thu May 09, 2013 2:11 pm
by skew
I use parallels 8 and ubuntu linux on mac os. Look in this thread for some of my post on what needs to be setup to run.

Re: PID Tuning with Radio/Channel

PostPosted: Thu May 09, 2013 8:06 pm
by aqchab
Hi,

first run on Mac OS X 10.6.8 with Crossworks - no Error - only warnings but i think that´s OK

Does anybody know how to setup the AutoQuad SVN within Crossworks?

Re: PID Tuning with Radio/Channel

PostPosted: Thu May 09, 2013 10:02 pm
by chschmid
Crossworks is the linker/compiler, for SVN you can use Tortoise for instants.
First use Tortoise to get the source to your computer, then use Crossworks to generate a HEX file.

I am a W7 user, so I can not comment to Mac.

Best
Christof

Re: PID Tuning with Radio/Channel

PostPosted: Thu May 09, 2013 10:14 pm
by Max
A few warning is normal. Make sure you're building a Release version, like it says in the AQ dev docs.

I believe to get SVN working directly from CW, you still have to install the official SVN client for your OS. Then you tell CW where to find the SVN executable... or something like that :) But you can also just use any SVN client from outside CW, like Christof said.

And thanks Bill for pointing out that feature... learning something new every day :)

-Max

Re: PID Tuning with Radio/Channel

PostPosted: Fri May 10, 2013 9:21 am
by aqchab
so i can just use svn command from terminal to get the source files as i´ve done it. I just thought it would be easier to do that from CW

thanks