Go to Post I found the best way to slice through pit crowds is to carry a clipboard and look like you know where you are going. People just seem to slide out of your way. :) - Ian Curtis [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 Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 07-05-2015, 15:29
cpapplefamily cpapplefamily is offline
Registered User
FRC #3244 (Granite City Gearheads)
Team Role: Mentor
 
Join Date: May 2015
Rookie Year: 2015
Location: Minnesota
Posts: 243
cpapplefamily has a spectacular aura aboutcpapplefamily has a spectacular aura about
RobotBuilder Sort Commands

I have been recently attending meetings with a teem in my area. They have always been short handed when it came to the software and technical side of the organization as I have been told and observed. My back ground in PLC's, Electrical controls, and hobby Lego Mindstorms mentoring has quickly found a me a place to help this team. Plus I hope my 8th grade son will join next year.

With that said I have been diving straight into the deep end of how the systems worked and briefly explored the different program options in Java since I have some experiences with LEJOS and most teams seem to use it because students pick it up easily. The team has always use Iterative programming and is likely why they have all ways had simple teleop programs.

I have been exploring the command based programming and feel strongly that they move to this system with robotbuilder. The kids have never took the time to explore RobotBuilder nor has a mentor. The Past 5 months I have been researching different issues and solving them I'm down to a few new and unanswered problems.

Just this week when I rolled out Robot builder to them having the Software students build simple robots on my Ubuntu laptop and simulater we moved over to the real thing to see it in action.

Issue #1: Their Laptops would not launch the RobotBuilder from the WPLib menu.

Today I have found this to be a issue for others but can't explore the different possibilities on their pc's. So we when to use my laptop and created some command based sample programs BUT

Issue #2: my laptop will not deploy to their robot. So we moved the samples to their PC, Deployed, but

Issue #3: their PC will not launch the SmartDashboard from the WPLib menu. The FRC Driver Station runs on it but the LiveWindow Objects don't populate here?

Back to my PC. We ran the FRC Driver Station on my PC, Launched the WPLib-SmartDashboard successfully. Lot of hassle but we are getting there.

I came home and today I found My PC was missing the JDK. I only had the JRE. It is now compiling the .jar but failing to find a robot(Because there is not one)

issue #2 maybe solved? But how do I make sure the team number is set properly in Eclipse?

Issue #1 and #3 are likely related. I question if they are possibly missing the JRE parts or if the program would launch directly if found in windows Explore.

Thanks for taking the time to read through all of this. I just wanted to share where I was coming from, What I done so far, and what I may have solve already but will not test till next Tuesday.

Issue #4: Lastly in robot builder can we alphabetize the commands as Eclipse does? It seems to keep the order as entered.

Last edited by cpapplefamily : 07-05-2015 at 15:36. Reason: Forgot to ask the question in the header!
Reply With Quote
  #2   Spotlight this post!  
Unread 07-05-2015, 17:37
jgrindle's Avatar
jgrindle jgrindle is offline
Losing Sleep
AKA: John Grindle
FRC #5122 (RobOTies)
Team Role: Programmer
 
Join Date: Nov 2014
Rookie Year: 2015
Location: Old Town, ME
Posts: 34
jgrindle will become famous soon enough
I've never had luck launching smart dashboard through eclipse, I had to create a shortcut and launch it that way.
To see of you're team number is correct, go under window->preferences->wpi plugins.
__________________

FRC 2015 Season: Programmer, Electrical, PIDTuner, Safety Captain
FRC 2015 Off-Season: Programmer, CAD Designer, Driver, Drive Team Coach, Electrical, Mechanical, PIDTuner
Reply With Quote
  #3   Spotlight this post!  
Unread 07-05-2015, 17:45
cpapplefamily cpapplefamily is offline
Registered User
FRC #3244 (Granite City Gearheads)
Team Role: Mentor
 
Join Date: May 2015
Rookie Year: 2015
Location: Minnesota
Posts: 243
cpapplefamily has a spectacular aura aboutcpapplefamily has a spectacular aura about
Re: RobotBuilder Sort Commands

Quote:
Originally Posted by jgrindle View Post
go under window->preferences->wpi plugins.
that help is was wrong too.
Reply With Quote
  #4   Spotlight this post!  
Unread 11-05-2015, 06:10
AverageGuy AverageGuy is offline
Registered User
AKA: Jim Lynch
FRC #4080 (Reboot)
Team Role: Mentor
 
Join Date: Jan 2014
Rookie Year: 2013
Location: Georgia
Posts: 4
AverageGuy is an unknown quantity at this point
Re: RobotBuilder Sort Commands

Quote:
Originally Posted by cpapplefamily View Post
that help is was wrong too.
Window/Preferences/WPILib Preferences at least for my version of Eclipse (Version: Luna Service Release 2 (4.4.2)) on Linux.
Reply With Quote
  #5   Spotlight this post!  
Unread 17-05-2015, 17:11
Joe Derrick's Avatar
Joe Derrick Joe Derrick is offline
Mentor - Programming
FRC #0319
 
Join Date: Feb 2012
Rookie Year: 2011
Location: Prospect Mountain High School
Posts: 44
Joe Derrick is a glorious beacon of lightJoe Derrick is a glorious beacon of lightJoe Derrick is a glorious beacon of lightJoe Derrick is a glorious beacon of lightJoe Derrick is a glorious beacon of lightJoe Derrick is a glorious beacon of light
Re: RobotBuilder Sort Commands

I would support using command based programming and robotbuilder if your team is using java. The benefits are tremendous. Our team made the switch 3 years ago and it has paid off.

Some notes from our experience

1)Robotbuilder creates the proper structure for your overall program and has many examples that can be borrowed

