OCCRA
Go to Post What's a pirate's favorite robotics tournament? Aye-arrrrrrrrrr-aye, matey! - John Wanninger [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media  
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 01-07-2018, 08:07 PM
androprise androprise is offline
Registered User
FRC #2655
 
Join Date: Jan 2018
Location: NC
Posts: 1
androprise is an unknown quantity at this point
FRCSim 2018 Supported?

Is there WPILib support for FRCSim in the 2018.1.1 version? I can not find build targets for the simulator JAR nor can I find a simulator zip to download for 2018. When trying to use 2017 simulator with the Gearsbot example I get a class not found exception (java) for SpeedControllerGroup (which is not surprising as that class did not exist in the 2017 versions of WPILib).
Reply With Quote
  #2   Spotlight this post!  
Unread 01-07-2018, 09:53 PM
calcmogul's Avatar
calcmogul calcmogul is offline
WPILib Developer
AKA: Tyler Veness
FRC #3512 (Spartatroniks)
Team Role: Mentor
 
Join Date: Nov 2011
Rookie Year: 2012
Location: Hawthorne, CA
Posts: 109
calcmogul has much to be proud ofcalcmogul has much to be proud ofcalcmogul has much to be proud ofcalcmogul has much to be proud ofcalcmogul has much to be proud ofcalcmogul has much to be proud ofcalcmogul has much to be proud ofcalcmogul has much to be proud ofcalcmogul has much to be proud ofcalcmogul has much to be proud of
Re: FRCSim 2018 Supported?

We removed support for Gazebo, and thus FRCSim, from WPILib during the HALSim work. The old implementation was basically a separate copy of WPILib and was unmaintainable. A community member is working on adding Gazebo support back for 2019 as a HALSim backend.
Reply With Quote
  #3   Spotlight this post!  
Unread 01-08-2018, 07:10 PM
dmontgomery32 dmontgomery32 is offline
Registered User
FRC #4103
 
Join Date: Jan 2018
Location: Avon, In
Posts: 7
dmontgomery32 is an unknown quantity at this point
Re: FRCSim 2018 Supported?

Quote:
Originally Posted by calcmogul View Post
We removed support for Gazebo, and thus FRCSim, from WPILib during the HALSim work. The old implementation was basically a separate copy of WPILib and was unmaintainable. A community member is working on adding Gazebo support back for 2019 as a HALSim backend.
So, FRCSim is not part of FIRST Power Up? (Sorry, new mentor)

If that's true, why is all the documentation for it listed at https://wpilib.screenstepslive.com/s...tion-to-frcsim under 2018??

Thanks
Reply With Quote
  #4   Spotlight this post!  
Unread 01-08-2018, 07:24 PM
calcmogul's Avatar
calcmogul calcmogul is offline
WPILib Developer
AKA: Tyler Veness
FRC #3512 (Spartatroniks)
Team Role: Mentor
 
Join Date: Nov 2011
Rookie Year: 2012
Location: Hawthorne, CA
Posts: 109
calcmogul has much to be proud ofcalcmogul has much to be proud ofcalcmogul has much to be proud ofcalcmogul has much to be proud ofcalcmogul has much to be proud ofcalcmogul has much to be proud ofcalcmogul has much to be proud ofcalcmogul has much to be proud ofcalcmogul has much to be proud ofcalcmogul has much to be proud of
Re: FRCSim 2018 Supported?

Quote:
Originally Posted by dmontgomery32 View Post
If that's true, why is all the documentation for it listed at https://wpilib.screenstepslive.com/s...tion-to-frcsim under 2018??
We copied all the Screensteps docs from the previous year as-is then modified them for this year. We neglected to update the FRCSim parts. The FRCSim docs are now hidden until we have that working again (again, should be by 2019).
Reply With Quote
  #5   Spotlight this post!  
Unread 01-08-2018, 07:29 PM
dmontgomery32 dmontgomery32 is offline
Registered User
FRC #4103
 
Join Date: Jan 2018
Location: Avon, In
Posts: 7
dmontgomery32 is an unknown quantity at this point
Re: FRCSim 2018 Supported?

Coolio...I'll quit trying to figure out why I can't get it work, then

Thanks!!
Reply With Quote
  #6   Spotlight this post!  
Unread 01-09-2018, 12:21 AM
pjreiniger pjreiniger is offline
Registered User
AKA: PJ Reiniger
FRC #0174 (FRC 174 (2013-Present), 229 (2009-2012), 191 (2006-2008))
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2006
Location: Syracuse
Posts: 21
pjreiniger will become famous soon enough
Re: FRCSim 2018 Supported?

You could try out the simulator my team made instead. It is very low tech compared to Gazebo, but allows us to test out our code. I just got back from being on travel and haven't totally updated it for this season yet, and there may be some hiccups while I get everything back up to snuff.

Simulator
How we had our robot set up to run the simulator last year
Reply With Quote
  #7   Spotlight this post!  
Unread 01-11-2018, 09:34 PM
dmontgomery32 dmontgomery32 is offline
Registered User
FRC #4103
 
Join Date: Jan 2018
Location: Avon, In
Posts: 7
dmontgomery32 is an unknown quantity at this point
Re: FRCSim 2018 Supported?

Quote:
Originally Posted by pjreiniger View Post
You could try out the simulator my team made instead. It is very low tech compared to Gazebo, but allows us to test out our code. I just got back from being on travel and haven't totally updated it for this season yet, and there may be some hiccups while I get everything back up to snuff.

Simulator
How we had our robot set up to run the simulator last year
WOW! I will check it out tomorrow! TYTY
Reply With Quote
  #8   Spotlight this post!  
Unread 01-31-2018, 11:47 AM
jwakeman jwakeman is offline
Registered User
FRC #0063 (Red Barons)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2010
Location: 16510
Posts: 189
jwakeman is just really nicejwakeman is just really nicejwakeman is just really nicejwakeman is just really nicejwakeman is just really nice
Re: FRCSim 2018 Supported?

Quote:
Originally Posted by dmontgomery32 View Post
WOW! I will check it out tomorrow! TYTY
How did it go?
Reply With Quote
  #9   Spotlight this post!  
Unread 03-30-2018, 09:25 AM
cpeppler cpeppler is offline
Registered User
AKA: Charlie Peppler
FRC #5459 (Tigers)
Team Role: Mentor
 
Join Date: Mar 2018
Rookie Year: 2017
Location: South Hamiltion, MA
Posts: 16
cpeppler is an unknown quantity at this point
Re: FRCSim 2018 Supported?

Quote:
Originally Posted by dmontgomery32 View Post
Coolio...I'll quit trying to figure out why I can't get it work, then

Thanks!!
Glad I found this thread. I spent a couple of hours yesterday trying to get gazebo to run on a free Ubuntu AWS instance. I got it all loaded, fired it up, but it would not render.

Since I'm not ready to buy a RoboRIO, I was hoping to get a simulator running so I could work through the coding process in the off season, and be able to test it virtually.

Great concept, but I understand the software maintenance headache of keeping it going.
Reply With Quote
  #10   Spotlight this post!  
Unread 03-30-2018, 11:48 PM
virtuald's Avatar
virtuald virtuald is offline
RobotPy Guy
AKA: Dustin Spicuzza
FRC #6367 (), FRC #7240 ()
Team Role: Mentor
 
Join Date: Dec 2008
Rookie Year: 2003
Location: Boston, MA
Posts: 1,409
virtuald has a reputation beyond reputevirtuald has a reputation beyond reputevirtuald has a reputation beyond reputevirtuald has a reputation beyond reputevirtuald has a reputation beyond reputevirtuald has a reputation beyond reputevirtuald has a reputation beyond reputevirtuald has a reputation beyond reputevirtuald has a reputation beyond reputevirtuald has a reputation beyond reputevirtuald has a reputation beyond repute
Re: FRCSim 2018 Supported?

Quote:
Originally Posted by cpeppler View Post
Glad I found this thread. I spent a couple of hours yesterday trying to get gazebo to run on a free Ubuntu AWS instance. I got it all loaded, fired it up, but it would not render.

Since I'm not ready to buy a RoboRIO, I was hoping to get a simulator running so I could work through the coding process in the off season, and be able to test it virtually.

Great concept, but I understand the software maintenance headache of keeping it going.
Write your code in Python, and you can use the RobotPy simulator. Or you can use pjreiniger's sim.
__________________
Maintainer of RobotPy (Python for FRC) & WPILib Contributor
Creator of pyfrc (Robot Simulator + utilities for Python), pynetworktables/pynetworktables2js (NetworkTables for Python & Javascript), and lots more...

Team #1418 (remote mentor): Newton Quarterfinalists, 2016 Chesapeake District Champion, 2x Innovation in Control award, 2x district event winner
Team #1418: 2015 DC Regional Innovation In Control Award, #2 seed; 2014 VA Industrial Design Award; 2014 Finalists in DC & VA
Team #2423: 2012 & 2013 Boston Regional Innovation in Control Award


Resources: FIRSTWiki (relaunched!) | My Software Stuff
Reply With Quote
  #11   Spotlight this post!  
Unread 03-31-2018, 12:21 PM
cpeppler cpeppler is offline
Registered User
AKA: Charlie Peppler
FRC #5459 (Tigers)
Team Role: Mentor
 
Join Date: Mar 2018
Rookie Year: 2017
Location: South Hamiltion, MA
Posts: 16
cpeppler is an unknown quantity at this point
Re: FRCSim 2018 Supported?

Quote:
Originally Posted by virtuald View Post
Write your code in Python, and you can use the RobotPy simulator. Or you can use pjreiniger's sim.
I didn't know that Python was a an officially supported language for FRC. I thought it was just Java, C++ and Labview. Is Python allowed/supported for FRC competition? That opens up an interesting avenue if true.
Reply With Quote
  #12   Spotlight this post!  
Unread 03-31-2018, 12:28 PM
cpeppler cpeppler is offline
Registered User
AKA: Charlie Peppler
FRC #5459 (Tigers)
Team Role: Mentor
 
Join Date: Mar 2018
Rookie Year: 2017
Location: South Hamiltion, MA
Posts: 16
cpeppler is an unknown quantity at this point
Re: FRCSim 2018 Supported?

Quote:
Originally Posted by cpeppler View Post
I didn't know that Python was a an officially supported language for FRC. I thought it was just Java, C++ and Labview. Is Python allowed/supported for FRC competition? That opens up an interesting avenue if true.
NVM, no need to answer. Forgive the noob who didn't read the docs. I found my own answer --> http://robotpy.readthedocs.io/en/stable/faq.html#faq
Reply With Quote
  #13   Spotlight this post!  
Unread 12-05-2018, 11:21 AM
jwakeman jwakeman is offline
Registered User
FRC #0063 (Red Barons)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2010
Location: 16510
Posts: 189
jwakeman is just really nicejwakeman is just really nicejwakeman is just really nicejwakeman is just really nicejwakeman is just really nice
Re: FRCSim 2018 Supported?

Quote:
Originally Posted by calcmogul View Post
A community member is working on adding Gazebo support back for 2019 as a HALSim backend.
Can anyone comment on the status of this? I'm also having trouble understanding what the HAL simulation interface is if anyone can describe that or point to some documentation/resources on that.
Reply With Quote
  #14   Spotlight this post!  
Unread 12-08-2018, 06:47 AM
g2tkcf g2tkcf is offline
Registered User
FRC #5923
 
Join Date: Nov 2018
Location: Angleton, TX
Posts: 1
g2tkcf is an unknown quantity at this point
Re: FRCSim 2018 Supported?

Quote:
Originally Posted by jwakeman View Post
Can anyone comment on the status of this? I'm also having trouble understanding what the HAL simulation interface is if anyone can describe that or point to some documentation/resources on that.
I too am looking for a way to test code without having a robot online. My lab is over 20 miles away and I need to be able to test things from home!
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 07:42 PM.

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


Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi