View unanswered posts | View active topics It is currently Tue Sep 23, 2014 9:25 pm






Reply to topic  [ 4 posts ] 
HiTechnic IR Seeker Driver 
Author Message
Rookie

Joined: Thu Oct 03, 2013 4:47 pm
Posts: 9
Post HiTechnic IR Seeker Driver
When I compiled my program, RobotC said that it "Couldn't open '#include' file 'dirvers/hitechnic-irseeker-v2.h'. So I right clicked on the #include and then clicked "Open include file 'drivers/hitechnic-irseeker-v2.h'", in the dropdown menu, expecting another window or something to open. But, nothing happened... I also tried it on Xander's sample program for the IR Seeker, same result. Is there something that I am missing? And, if so, where can I obtain whatever it is that I am missing? Because my program doesn't want to compile if it can't find it...
Thanks!


Wed Oct 09, 2013 6:59 pm
Profile
Professor
User avatar

Joined: Sat May 18, 2013 1:24 pm
Posts: 272
Location: Olympia, WA
Post Re: HiTechnic IR Seeker Driver
Have you typed everything correctly? It seems like "drivers" is typed as "dirvers" :)

_________________
FTC Team 6424, the 'Oly Cow - Chief programmer.
FRC Team 4450, Olympia Robotics Federation (ORF).

and also quadrotors. Quadrotors!


Wed Oct 09, 2013 8:42 pm
Profile
Rookie

Joined: Thu Oct 03, 2013 4:47 pm
Posts: 9
Post Re: HiTechnic IR Seeker Driver
Ernest3.14 wrote:
Have you typed everything correctly? It seems like "drivers" is typed as "dirvers" :)

Oh, yes. That was just a typo in the post, not the actual code :)


Wed Oct 09, 2013 9:04 pm
Profile
Professor
User avatar

Joined: Sat May 18, 2013 1:24 pm
Posts: 272
Location: Olympia, WA
Post Re: HiTechnic IR Seeker Driver
You have to put the driver file where you say it is. So for example, if you say it's in "drivers/hitechnic-irseeker-v2.h", you'll need to make a folder named "drivers" where your .c file is, and then copy the driver file in there. You'll probably need to copy "common.h" in there too, since most of the drivers #include that as well.

_________________
FTC Team 6424, the 'Oly Cow - Chief programmer.
FRC Team 4450, Olympia Robotics Federation (ORF).

and also quadrotors. Quadrotors!


Thu Oct 10, 2013 12:01 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 4 posts ] 

Who is online

Users browsing this forum: No registered users and 1 guest


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.