Go to Post A bunch of kids in prom dresses staring through telescopes must have been quite a sight! - BlondeNerd [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rating: Thread Rating: 3 votes, 3.67 average. Display Modes
  #1   Spotlight this post!  
Unread 08-01-2013, 14:26
yelk11 yelk11 is offline
Registered User
FRC #3414
 
Join Date: Jan 2012
Location: farmington
Posts: 27
yelk11 is an unknown quantity at this point
Robot Builder?

My dad was looking through somewhere and found a little about Robot builder. i was wondering where to download it and the cons to using it. I am using it for Java.
Reply With Quote
  #2   Spotlight this post!  
Unread 08-01-2013, 16:32
sretter's Avatar
sretter sretter is offline
Registered User
AKA: Shaked
FRC #2231 (OnyxTronix)
Team Role: Leadership
 
Join Date: Jan 2011
Rookie Year: 2010
Location: Shoham
Posts: 33
sretter is on a distinguished road
Re: Robot Builder?

The RobotBuilder come with the 2013 Update- the jar file is located at the sunspotfrcsdk/tools directory- usually something like /Users/<username>/sunspotfrcsdk

Anyways the cons I can think of right now are
1. Takes away some of the fun parts of programming
2. From my short usage it doesn't seem to be perfect(for exampe once the generated code didn't compil becasue it forgot to include a file) so I'd recommend to still go over the code that it generated.
(in my opinion the pro's outway these minor con's)
Reply With Quote
  #3   Spotlight this post!  
Unread 08-01-2013, 16:51
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,561
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Robot Builder?

There's a decent amount of documentation on screenstepslive. http://wpilib.screenstepslive.com/s/3120
Reply With Quote
  #4   Spotlight this post!  
Unread 08-01-2013, 16:57
yelk11 yelk11 is offline
Registered User
FRC #3414
 
Join Date: Jan 2012
Location: farmington
Posts: 27
yelk11 is an unknown quantity at this point
Re: Robot Builder?

THANK YOU GUYS so much.
Reply With Quote
  #5   Spotlight this post!  
Unread 08-01-2013, 20:02
F22Rapture's Avatar
F22Rapture F22Rapture is offline
College Student, Mentor
AKA: Daniel A
FRC #3737 (4H Rotoraptors)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Goldsboro, NC
Posts: 476
F22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant future
Re: Robot Builder?

I tried it out a bit but decided I'd prefer to do it by hand. I did, however, use their idea of centralizing all of the electrical parts of the robots into static instances in RobotMap. Not necessary if you don't plan to use livewindow, but if you do it makes things *much* easier.
__________________
Research is what I’m doing when I don’t know what I’m doing.
- Wernher von Braun
Attending: Raleigh NC Regional
Reply With Quote
  #6   Spotlight this post!  
Unread 08-01-2013, 20:50
yelk11 yelk11 is offline
Registered User
FRC #3414
 
Join Date: Jan 2012
Location: farmington
Posts: 27
yelk11 is an unknown quantity at this point
Re: Robot Builder?

i encountered a problem. it wont let me execute the file. is it becouse i have windows 8 or i just dont have something downloaded?
Reply With Quote
  #7   Spotlight this post!  
Unread 08-01-2013, 21:57
F22Rapture's Avatar
F22Rapture F22Rapture is offline
College Student, Mentor
AKA: Daniel A
FRC #3737 (4H Rotoraptors)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Goldsboro, NC
Posts: 476
F22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant future
Re: Robot Builder?

Quote:
Originally Posted by yelk11 View Post
i encountered a problem. it wont let me execute the file. is it becouse i have windows 8 or i just dont have something downloaded?
Did it give you an error message? I'm also running windows 8 and haven't had any issues.
__________________
Research is what I’m doing when I don’t know what I’m doing.
- Wernher von Braun
Attending: Raleigh NC Regional
Reply With Quote
  #8   Spotlight this post!  
Unread 09-01-2013, 07:12
yelk11 yelk11 is offline
Registered User
FRC #3414
 
Join Date: Jan 2012
Location: farmington
Posts: 27
yelk11 is an unknown quantity at this point
Re: Robot Builder?

no didnt give me a message, it asks me to choose what to run with it and i just chose java(jdk)
Reply With Quote
  #9   Spotlight this post!  
Unread 09-01-2013, 11:46
Bryscus's Avatar
Bryscus Bryscus is offline
EE, CpE
AKA: Bryce B.
FRC #0180 (SPAM)
Team Role: Engineer
 
Join Date: Jan 2009
Rookie Year: 1999
Location: Jupiter, FL
Posts: 173
Bryscus has much to be proud ofBryscus has much to be proud ofBryscus has much to be proud ofBryscus has much to be proud ofBryscus has much to be proud ofBryscus has much to be proud ofBryscus has much to be proud ofBryscus has much to be proud ofBryscus has much to be proud of
Re: Robot Builder?

I've been following along with the videos on youtube (http://www.youtube.com/user/BradAMiller) and for the most part I've had few problems. Unfortunately, we use C++ and the examples during the coding portion aren't 100% compatible, but they are very close. C++ requires adding include files for commands that are used in a class and accessing methods a little differently (everything is a pointer, so "->" is used instead of ".").

We have used the iterative template in the past and command programming is new to us. Following the videos, however, I feel the concept is relatively easy to grasp and CERTAINLY much easier to implement in the long run as code reuse can be very high since one can call any command at any time.

Where this really shines however, is in test mode on the driver station (at which point you can manually control and tune subsystems) and manually calling commands from Smartdashboard while the robot is running. This allows one to check out each command before using commands in a sequence and even determine the best command order (or which commands can be run in parallel or need to be run sequentially).

