[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: 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 483: 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 483: 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 483: 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 483: 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 483: 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 483: 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 483: 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 483: 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 483: 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 483: 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 483: 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 483: 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 483: 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 483: 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 483: 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 483: 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 483: 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 483: 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 483: 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 483: 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 483: 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 483: 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 483: 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 483: 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 483: 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]/feed.php on line 173: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/feed.php on line 174: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
virt2real.ru Управляем чем угодно откуда угодно 2014-08-13T23:22:29+04:00 http://forum.virt2real.ru/feed.php?f=38&t=14097 2014-08-13T23:22:29+04:00 2014-08-13T23:22:29+04:00 http://forum.virt2real.ru/viewtopic.php?t=14097&p=20237#p20237 <![CDATA[Re: Точность gpio-event, с опытом и вопросами]]>
Дошли руки до декодирования 4-х PWM каналов от RC приёмника. Результаты удручают - значения гуляют в пределах 50мс в обе стороны, при диапазоне значений 1000мс-2000мс. Сказывается то, что спад PWM импульса одного канала совпадает с фронтом импульса следующего и обработчик прерываний с ума сходит. Летать с таким невозмжно.

картинка про PWM и PPM-sum для понимания масштаба трагедии

http://api.ning.com/files/dx5ykeJRAELCZ ... _FRAME.jpg

http://www.pabr.org/pxarc/doc/opwm_ppm.gif

Для сравнения, при декодировании ppm-sum были одиночные отклонения значений менее чем 10мс и отфильтровывались они медианным фильтром достаточно хорошо.

RC-приёмник с ppm-sum выходом в пути из поднедесной. Приедет - продолжу с ним эксперементы.

Ещё одно сравнение - с родным тренерским USB-свистком от RC-аппаратуры. Значения от него вообще не плавают после калибровки.

Статистика: Добавлено eagafonov — 13 авг 2014, 23:22


]]>
2014-05-07T00:21:20+04:00 2014-05-07T00:21:20+04:00 http://forum.virt2real.ru/viewtopic.php?t=14097&p=19813#p19813 <![CDATA[Re: Точность gpio-event, с опытом и вопросами]]> https://docs.google.com/spreadsheets/d/ ... sp=sharing

Имеется некий "дребезг" самого пульта и явные вылеты.
Похоже, медианный фильтр длины 3 должен сильно сгладить.

Статистика: Добавлено eagafonov — 07 май 2014, 00:21


]]>
2014-05-06T16:46:54+04:00 2014-05-06T16:46:54+04:00 http://forum.virt2real.ru/viewtopic.php?t=14097&p=19809#p19809 <![CDATA[Re: Точность gpio-event, с опытом и вопросами]]>
В случае с дальномером медианный фильтр вполне это отфильтрует, но вот фильтровать PPM с RC пульта чревато искусственными лагами в управлении.

Использовать отдельный микроконтроллер это была вторая идея :-) Лень паять и программировать ещё и контроллер перевесила. Да и просто интересно было.
Короче, "учитывайте это при планировании работ" ;-)

Статистика: Добавлено eagafonov — 06 май 2014, 16:46


]]>
2014-05-06T01:39:54+04:00 2014-05-06T01:39:54+04:00 http://forum.virt2real.ru/viewtopic.php?t=14097&p=19798#p19798 <![CDATA[Re: Точность gpio-event, с опытом и вопросами]]> Статистика: Добавлено phoenix367 — 06 май 2014, 01:39


]]>
2014-05-06T00:39:59+04:00 2014-05-06T00:39:59+04:00 http://forum.virt2real.ru/viewtopic.php?t=14097&p=19797#p19797 <![CDATA[Точность gpio-event, с опытом и вопросами]]> Статистика: Добавлено eagafonov — 06 май 2014, 00:39


]]>