|Gyro code from virtual to real world
|Page 1 of 1|
|Author:||matt snyder [ Wed Nov 20, 2013 1:14 am ]|
|Post subject:||Gyro code from virtual to real world|
Should the "conveyorbot gyro" code for FTC Block Party work in the real world? We noticed it does not use 3rd party drivers, and has no separate task doing integration of the sensor values, so we were excited to try out the new cleaner approach. But in our tests, it doesn't work at all. Should while(SensorValue[gyro] < 1250) work in the real world, or only in Virtual Worlds?
|Author:||tr24em [ Thu Nov 21, 2013 11:27 pm ]|
|Post subject:||Re: Gyro code from virtual to real world|
As far as I know it should work.
What is going wrong?
If you are directly using the same code, is your robot setup the same way?
Have you tried while(SensorValue[gyro] > -1250) to see if the gyro is reading backwards compared to the virtual robot?
|Page 1 of 1||All times are UTC - 5 hours [ DST ]|
|Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group