View unanswered posts | View active topics It is currently Tue Jul 29, 2014 6:42 am






Reply to topic  [ 8 posts ] 
HiTechnic Angle Sensor? 
Author Message
Rookie

Joined: Thu Oct 03, 2013 4:47 pm
Posts: 9
Post HiTechnic Angle Sensor?
Can somebody give me a simple sample code to do ANYTHING with the HiTechnic angle sensor? I've looked it up and even went to the source and still have yet to find a sample program. At least, not any for the RobotC program...
Also, if you don't write one, but happen to find a link for one that I can download/copy, that would be awesome too. Thanks! 8)


Thu Oct 03, 2013 4:52 pm
Profile
Site Admin
Site Admin
User avatar

Joined: Tue Oct 09, 2012 10:34 am
Posts: 192
Post Re: HiTechnic Angle Sensor?
Try 3rd Party Sensor Drivers\hitechnic-angle-test1.c from the sample programs (click File>>Open Sample Program)

_________________
Ryan Cahoon
CMU Robotics Academy
RVW Software Developer

Robot Potato Head; Virtual NXT


Last edited by rcahoon on Thu Oct 03, 2013 8:38 pm, edited 1 time in total.



Thu Oct 03, 2013 5:09 pm
Profile
Rookie

Joined: Thu Oct 03, 2013 4:47 pm
Posts: 9
Post Re: HiTechnic Angle Sensor?
rcahoon wrote:
Click File>>Open Sample Program. Select 3rd Party Sensor Drivers\hitechnic-angle-test1.c

Thanks for the info! Didn't even know that was there :lol:


Thu Oct 03, 2013 8:35 pm
Profile
Moderator
Moderator
User avatar

Joined: Wed Mar 05, 2008 8:14 am
Posts: 3164
Location: Rotterdam, The Netherlands
Post Re: HiTechnic Angle Sensor?
Almost every single sensor available for the NXT is in there :)

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


Fri Oct 04, 2013 1:07 am
Profile WWW
Rookie

Joined: Thu Oct 03, 2013 4:47 pm
Posts: 9
Post Re: HiTechnic Angle Sensor?
I was wondering if somebody could give me the command lines that the IR Seeker uses as well. I'm kinda new to advanced sensors and it was kinda hard to get information, such as available command lines, from just the sample program, unless i just am not reading it right (which I'm probably not). Thanks!


Mon Oct 07, 2013 7:07 pm
Profile
Site Admin
Site Admin
User avatar

Joined: Tue Oct 09, 2012 10:34 am
Posts: 192
Post Re: HiTechnic Angle Sensor?
homerun33ss wrote:
I was wondering if somebody could give me the command lines that the IR Seeker uses as well. I'm kinda new to advanced sensors and it was kinda hard to get information, such as available command lines, from just the sample program, unless i just am not reading it right (which I'm probably not). Thanks!


Xander may have some more documentation, but you can get brief documentation on all the driver's functions by right-clicking on the #include line at the top of the file and selecting "Open include file ..." Documentation is included above each function's definition.

--Ryan

_________________
Ryan Cahoon
CMU Robotics Academy
RVW Software Developer

Robot Potato Head; Virtual NXT


Mon Oct 07, 2013 8:17 pm
Profile
Rookie

Joined: Thu Oct 03, 2013 4:47 pm
Posts: 9
Post Re: HiTechnic Angle Sensor?
rcahoon wrote:
homerun33ss wrote:
I was wondering if somebody could give me the command lines that the IR Seeker uses as well. I'm kinda new to advanced sensors and it was kinda hard to get information, such as available command lines, from just the sample program, unless i just am not reading it right (which I'm probably not). Thanks!


Xander may have some more documentation, but you can get brief documentation on all the driver's functions by right-clicking on the #include line at the top of the file and selecting "Open include file ..." Documentation is included above each function's definition.

--Ryan

Alright I'll give that a try. Thanks! :)


Mon Oct 07, 2013 8:54 pm
Profile
Moderator
Moderator
User avatar

Joined: Wed Mar 05, 2008 8:14 am
Posts: 3164
Location: Rotterdam, The Netherlands
Post Re: HiTechnic Angle Sensor?
I made a small guide on how to set up the drivers, you can check it out here: http://botbench.com/blog/robotc-driver- ... ver-suite/

Let me know if that helps :)

= 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 Oct 10, 2013 1:41 am
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 8 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.