Author |
Message |
ninerNation
Rookie
Joined: Sun Nov 04, 2012 5:30 pm Posts: 6
|
 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 |
|
 |
rho
Rookie
Joined: Fri Sep 21, 2012 2:28 pm Posts: 1
|
 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 |
|
 |
Coin3
Rookie
Joined: Fri Nov 04, 2011 10:56 pm Posts: 3
|
 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 |
|
 |
ninerNation
Rookie
Joined: Sun Nov 04, 2012 5:30 pm Posts: 6
|
 Re: 3rd party drivers setup
thank you so much it works 
|
Sun Nov 04, 2012 6:59 pm |
|
 |
maths222
Rookie
Joined: Wed Dec 01, 2010 5:15 pm Posts: 31
|
 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 |
|
 |
JamieD
Rookie
Joined: Fri Mar 11, 2011 9:30 pm Posts: 12
|
 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.comhttp://www.cougarrobot.comhttps://www.facebook.com/CougarRoboticsTeam
|
Sun Nov 04, 2012 10:31 pm |
|
 |
mightor
Site Admin
Joined: Wed Mar 05, 2008 8:14 am Posts: 3654 Location: Rotterdam, The Netherlands
|
 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 |
|
 |
sparks4936
Rookie
Joined: Wed Nov 21, 2012 5:46 pm Posts: 6 Location: Princeton, NJ
|
 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 |
|
 |
MHTS
Guru
Joined: Sun Nov 15, 2009 5:46 am Posts: 1523
|
 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 |
|
 |
sparks4936
Rookie
Joined: Wed Nov 21, 2012 5:46 pm Posts: 6 Location: Princeton, NJ
|
 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 |
|
 |
MHTS
Guru
Joined: Sun Nov 15, 2009 5:46 am Posts: 1523
|
 Re: 3rd party drivers setup
Yes, you need to do this:
|
Wed Nov 21, 2012 6:32 pm |
|
 |
sparks4936
Rookie
Joined: Wed Nov 21, 2012 5:46 pm Posts: 6 Location: Princeton, NJ
|
 Re: 3rd party drivers setup
No luck :(
|
Wed Nov 21, 2012 6:33 pm |
|
 |
sparks4936
Rookie
Joined: Wed Nov 21, 2012 5:46 pm Posts: 6 Location: Princeton, NJ
|
 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 |
|
 |
MHTS
Guru
Joined: Sun Nov 15, 2009 5:46 am Posts: 1523
|
 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:
|
Wed Nov 21, 2012 6:38 pm |
|
 |
sparks4936
Rookie
Joined: Wed Nov 21, 2012 5:46 pm Posts: 6 Location: Princeton, NJ
|
 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 |
|
|