Another great benefit to using this is the ease with which we should be able to get new programmers up and running. Because the basic structure is created by Robot Builder kids can worry more about the logic of programming and somewhat less about the complex structure of C++/Java.

For the last couple years I've been somewhat annoyed with all the cool tools the LabView guys get to play with. Its about time we had some of our own. Brad Miller and his guys have really outdone themselves this time.

- Bryce
__________________
The opulence of the front office decor varies inversely with the fundamental solvency of the firm.
Reply With Quote
  #10   Spotlight this post!  
Unread 09-01-2013, 16:18
BradAMiller BradAMiller is offline
Registered User
AKA: Brad
#0190 ( Gompei and the Herd)
Team Role: Mentor
 
Join Date: Mar 2004
Location: Worcester, MA
Posts: 588
BradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant future
Re: Robot Builder?

Quote:
Originally Posted by yelk11 View Post
no didnt give me a message, it asks me to choose what to run with it and i just chose java(jdk)
In some Java installations on Windows it doesn't set up the .jar extension to run automatically from Windows Explorer. Jar files are Java archives and have all the classes in the program and a manifest file to tell which class to run.

To run RobotBuilder use the java command:

java -jar RobotBuilder.jar

Actually there will be a version number on RobotBuilder, so choose the actual file name from your installation.

Brad
__________________
Brad Miller
Robotics Resource Center
Worcester Polytechnic Institute
Reply With Quote
  #11   Spotlight this post!  
Unread 10-01-2013, 00:03
makahn64 makahn64 is offline
Registered User
FRC #0256
 
Join Date: Nov 2011
Location: United States
Posts: 27
makahn64 is infamous around these partsmakahn64 is infamous around these partsmakahn64 is infamous around these partsmakahn64 is infamous around these partsmakahn64 is infamous around these partsmakahn64 is infamous around these parts
Re: Robot Builder?

Has anyone else had the problem of it running once, then not so much?

We ar eon Windows 7 and Robot Builder ran the first time I tried it, then every time I try to run it since, it just gives me the little project create/load window and after that it just hangs with a Java button on the task bar. I tried a reboot, running command line and more. No joy.
Reply With Quote
  #12   Spotlight this post!  
Unread 10-01-2013, 08:01
RufflesRidge RufflesRidge is offline
Registered User
no team
 
Join Date: Jan 2012
Location: USA
Posts: 989
RufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant future
Re: Robot Builder?

Quote:
Originally Posted by makahn64 View Post
Has anyone else had the problem of it running once, then not so much?

We ar eon Windows 7 and Robot Builder ran the first time I tried it, then every time I try to run it since, it just gives me the little project create/load window and after that it just hangs with a Java button on the task bar. I tried a reboot, running command line and more. No joy.
It sounds like the window may be offscreen. Try hovering over the Java icon in the taskbar, then the little window when it appears above, right click and select Maximize. If this works you can then click on the title-bar of the window and drag down to get a normal size window on screen.
Reply With Quote
  #13   Spotlight this post!  
Unread 10-01-2013, 11:20
makahn64 makahn64 is offline
Registered User
FRC #0256
 
Join Date: Nov 2011
Location: United States
Posts: 27
makahn64 is infamous around these partsmakahn64 is infamous around these partsmakahn64 is infamous around these partsmakahn64 is infamous around these partsmakahn64 is infamous around these partsmakahn64 is infamous around these parts
Re: Robot Builder?

Quote:
Originally Posted by RufflesRidge View Post
It sounds like the window may be offscreen. Try hovering over the Java icon in the taskbar, then the little window when it appears above, right click and select Maximize. If this works you can then click on the title-bar of the window and drag down to get a normal size window on screen.
BINGO! Thanks so much. No I don't have to run it on my mac
Reply With Quote
  #14   Spotlight this post!  
Unread 13-12-2014, 14:30
2130Pi 2130Pi is offline
Registered User
FRC #2130
 
Join Date: Dec 2014
Location: Bonners Ferry Idaho, United States
Posts: 2
2130Pi is an unknown quantity at this point
Re: Robot Builder?

I'm no team 2130 and we have a problems with robot builder. On one of our computers that is for programming robot builder wont even open or do anything. Our "Lead Programmer" says its a problem with java but we don't know. And I haven't been able to find anything on our problem. So if you have had the same please comment and maybe we can figure it out. thx
Reply With Quote
  #15   Spotlight this post!  
Unread 14-12-2014, 17:10
krieck's Avatar
krieck krieck is offline
Registered User
AKA: Keith
FRC #2846 (Firebears)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Minnesota
Posts: 49
krieck is an unknown quantity at this point
Re: Robot Builder?

I'm a big fan of the RobotBuilder, and encourage our programmers to use it, at least at first. With novice programmers, I can walk them through creating a driving robot in fifteen minutes.

If you haven't seen it, I recommend watching Brad Miller's videos. RobotBuilder is a wizard that puts together a command-based robot. Without RobotBuilder, you would need to understand the command-based software architecture first, and then do the low level coding of commands and subsystems later. By starting with RobotBuilder, would can construct the architecture in a visual manner, and then start your work on the low level components.

It does some of the code, but there will still be tons of work left to do. It will not make coding easy, but it will give you a solid foundation on which to work. Also, you will absolutely need to understand the resulting code; you will have serious problems if you don't eventually understand how the command pattern works.

There are lots of other pros and cons. On the plus side, it generates a wiring diagram that is terrific for communicating with the electrical team. On the minus side, it generates some ugly code that might not work exactly how some coders want. It sometimes forgets to import all necessary classes. Also, keeping the code and the robot file in sync can be problematic.
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 10:38.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi