by adrianovrm » Sat 23. Feb 2013, 01:52
Galera, Boa Noite !
Continuo trabalhando no eu simulador nos fins de semana, Não desistam, vamos fazer, tenho algumas questões sobre o converter, consegui fazer funcionar num protoótipo com arduino , usando servos motores, mas agora, começei os testes com os motores de CC da bosch, Não estou fazendo teste de carga, somente tetes com cálculo PID de posicionamento dos motores, consegui fazer funcionar o centralizamento dos motores via PID, muito feliz que funcionou ! mais que pinto em merda, como dizem alguns de meus conterrâneos. Ocorr que quando capturo os dados do converter para o arduino da aceleração longitutdianl e lateral, que o converter captura em -2bilhoes de valores ...0 ... + 2 bilhoes de valores e passa para valores de 8 bits, lá na parte de fazer a matemática o simulador tenta calibrarvalores maximos e mínimos mas estes valores ainda ficam muito altos e não se i quais valores estão indo para o arduino via serial. moral da hist;oria , os motores, quando estou no rfactor, não estão movendo de fora adequada, eles quase não mexem, só em movimentos muito abruptos eles mostram resposta, o que quero saber é ---> na aba de input os valores variam de - 8xxxxxx a + 8xxxxxx, o que acho que seja ao em torno de 8 g de força gravitacional mas não consigo capturar estes valores no arduino, há alguma conversão na paarte do math que ainda não entendi, os colega poderiam me ajudar, estou quase fazendo os motores funcionar dentro do simulador, talvez descubra sozinho mas gostaria de ajuda, se possível , para ir mais rápido.
Guys, Good Night!
I'm still working on the simulator on weekends, Do not give up, we do have a few questions about converting, I managed to run a prototype with arduino, using servo motors, but now, I started testing with DC motors bosch, not 'm doing load testing, only with PID calculation engine positioning, l could do they work center engines via PID, very happy it worked! more than dick in shit, as some of my countrymen said. Occurrence that when I capture the data from the arduino to convert longitutdianl and lateral acceleration, the capture-convert 2bilion values ... 0 ... + 2 billion value and passes it to 8-bit values, there in part to do the math simulator tries calibrarvalores maximums and minimums but these values are still too high and i do not know what values are going to arduino via serial. to simply... engines dc, when I'm in rfactor, are not moving out in a right way, they hardly move, only in movements abrupt they show very abrupt answer, what I want to know is ---> tab of input values ranging from - to + 8xxxxxx 8xxxxxx, which I think is at around 8 g of gravitational force but can not capture these values in arduino, there is some conversion math in part l not yet understood, the colleague could help me? I'm almost making the engines run inside the simulator, l may find myself but would like to help, if possible, to go faster. thanks in advance