View unanswered posts | View active topics It is currently Wed Aug 20, 2014 5:26 am






Reply to topic  [ 3 posts ] 
Robotc say's my JoystickDriver is already opened. 
Author Message
Rookie

Joined: Mon Dec 17, 2012 12:12 pm
Posts: 4
Post Robotc say's my JoystickDriver is already opened.
I've been sitting here for day's trying to figure this out. I've reinstalled Robotc plenty of times to try and fix the problem. It say's that the JoystickDriver has already been opened, and it will not allow for me to control the robot using the controller. I've tried this on multiple computers. It doesn't work. I have included a Jpeg of what the error looks like.


Attachments:
Robotc_error.jpg
Robotc_error.jpg [ 202.85 KiB | Viewed 1378 times ]
Mon Dec 17, 2012 3:19 pm
Profile
Site Admin
Site Admin

Joined: Thu May 24, 2012 12:15 pm
Posts: 563
Post Re: Robotc say's my JoystickDriver is already opened.
The reason you are seeing the 'multiple instances of the include' error is because Natural Language includes the JoystickDriver.c driver automatically; the sample program was written for normal ROBOTC mode, in which case you do have to manually call the drivers and includes.

For sample programs for the Natural Language mode (including remote control code), navigate to the NXT Sample Progrms folder (typically C:/Program Files (x86)/Robomatter Inc/ROBOTC Development Environment/Sample Programs/NXT; ROBOTC should direct you to a Sample Programs subfolder by default, depending on the selected platform and mode) and make sure you navigate to the 'Natural Language' subfolder. Inside, you will see a 'Remote Control' folder which contains the relevant sample programs.

_________________
Check out our Blog! And our Facebook page!
Need help? Take a look at our Wiki and our Forums.

I just met you,
And this is crazy,
But here's my code now,
So fix it, maybe?
~ Carly Rae Jepsen parody


Mon Dec 17, 2012 3:58 pm
Profile
Rookie

Joined: Mon Dec 17, 2012 12:12 pm
Posts: 4
Post Re: Robotc say's my JoystickDriver is already opened.
Thank you very much, it works now.


Mon Dec 17, 2012 4:07 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 3 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.