[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]/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 4678: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4680: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4681: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4682: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
virt2real.ru • Просмотр темы - Эксперименты с машинкой




 

Управляем чем угодно откуда угодно

Эксперименты с машинкой

Глупых вопросов не бывает! Раздел для тех, кто только начинает.

Re: Эксперименты с машинкой

Сообщение Arkadich » 28 мар 2015, 11:29

Аватара пользователя
Arkadich
 
Сообщения: 32
Зарегистрирован: 04 мар 2015, 00:01

Re: Эксперименты с машинкой

Сообщение lexxcorp » 28 мар 2015, 18:11

я для такой машинки использовал самодельный моторшилд на L298N
Аватара пользователя
lexxcorp
 
Сообщения: 39
Зарегистрирован: 02 апр 2014, 15:06
Откуда: Барнаул

Re: Эксперименты с машинкой

Сообщение Arkadich » 28 мар 2015, 20:30

Аватара пользователя
Arkadich
 
Сообщения: 32
Зарегистрирован: 04 мар 2015, 00:01

Re: Эксперименты с машинкой

Сообщение Arkadich » 07 апр 2015, 21:38

Кстати, в таком движочке можно как-то сделать так, чтобы машинка разгонялась постепенно или в полскорости ехала, а не просто на максимум врубался движок?
Аватара пользователя
Arkadich
 
Сообщения: 32
Зарегистрирован: 04 мар 2015, 00:01

Re: Эксперименты с машинкой

Сообщение Noor » 07 апр 2015, 22:10

Для этого и существует ШИМ
Мастер сам устанавливает закон
Noor
 
Сообщения: 343
Зарегистрирован: 04 сен 2013, 20:03

Re: Эксперименты с машинкой

Сообщение Arkadich » 07 апр 2015, 23:21

Аватара пользователя
Arkadich
 
Сообщения: 32
Зарегистрирован: 04 мар 2015, 00:01

Re: Эксперименты с машинкой

Сообщение Arkadich » 09 апр 2015, 03:23

Аватара пользователя
Arkadich
 
Сообщения: 32
Зарегистрирован: 04 мар 2015, 00:01

Re: Эксперименты с машинкой

Сообщение Arkadich » 09 апр 2015, 19:04

Забавную штуку нашёл: с клавиатуры рулевые почти не поворачиваются колёса, а вот с мышки - всё отлично. Буду ковырять дальше =)
Аватара пользователя
Arkadich
 
Сообщения: 32
Зарегистрирован: 04 мар 2015, 00:01

Re: Эксперименты с машинкой

Сообщение Noor » 09 апр 2015, 19:24

Интересное поведение. Было бы не плохо посмотреть как там сделано физически двигатели в этой машинке. А то по идее все должно нормально работать, и с клавы и с мыши.
Мастер сам устанавливает закон
Noor
 
Сообщения: 343
Зарегистрирован: 04 сен 2013, 20:03

Re: Эксперименты с машинкой

Сообщение Arkadich » 09 апр 2015, 20:13

Конструкция достаточно простая. Чтобы возвращались колёса в исходное положение - стоит пружина. Так вот эта пружина достаточно жёсткая. И ситуация такая: мышкой когда в приложении в2р водишь - ведётся линия(усилие, подаваемое, насколько я понимаю). Так вот если чуть-чуть усилие делать - колёса повернутся на 5-10 градусов и всё. Дальше нужно большее усилие из-за пружины. Вот мышкой ведём дальше, создаётся большее усиление(напряжение?) и колёса поворачиваются на максимум.
А вот на клавиатуре это усиление постоянно-низкое для пружины.

Отсюда вопрос: не хочется пружину ослаблять, можно ли с клавиатуры сделать это усиление больше? Где-то ж стоит определённое фиксированное значение же.
Вложения
_Ru_Dh1yBVw.jpg
nGbdagBGzjY.jpg
WaSbBSNpK9Q.jpg
PXHc8o3w3oo.jpg
oB_jVO6K5dM.jpg
Аватара пользователя
Arkadich
 
Сообщения: 32
Зарегистрирован: 04 мар 2015, 00:01

Пред.След.

Вернуться в Раздел "для чайников"

Кто сейчас на конференции

Сейчас этот форум просматривают: нет зарегистрированных пользователей и гости: 5