View unanswered posts | View active topics It is currently Wed Sep 17, 2014 1:32 am






Reply to topic  [ 2 posts ] 
How to work on NXTCam-v3 with NXT brick 
Author Message
Rookie

Joined: Wed Jan 19, 2011 3:04 am
Posts: 1
Post How to work on NXTCam-v3 with NXT brick
Hi,
I plugged in the NXTCam-v3 into the NXT brick port.
I try to run the code:
_nxtCam.setTrackingMode(NXTCam.OBJECT_TRACKING);
_nxtCam.sortBy(NXTCam.SIZE);
_nxtCam.enableTracking(true);
numObject = _nxtCam.getNumberOfObjects();

but at last i got the numObject = -1.
In the NXTCam-v3 user guide, the range should be in the range of 0-7.

Currently, the NXT brick firmware version 0.85.
Do I need to upload other firmware to match the NXT brick and NXTCam-v3?
Any firmware needed for NXTCam-v3?

Thanks.


Wed Jan 19, 2011 3:14 am
Profile
Moderator
Moderator
User avatar

Joined: Wed Mar 05, 2008 8:14 am
Posts: 3221
Location: Rotterdam, The Netherlands
Post Re: How to work on NXTCam-v3 with NXT brick
You are programming Lejos, not ROBOTC. You should ask this question on the Lejos forums, which you can find here: http://lejos.sourceforge.net/forum/

- 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 Jan 19, 2011 3:16 am
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 2 posts ] 

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.