View unanswered posts | View active topics It is currently Sun Dec 21, 2014 5:42 pm






Reply to topic  [ 4 posts ] 
New to RobotC, need help with accelerometer and shaft encdr 
Author Message
Rookie

Joined: Sat Jul 16, 2011 9:06 pm
Posts: 2
Post New to RobotC, need help with accelerometer and shaft encdr
Hello all. I'm pretty much new to the robotc programming world, I didn't know it existed until 4 weeks ago. Anyhow, I built a car, with an accelerometer and a shaft encoder, that it is going to be powered by an Estes rocket. All I need is to create a code that will acquire the data from bot sensors and send it to back to my computer. I'm using the joystick to ignite the rocket btw. All help will be very much appreciated.


Sat Jul 16, 2011 9:18 pm
Profile
Site Admin
Site Admin

Joined: Tue May 15, 2007 9:02 am
Posts: 406
Post Re: New to RobotC, need help with accelerometer and shaft encdr
There's about a dozen videos on using the encoders found here: http://www.education.rec.ri.cmu.edu/pro ... index.html

You'll find some in the Movement section and others in the Sensing section. Also try looking at the included sample programs in ROBOTC.

_________________
Jesse Flot
CMU Robotics Academy
ROBOTC Support


Mon Jul 18, 2011 8:52 am
Profile
Rookie

Joined: Sat Jul 16, 2011 9:06 pm
Posts: 2
Post Re: New to RobotC, need help with accelerometer and shaft encdr
Thanks for the reply. I couldn't fin any videos on the webpage you posted, and I have gone through all the tutorials included on robotC and checked the sample programs. None of them help me with what I need, they all only describe how to control the movement of the car with using such sensors. My car does not have any electric motors, it is going to be powered by a rocket engine. I will post a video tomorrow of the car in action to see if that helps describe what type of program do I need.


Tue Jul 26, 2011 2:08 am
Profile
Site Admin
Site Admin

Joined: Tue May 15, 2007 9:02 am
Posts: 406
Post Re: New to RobotC, need help with accelerometer and shaft encdr
Check out the "writeDebugStream" command in ROBOTC: http://www.robotc.net/support/vex/WebHelpCortex/

Go to ROBOTC Functions > Debug

_________________
Jesse Flot
CMU Robotics Academy
ROBOTC Support


Tue Jul 26, 2011 10:20 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 4 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.