View unanswered posts | View active topics It is currently Wed Apr 23, 2014 10:34 pm






Reply to topic  [ 18 posts ]  Go to page 1, 2  Next
3rd party drivers setup 
Author Message
Rookie

Joined: Sun Nov 04, 2012 5:30 pm
Posts: 6
Post 3rd party drivers setup
hey guys

i downloaded the driver suite and i was going to set it up
but in my ROBOTC directory tab there isn't a user include path option to link my
3rd party driver folder

was it moved in ROBOTC version 3.5(i downloaded the update today)


Sun Nov 04, 2012 5:51 pm
Profile
Rookie

Joined: Fri Sep 21, 2012 2:28 pm
Posts: 1
Post Re: 3rd party drivers setup
Yes, I'm having the same problem. I was able to install under RobotC 3.52, but I just updated to 3.54 and under "Detailed Preferences", "Directories", there's no longer a window to specify "Directory for user 'include' files for platform 'NXT'.

In fact there are only 4 windows on that preferences page, instead of the 7 depicted in Xander's Driver Suite Tutorial. Is there a way to migrate back to 3.52?


Sun Nov 04, 2012 6:00 pm
Profile
Rookie

Joined: Fri Nov 04, 2011 10:56 pm
Posts: 3
Post Re: 3rd party drivers setup
I was surprised by this change as well. Xander's blog says that RobotC 3.54 now has version 3.1 of his drivers already installed...?

I got it to work by changing the first window "Directory for Source Files" to the "rdpartyrobotcdr-3.1" folder.


Sun Nov 04, 2012 6:32 pm
Profile
Rookie

Joined: Sun Nov 04, 2012 5:30 pm
Posts: 6
Post Re: 3rd party drivers setup
thank you so much
it works :)


Sun Nov 04, 2012 6:59 pm
Profile
Rookie
User avatar

Joined: Wed Dec 01, 2010 5:15 pm
Posts: 30
Post Re: 3rd party drivers setup
You need to click "Window->Menu Level->Expert/Super User". Every update resets this preference. This should bring back your missing tabs.


Sun Nov 04, 2012 8:20 pm
Profile
Rookie

Joined: Fri Mar 11, 2011 9:30 pm
Posts: 12
Post Re: 3rd party drivers setup
They've moved some of the preference settings to new menu locations.

Look under View, Preferences, Detailed Preferences, Compiler, and then on the Include Directories tab

you now have that in addition to the directories set under View, Preferences, Detailed Preferences, General

