View unanswered posts | View active topics It is currently Thu Nov 27, 2014 9:26 am






Reply to topic  [ 2 posts ] 
Gyro code from virtual to real world 
Author Message
Rookie

Joined: Mon Dec 10, 2012 12:39 am
Posts: 3
Post 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?


Wed Nov 20, 2013 1:14 am
Profile
Rookie

Joined: Thu May 02, 2013 10:52 am
Posts: 22
Post 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?

_________________
What is easy you have done, what is hard you can do, what is impossible will take a little longer


Thu Nov 21, 2013 11:27 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 2 posts ] 

Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  



Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.