Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   General Forum (http://www.chiefdelphi.com/forums/forumdisplay.php?f=16)
-   -   FRC 2015 Simulator?? (http://www.chiefdelphi.com/forums/showthread.php?t=132652)

Dhill098 11-01-2015 16:28

FRC 2015 Simulator??
 
Just curious if anyone has been working on a FRC 2015 simulator.

Grey Mann 11-01-2015 16:49

Re: FRC 2015 Simulator??
 
Last year a couple of our programming and CADding people got together and made a practice simulation for the drive team with functioning scoring, driving, ball collection/firing and splitscreen so they could simulate entire (small) matches. I reckon they will do this again at some point, though it might not be in build season since they have alot of other things to do.

Bryce Paputa 11-01-2015 16:55

Re: FRC 2015 Simulator??
 
We decided to put it very low on our todo list. Driving in this game is much more about precision than tactical and strategic skill, which is much harder and less rewarding to simulate. The strategic part of this game, which is robot design, is also challenging to simulate.

FluffySasquatch 02-03-2015 18:06

Re: FRC 2015 Simulator??
 
I recently just created a simulator for my FRC team's robot. Our robot is a little unconventional compared to other robots, but if you want me to attempt to create one with your team's robot, message me and I will see what I can do. Some physics may be still a little wonky, but it gets the job done.

You can play the simulator on our team's website here: acsrobotics.com/recycle-rush

Jean Tenca 02-03-2015 18:41

Re: FRC 2015 Simulator??
 
Our app group created a pretty accurate simulator for this year: Too Many Totes! Game :)

All kidding aside, that is a cool simulator, Fluffy! Playing Recycle Rush in space is a nice touch.

g_sawchuk 02-03-2015 19:48

Re: FRC 2015 Simulator??
 
Quote:

Originally Posted by FluffySasquatch (Post 1452385)
I recently just created a simulator for my FRC team's robot. Our robot is a little unconventional compared to other robots, but if you want me to attempt to create one with your team's robot, message me and I will see what I can do. Some physics may be still a little wonky, but it gets the job done.

You can play the simulator on our team's website here: acsrobotics.com/recycle-rush

This crashed Google Chrome for me twice. :ahh:

FluffySasquatch 02-03-2015 19:54

Re: FRC 2015 Simulator??
 
Quote:

Originally Posted by GrifBot (Post 1452441)
This crashed Google Chrome for me twice. :ahh:

I have never had that happen before, on occasion it will say "Google Chrome has stopped working", however I simply choose not to close it and it runs fine.

This is mainly because our team's website is WordPress based, and Unity Games don't go well with WordPress. Make sure Unity Web player is up to date on your computer as this simulator utilizes the Unity UI system which is fairly new, so older versions of the Unity Web Player may not handle it. Also make sure Unity Web Player is allowed to run on the site.

I will try to upload a standalone download version soon so this won't be a problem.

Hope this helps!

g_sawchuk 02-03-2015 19:57

Re: FRC 2015 Simulator??
 
Quote:

Originally Posted by FluffySasquatch (Post 1452450)
I have never had that happen before, on occasion it will say "Google Chrome has stopped working", however I simply choose not to close it and it runs fine.

This is mainly because our team's website is WordPress based, and Unity Games don't go well with WordPress. Make sure Unity Web player is up to date on your computer as this simulator utilizes the Unity UI system which is fairly new, so older versions of the Unity Web Player may not handle it. Also make sure Unity Web Player is allowed to run on the site.

I will try to upload a standalone download version soon so this won't be a problem.

Hope this helps!

That would be good, as I am extremely eager to get addicted to this simulator. :] I tried on IE, but I press the play icon and then it just stays black.

FluffySasquatch 02-03-2015 20:05

Re: FRC 2015 Simulator??
 
Quote:

Originally Posted by GrifBot (Post 1452455)
That would be good, as I am extremely eager to get addicted to this simulator. :] I tried on IE, but I press the play icon and then it just stays black.

Just shared it on DropBox. First time using DropBox, so I hope it works!

https://www.dropbox.com/s/uh1gnpbldf...eRush.rar?dl=0

WillNess 30-04-2015 22:52

Re: FRC 2015 Simulator??
 
Quote:

Originally Posted by FluffySasquatch (Post 1452457)
Just shared it on DropBox. First time using DropBox, so I hope it works!

https://www.dropbox.com/s/uh1gnpbldf...eRush.rar?dl=0

Can you upload the files for the other robot? 3151?

DarthCoder 30-04-2015 23:21

Re: FRC 2015 Simulator??
 