_________________
Jamie Diamond
Cougar Robotics Team (Ring It Up!, Bowled Over!, Get Over It! #4251)
(Smart Moves #127, Climate Connections #437, Power Puzzle #1470)
coach@cougarrobot.com
http://www.cougarrobot.com
https://www.facebook.com/CougarRoboticsTeam


Sun Nov 04, 2012 10:31 pm
Profile
Moderator
Moderator
User avatar

Joined: Wed Mar 05, 2008 8:14 am
Posts: 3116
Location: Rotterdam, The Netherlands
Post Re: 3rd party drivers setup
I need to update the tutorial, but bugs in my driver suite (and ROBOTC) have diverted my scantest resource, my spare time, from doing this.

= Xander

_________________
| Professional Conduit of Reasonableness
| (Title bestowed upon on the 8th day of November, 2013)
| My Blog: I'd Rather Be Building Robots
| ROBOTC 3rd Party Driver Suite: [Project Page]


Tue Nov 13, 2012 2:03 am
Profile WWW
Rookie

Joined: Wed Nov 21, 2012 5:46 pm
Posts: 6
Location: Princeton, NJ
Post Re: 3rd party drivers setup
We're a new team and this is our first time trying to use a 3rd party sensor so I'm sorry if this we're overlooking something very basic.

We're using RobotC version 3.54 and driver suite 3.1.

I'm trying to include hitechnic-irseeker-v2.h
This is the path I'm using: C:\Documents and Settings\Robotics\Desktop\RingItUpPrograms\rdpartyrobotcdr-3.1\

I've tried adding the directory under:
Detailed Preferences>Compiler>Include Directories>Directory for user include files
Detailed Preferences>Compiler>Include Directories>Directory for user include files for platform 'Tetrix'
Detailed Preferences>General>Directories>Directory for source files
Detailed Preferences>General>Files>System Include Header File

All of them give me this error: No filename for '#include' directive

Any help would be appreciated.


Wed Nov 21, 2012 6:14 pm
Profile
Guru
User avatar

Joined: Sun Nov 15, 2009 5:46 am
Posts: 1347
Post Re: 3rd party drivers setup
Would you show us the syntax of your #include lines? Did you enclose your include paths in double quotes (")?


Wed Nov 21, 2012 6:20 pm
Profile
Rookie

Joined: Wed Nov 21, 2012 5:46 pm
Posts: 6
Location: Princeton, NJ
Post Re: 3rd party drivers setup
Here's the syntax I'm using: #include hitechnic-irseeker-v2.h

I've not enclosed the paths in double quotes. I'll try that and let you know if it works.


Wed Nov 21, 2012 6:30 pm
Profile
Guru
User avatar

Joined: Sun Nov 15, 2009 5:46 am
Posts: 1347
Post Re: 3rd party drivers setup
sparks4936 wrote:
Here's the syntax I'm using: #include hitechnic-irseeker-v2.h

I've not enclosed the paths in double quotes. I'll try that and let you know if it works.

Yes, you need to do this:
Code:
#include "hitechnic-irseeker-v2.h"


Wed Nov 21, 2012 6:32 pm
Profile
Rookie

Joined: Wed Nov 21, 2012 5:46 pm
Posts: 6
Location: Princeton, NJ
Post Re: 3rd party drivers setup
No luck :(


Wed Nov 21, 2012 6:33 pm
Profile
Rookie

Joined: Wed Nov 21, 2012 5:46 pm
Posts: 6
Location: Princeton, NJ
Post Re: 3rd party drivers setup
Now I'm getting this error: "Couldn't open '#include' file 'hitechnic-irseeker-v2.h'"


Wed Nov 21, 2012 6:35 pm
Profile
Guru
User avatar

Joined: Sun Nov 15, 2009 5:46 am
Posts: 1347
Post Re: 3rd party drivers setup
Ok, this means you did not set the correct path in the "Preferences->Compiler->Directories". In any case, where exactly is the hitechnic-irseeker-v2.h file relative to your program code? An alternative is to specify the path in the include statement. For example, our code is in desktop\ftc\2013\code\RingItUp and Xander's driver is in desktop\ftc\2013\code\RobotCDrivers\drivers. Then our include line would be something like this:
Code:
#include "..\RobotCDrivers\drivers\hitechnic-irseeker-v2.h"


Wed Nov 21, 2012 6:38 pm
Profile
Rookie

Joined: Wed Nov 21, 2012 5:46 pm
Posts: 6
Location: Princeton, NJ
Post Re: 3rd party drivers setup
Xander's driver is in: C:\Documents and Settings\Robotics\Desktop\RingItUpPrograms\Drivers\rdpartyrobotcdr-3.1\
The code is: C:\Documents and Settings\Robotics\Desktop\RingItUpPrograms\Mis\IRSeekerTest

I tried including the driver using this syntax:
#include "C:\Documents and Settings\Robotics\Desktop\RingItUpPrograms\Drivers\hitechnic-irseeker-v2.h"

And I'm getting this error:
Couldn't open '#include' file 'C:\Documents and Settings\Robotics\Desktop\RingItUpPrograms\Drivers\rdpartyrobotcdr-3.1\'


Wed Nov 21, 2012 6:54 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 18 posts ]  Go to page 1, 2  Next

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.