View unanswered posts | View active topics It is currently Fri Jul 25, 2014 8:16 am






Reply to topic  [ 5 posts ] 
Help with RobotC and IR seeker 
Author Message
Rookie

Joined: Tue Feb 14, 2012 8:01 pm
Posts: 3
Post Help with RobotC and IR seeker
I am using RobotC 3.04 and loaded the sample program, when I try to run it I get and error indicating invalid direction. Do you have tutorial on how to set this up? I am attempting to use robotC and am having trouble getting the sensor to work. Is it posible that this error is caused by a missing driver.


Tue Feb 14, 2012 8:07 pm
Profile
Moderator
Moderator
User avatar

Joined: Wed Mar 05, 2008 8:14 am
Posts: 3163
Location: Rotterdam, The Netherlands
Post Re: Help with RobotC and IR seeker
What sample program are you referring to?

- 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]


Wed Feb 15, 2012 6:14 am
Profile WWW
Rookie

Joined: Tue Feb 14, 2012 8:01 pm
Posts: 3
Post Re: Help with RobotC and IR seeker
HTIRS-test. I think my problem is like this one http://robotc.net/forums/viewtopic.php?t=2768&p=11654 how would I disable the internal drivers. I will be able to get the program if needed tomorrow (about 18 hours from now) We will be having a driving/programming session

Thanks


Wed Feb 15, 2012 11:00 pm
Profile
Moderator
Moderator
User avatar

Joined: Wed Mar 05, 2008 8:14 am
Posts: 3163
Location: Rotterdam, The Netherlands
Post Re: Help with RobotC and IR seeker
You can give yourself access to the custom sensor type by going here:
Window->menu level->expert
Robot->Motor and Sensors Setup->Sensor Management
Enable at least "Allow Custom Designed Sensors"

Now in the "Sensors" tab of the "Motor and Sensor Setup" UI, you will see a new entry called "Custom I2C Sensors" with a whole bunch of sub options. For this particular sensor, set it to "I2C Custom" :)

Now the built-in driver should not start. Also, keep in mind that if you are using the IR Seeker V2, you should be using the HTIRS2-test1.c program, which uses the HTIRS2-driver.h driver file.

Regards,
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]


Thu Feb 16, 2012 3:04 am
Profile WWW
Rookie

Joined: Tue Feb 14, 2012 8:01 pm
Posts: 3
Post Re: Help with RobotC and IR seeker
Thanks. I got it working.


Thu Feb 16, 2012 6:29 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 5 posts ] 

Who is online

Users browsing this forum: Bichon 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.