I've been considering writing something generalized in the offseason, but I haven't been able to get ahold of a second RoboRIO to bring home myself and build test cases on... The idea I had was to write a 3D simulator environment and a proxy implementation of WPILib so you could compile the robot code into a DLL. The Gazebo thing was cool, but being Linux only kinda ruined it since it wouldn't run very well on a VM.

Spoam 01-05-2015 00:06

Re: FRC 2015 Simulator??
 
Wow, I missed this thread somehow. Anyways, I was intern for Autodesk and while I was there we worked on exactly this, a program we call "Synthesis":

It has a few parts: An Inventor plugin, which runs while your robot CAD is open and utilizes a path-search algorithm to intelligently simplify and link together meshes based on joint data from your CAD, and create a 3D representation of your robot which we import into our game simulator. Once all this data is extracted from your robot CAD, we have a GUI that shows detected joints, and allows you to place motors/pneumatics/sensors on them and assign ports to match your code (e.g. if you have a revolute joint, you might specify that it has a motor on it, controlled by "port 7").

Next you simply run the game simulator and import your robot into it.

Finally there is a loopback adapter and modified wpilib (we have support for c++ and java and working on labview iirc) that allows you to emulate having a crio/roborio so you can control your simulated robot through the driver station (and using 99% the same code you would on your real robot). The simulator receives control packets from the driver station and emulates your robot real-time.

I can't give an expected release date or anything, but the processes I described are currently implemented in a mostly functional Alpha. Second wave of development on it will begin this summer, so look out for it.

asid61 01-05-2015 02:38

Re: FRC 2015 Simulator??
 
Quote:

Originally Posted by Spoam (Post 1479147)
Wow, I missed this thread somehow. Anyways, I was intern for Autodesk and while I was there we worked on exactly this, a program we call "Synthesis":

It has a few parts: An Inventor plugin, which runs while your robot CAD is open and utilizes a path-search algorithm to intelligently simplify and link together meshes based on joint data from your CAD, and create a 3D representation of your robot which we import into our game simulator. Once all this data is extracted from your robot CAD, we have a GUI that shows detected joints, and allows you to place motors/pneumatics/sensors on them and assign ports to match your code (e.g. if you have a revolute joint, you might specify that it has a motor on it, controlled by "port 7").

Next you simply run the game simulator and import your robot into it.

Finally there is a loopback adapter and modified wpilib (we have support for c++ and java and working on labview iirc) that allows you to emulate having a crio/roborio so you can control your simulated robot through the driver station (and using 99% the same code you would on your real robot). The simulator receives control packets from the driver station and emulates your robot real-time.

I can't give an expected release date or anything, but the processes I described are currently implemented in a mostly functional Alpha. Second wave of development on it will begin this summer, so look out for it.

This is amazing. Best of luck on that project.

DarthCoder 01-05-2015 09:25

Re: FRC 2015 Simulator??
 
Quote:

Originally Posted by Spoam (Post 1479147)
Wow, I missed this thread somehow. Anyways, I was intern for Autodesk and while I was there we worked on exactly this, a program we call "Synthesis":

It has a few parts: An Inventor plugin, which runs while your robot CAD is open and utilizes a path-search algorithm to intelligently simplify and link together meshes based on joint data from your CAD, and create a 3D representation of your robot which we import into our game simulator. Once all this data is extracted from your robot CAD, we have a GUI that shows detected joints, and allows you to place motors/pneumatics/sensors on them and assign ports to match your code (e.g. if you have a revolute joint, you might specify that it has a motor on it, controlled by "port 7").

Next you simply run the game simulator and import your robot into it.

Finally there is a loopback adapter and modified wpilib (we have support for c++ and java and working on labview iirc) that allows you to emulate having a crio/roborio so you can control your simulated robot through the driver station (and using 99% the same code you would on your real robot). The simulator receives control packets from the driver station and emulates your robot real-time.

I can't give an expected release date or anything, but the processes I described are currently implemented in a mostly functional Alpha. Second wave of development on it will begin this summer, so look out for it.

Is there a way to compile Java code to a DLL callable with C bindings, or do you run an embedded VM?

MikLast 01-05-2015 10:15

Re: FRC 2015 Simulator??
 
Quote:

Originally Posted by Spoam (Post 1479147)
Wow, I missed this thread somehow. Anyways, I was intern for Autodesk and while I was there we worked on exactly this, a program we call "Synthesis":

It has a few parts: An Inventor plugin, which runs while your robot CAD is open and utilizes a path-search algorithm to intelligently simplify and link together meshes based on joint data from your CAD, and create a 3D representation of your robot which we import into our game simulator. Once all this data is extracted from your robot CAD, we have a GUI that shows detected joints, and allows you to place motors/pneumatics/sensors on them and assign ports to match your code (e.g. if you have a revolute joint, you might specify that it has a motor on it, controlled by "port 7").

