View unanswered posts | View active topics It is currently Thu Jul 24, 2014 6:59 pm






Reply to topic  [ 4 posts ] 
Need help with programmimg an IR sensor 
Author Message
Rookie

Joined: Tue Oct 02, 2012 11:46 am
Posts: 6
Post Need help with programmimg an IR sensor
I do not know how to program autonomous with an ir sensor. I want to make a program which would turn the robot to a certain direction using the ir sensor, then drive forward, and when ever the the ir is not in the right section, the robot will turn.
any help with the basics of programming ir sensors will help greatly.
thank you.


Tue Dec 18, 2012 2:40 pm
Profile
Guru
User avatar

Joined: Sun Nov 15, 2009 5:46 am
Posts: 1347
Post Re: Need help with programmimg an IR sensor
Have you read this thread?
viewtopic.php?f=41&t=5092&hilit=+IR
If you want to see IR seeking in action, this is our robot doing IR seeking in autonomous.
http://www.youtube.com/watch?v=ou8zFzWXQ7I


Tue Dec 18, 2012 6:46 pm
Profile
Rookie

Joined: Tue Oct 02, 2012 11:46 am
Posts: 6
Post Re: Need help with programmimg an IR sensor
yeah i did. RobotC keeps coming up with an error for the driver.
Code:
**Severe*:Couldn't open '#include' file 'drivers/hitechnic-irseeker-v2.h'


Thu Jan 03, 2013 4:52 pm
Profile
Guru
User avatar

Joined: Sun Nov 15, 2009 5:46 am
Posts: 1347
Post Re: Need help with programmimg an IR sensor
It sounds like you don't have the correct path. Did you download Xander's driver suite? If so, what is the path of the folder you put the driver suite in? You need to specify the correct path for RobotC to find the irseeker driver.


Fri Jan 04, 2013 10:23 pm
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.