2)at some point in your program development you should stop using it, or be tremendously diligent about your code writing as the //autogenerated code // sections can overwrite your hard work.

3) to my knowledge robotbuilder does not support CAN, but you can use the WPIlib examples to write those subystems yourself

4) Learn and exploit the parallel and sequential command sequences to your benefit.

5) Smartdashboard can get very cluttered and is good for testing but not ideal for competition.

Good luck!
__________________
2010-2017 Mentor Team 319
2012 - Rockwell Automation Award Winner
2014 - Xerox Creativity in Engineering Winner, Archimedes Division
2015 - Rockwell Automation and Gracious Proffesionalism Winner, Tesla Division
2016 - North Shore and UNH District Event Winner, Carson Division
http://www.frc319.com
Reply With Quote
  #6   Spotlight this post!  
Unread 19-05-2015, 10:50
Fauge7 Fauge7 is offline
Head programmer
FRC #3019 (firebird robotics)
Team Role: Programmer
 
Join Date: Jan 2013
Rookie Year: 2012
Location: Scottsdale
Posts: 195
Fauge7 is a name known to allFauge7 is a name known to allFauge7 is a name known to allFauge7 is a name known to allFauge7 is a name known to allFauge7 is a name known to all
Re: RobotBuilder Sort Commands

It you can, avoid RobotBuilder, good for quick testing but not ideal for competition bot.
Reply With Quote
  #7   Spotlight this post!  
Unread 19-05-2015, 12:57
Ben Wolsieffer Ben Wolsieffer is offline
Dartmouth 2020
AKA: lopsided98
FRC #2084 (Robots by the C)
Team Role: Alumni
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Manchester, MA (Hanover, NH)
Posts: 520
Ben Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud of
Re: RobotBuilder Sort Commands

Quote:
Originally Posted by Fauge7 View Post
It you can, avoid RobotBuilder, good for quick testing but not ideal for competition bot.
Why do you say that?
__________________



2016 North Shore District - Semifinalists and Excellence in Engineering Award
2015 Northeastern University District - Semifinalists and Creativity Award
2014 Granite State District - Semifinalists and Innovation in Control Award
2012 Boston Regional - Finalists
Reply With Quote
  #8   Spotlight this post!  
Unread 20-05-2015, 22:41
Fauge7 Fauge7 is offline
Head programmer
FRC #3019 (firebird robotics)
Team Role: Programmer
 
Join Date: Jan 2013
Rookie Year: 2012
Location: Scottsdale
Posts: 195
Fauge7 is a name known to allFauge7 is a name known to allFauge7 is a name known to allFauge7 is a name known to allFauge7 is a name known to allFauge7 is a name known to all
Re: RobotBuilder Sort Commands

You will get a better understanding of oop (object oriented programming) if you manually type out all the code instead of generating it. You will also not have to recode your project if you have a slight change. Robot builder is nice I guess, but it's not helpful to learn programming. In my honest opinion you learn programming by making mistakes and researching why it's wrong or what you can do to fix it. If you get stuck chief Delphi is always here, mentors are there, plenty of resources to rely on for instead of just robot builder. Being a good frc programmer is also about adapting. If you can adapt to whatever your team throws at you, you can do so much more with a Robot. If your team changes a subsystem at competition instead of saying "No design changes." You can say "that's so much better team!" Just some thoughts. If EVER need help feel free to pm me I'll be more then happy to help a team for next year (As I won't be programming the robot but helping out my team where it is weak).
Reply With Quote
  #9   Spotlight this post!  
Unread 10-05-2015, 18:24
jgrindle's Avatar
jgrindle jgrindle is offline
Losing Sleep
AKA: John Grindle
FRC #5122 (RobOTies)
Team Role: Programmer
 
Join Date: Nov 2014
Rookie Year: 2015
Location: Old Town, ME
Posts: 34
jgrindle will become famous soon enough
It might be help->preferences, I don't have my laptop near to check.
__________________

FRC 2015 Season: Programmer, Electrical, PIDTuner, Safety Captain
FRC 2015 Off-Season: Programmer, CAD Designer, Driver, Drive Team Coach, Electrical, Mechanical, PIDTuner
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:49.

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