Next you simply run the game simulator and import your robot into it.

Finally there is a loopback adapter and modified wpilib (we have support for c++ and java and working on labview iirc) that allows you to emulate having a crio/roborio so you can control your simulated robot through the driver station (and using 99% the same code you would on your real robot). The simulator receives control packets from the driver station and emulates your robot real-time.

I can't give an expected release date or anything, but the processes I described are currently implemented in a mostly functional Alpha. Second wave of development on it will begin this summer, so look out for it.

i remember that during the PNW Champs. i really want to get my hands on that .stl converter...

CJ_Elliott 01-05-2015 10:46

Re: FRC 2015 Simulator??
 
http://www.amazon.com/Forklift-truck.../dp/B0034G4V1G

lethc 01-05-2015 10:51

Re: FRC 2015 Simulator??
 
Quote:

Originally Posted by FluffySasquatch (Post 1452385)
I recently just created a simulator for my FRC team's robot. Our robot is a little unconventional compared to other robots, but if you want me to attempt to create one with your team's robot, message me and I will see what I can do. Some physics may be still a little wonky, but it gets the job done.

You can play the simulator on our team's website here: acsrobotics.com/recycle-rush

Offseason project: make 6 stack in this simulator

EmileH 02-05-2015 20:53

Re: FRC 2015 Simulator??
 
Fluffy how does your robot manipulate RCs? The frame seems too narrow to fit one in internally.

TheModMaster8 02-05-2015 23:01

Re: FRC 2015 Simulator??
 
Quote:

Originally Posted by Grey Mann (Post 1426356)
Last year a couple of our programming and CADding people got together and made a practice simulation for the drive team with functioning scoring, driving, ball collection/firing and splitscreen so they could simulate entire (small) matches. I reckon they will do this again at some point, though it might not be in build season since they have alot of other things to do.

is this program available for download ?

WillNess 03-05-2015 00:42

Re: FRC 2015 Simulator??
 
Everyone:
Here is a thread I made with a list of all of the simulators I have found over the interwebs:
http://www.chiefdelphi.com/forums/sh...d.php?t=137100

gblake 05-05-2015 20:48

Re: FRC 2015 Simulator??
 
Quote:

Originally Posted by DarthCoder (Post 1479199)
Is there a way to compile Java code to a DLL callable with C bindings, or do you run an embedded VM?

The Java Native Interfaces feature of Java might offer what you are looking for.

Asymons 06-05-2015 15:16

Re: FRC 2015 Simulator??
 
Quote:

Originally Posted by emileh3467 (Post 1479542)
Fluffy how does your robot manipulate RCs? The frame seems too narrow to fit one in internally.

Our bot was designed just to load from the shoot. Totes only :P. Also, anyone with suggestions for the simulator, you can pm me or fluffy directly. I pester him about adding a feature for robot customization or just some popular bots as well.

potatoshane 13-05-2015 11:35

Re: FRC 2015 Simulator??
 
Quote:

Originally Posted by lethc (Post 1479228)
Offseason project: make 6 stack in this simulator


MaestroRoboto 13-05-2015 16:36

Re: FRC 2015 Simulator??
 
HOW!?!?!?!

Also does the "R" key to spawn a crate work?

EmileH 13-06-2015 10:49

Re: FRC 2015 Simulator??
 
Quote:

Originally Posted by MaestroRoboto (Post 1481931)
Also does the "R" key to spawn a crate work?

Yes, but only if the robot is touching the right feeder station and it's mast is tilted backward.

faust1706 13-06-2015 14:44

Re: FRC 2015 Simulator??
 
Quote:

Originally Posted by FluffySasquatch (Post 1452385)
I recently just created a simulator for my FRC team's robot. Our robot is a little unconventional compared to other robots, but if you want me to attempt to create one with your team's robot, message me and I will see what I can do. Some physics may be still a little wonky, but it gets the job done.

You can play the simulator on our team's website here: acsrobotics.com/recycle-rush

I do not have the time to download and play it, but is there scoring implemented in this simulation? If so, I could probably feed it into my q-network and have it begin learning the game by tonight...

jajabinx124 13-06-2015 15:39

Re: FRC 2015 Simulator??
 
Quote:

Originally Posted by faust1706 (Post 1486674)
I do not have the time to download and play it, but is there scoring implemented in this simulation? If so, I could probably feed it into my q-network and have it begin learning the game by tonight...

Scoring is not implemented in that recycle rush simulator.


All times are GMT -5. The time now is 09:00.

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