View Single Post
  #1   Spotlight this post!  
Unread 24-01-2013, 19:02
stephmak stephmak is offline
High King of Code--Lead Programmer
FRC #4621
 
Join Date: Jan 2013
Rookie Year: 2011
Location: Georgia
Posts: 15
stephmak is an unknown quantity at this point
RobotBuilder GUI App SetPoint Question

Hi Everyone,

This year--my rookie year in FRC--I decided to code in Java, but use RobotBuilder to generate some of the starter code since I am teaching someoe who is completely new to programming how to program. For those who do not know about Robot Builder, it is a Java GUI application that allows the generation of Java or C++ code based on what is done in the GUI. Motor controlers, motors, sensors, pneumatics, joysticks, and many others can be specified in the GUI.

Now to my question--in RobotBuilder there appears to be the ability to set points on the field by number identification and have the robot travel to those points when the specific command is used. However, RobotBuilder does not have anything to specify in the "requires" field and has given me an error code that says the command will not work without it. Does anybody know what is supposed to be created and then placed in the "requires" drop down window. I know that there is something in the GUI I can create to specify the point and thus make the thing work--I just don't know what and have not been able to find out on the internet. In return for helping and as part of my question, I have attached a picture from the RobotBuilder file I am writing the code in that shows where I am having the problem. I have slightly redacted it to protect some of our tricks that we have waiting to be used, but the team that are scouting should be able to get some interesting stuff from it .

Thanks for the help!!

stephmak
Attached Thumbnails
Click image for larger version

Name:	YR4621 Rev 2_0 RobotBuilder Screenshot.png
Views:	13
Size:	173.9 KB
ID:	13647  
__________________
FTC
2011-2012 Bowled Over: Team #5165 Star Cygnus X-1

FRC
2013-2014 Ultimate Ascent: Team #4621 Yotta Robota
Reply With Quote