View unanswered posts | View active topics It is currently Fri Oct 24, 2014 8:21 am






Reply to topic  [ 5 posts ] 
CS2N Challenge field, w/ Joystick control. 
Author Message
Rookie
User avatar

Joined: Tue Jun 18, 2013 10:02 pm
Posts: 12
Post CS2N Challenge field, w/ Joystick control.
The scoring/field for the CS2N FTC Ring it Up! challenge is different than the official FTC Ring it Up! field. I am able to use a logitech joystick to control the robot in the official FTC field, but I am not able to use it on the challenge field. I want to test out the most effective routes and ring placements.

I was wondering if next release could have an option to use the challenge field without it being officially scored and with joystick use allowed.

Thanks in advance.

_________________
VEX team 3018 - TechnaPWN Robotics
Website: http://technapwn.com
YouTube: http://www.youtube.com/user/TechnaPWN/videos


Wed Jul 03, 2013 8:01 pm
Profile WWW
Site Admin
Site Admin
User avatar

Joined: Tue Oct 09, 2012 10:34 am
Posts: 192
Post Re: CS2N Challenge field, w/ Joystick control.
JoeTPR wrote:
I was wondering if next release could have an option to use the challenge field without it being officially scored and with joystick use allowed.


Hi Joe,
We debated different ways of doing this, and we may not have found the best solution for this release, but if you open the .rbc files included with the sample code for Ring It Up (Sample Programs\VirtualWorlds\NXT\Ring It Up Sample Code), they will launch the virtual world with the joysticks enabled but score submission disabled (if you already have the virtual world open, make sure to close it first). We include .rbc files for both Gripperbot and Scissorbot.

Best,
--Ryan

_________________
Ryan Cahoon
CMU Robotics Academy
RVW Software Developer

Robot Potato Head; Virtual NXT


Wed Jul 03, 2013 10:15 pm
Profile
Rookie
User avatar

Joined: Tue Jun 18, 2013 10:02 pm
Posts: 12
Post Re: CS2N Challenge field, w/ Joystick control.
Ok, thanks. Is there a way to use my own controls? I have them programmed already. Maybe I could overwrite it's task main(){ /* everything inside */ } with mine (as long as the motor names are the same)?

_________________
VEX team 3018 - TechnaPWN Robotics
Website: http://technapwn.com
YouTube: http://www.youtube.com/user/TechnaPWN/videos


Wed Jul 03, 2013 10:41 pm
Profile WWW
Site Admin
Site Admin
User avatar

Joined: Tue Oct 09, 2012 10:34 am
Posts: 192
Post Re: CS2N Challenge field, w/ Joystick control.
You can do that, or just Compile and Download your program after the virtual world is launched. The joystick mode will persist until the virtual world is restarted, even if a different ROBOTC program is loaded.

_________________
Ryan Cahoon
CMU Robotics Academy
RVW Software Developer

Robot Potato Head; Virtual NXT


Wed Jul 03, 2013 10:45 pm
Profile
Rookie
User avatar

Joined: Tue Jun 18, 2013 10:02 pm
Posts: 12
Post Re: CS2N Challenge field, w/ Joystick control.
Thank you so much!
Your help has been immense!
:bigthumb:

_________________
VEX team 3018 - TechnaPWN Robotics
Website: http://technapwn.com
YouTube: http://www.youtube.com/user/TechnaPWN/videos


Thu Jul 04, 2013 4:11 pm
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 5 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.