View unanswered posts | View active topics It is currently Mon Jul 28, 2014 4:29 pm






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 13, 2013 11:19 pm
Profile
Site Admin
Site Admin
User avatar

Joined: Tue Oct 09, 2012 10:34 am
Posts: 192
Post Re: Gyro code from virtual to real world
Hi matt,
The RVW does the processing that the 3rd party driver normally does. This has the benefit that the angle measurement provided by the gyro will be 100% accurate in the RVW, whereas in the real world this isn't the case.

Best,
--Ryan

_________________
Ryan Cahoon
CMU Robotics Academy
RVW Software Developer

Robot Potato Head; Virtual NXT


Tue Dec 10, 2013 2:46 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.