Go to Post Surely, we've seen enough new and interesting implementations of technology in FIRST that we won't keep limiting our imagination to the tried and true. - Madison [more]
Home
Go Back   Chief Delphi > FIRST > General Forum
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rating: Thread Rating: 5 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 30-04-2015, 22:52
WillNess's Avatar
WillNess WillNess is offline
Programmer
AKA: Will Ness
FRC #4944 (The Hi Fives)
Team Role: Programmer
 
Join Date: Apr 2014
Rookie Year: 2014
Location: United States
Posts: 90
WillNess is just really niceWillNess is just really niceWillNess is just really niceWillNess is just really nice
Re: FRC 2015 Simulator??

Quote:
Originally Posted by FluffySasquatch View Post
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?
__________________

Outreach Lead // Lead Programmer // Junior

2014 FRC:
Rookie Allstar, Highest Rookie Seed & Semifinalist @ Utah
Rookie Allstar, Highest Rookie Seed & Semifinalist @ Colorado
2015 FRC:
Creativity In Engineering & Semifinalist @ Arizona West
Reply With Quote
  #2   Spotlight this post!  
Unread 30-04-2015, 23:21
DarthCoder DarthCoder is offline
Registered User
FRC #4309
 
Join Date: Aug 2012
Location: Washington
Posts: 37
DarthCoder is an unknown quantity at this point
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.
Reply With Quote
  #3   Spotlight this post!  
Unread 01-05-2015, 00:06
Spoam's Avatar
Spoam Spoam is offline
Registered User
AKA: Pedro M.
FRC #0955 (CV Robotics)
Team Role: Programmer
 
Join Date: Feb 2014
Rookie Year: 2012
Location: Corvallis
Posts: 54
Spoam is a jewel in the roughSpoam is a jewel in the roughSpoam is a jewel in the roughSpoam is a jewel in the rough
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.
__________________
2015 PNW District Champions (955, 1983, 2930)





Co-Creator of 955 OPR

Last edited by Spoam : 01-05-2015 at 00:22.
Reply With Quote
  #4   Spotlight this post!  
Unread 01-05-2015, 02:38
asid61's Avatar
asid61 asid61 is offline
Registered User
AKA: Anand Rajamani
FRC #0115 (MVRT)
Team Role: Mechanical
 
Join Date: Jan 2014
Rookie Year: 2013
Location: Cupertino, CA
Posts: 2,207
asid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond repute
Re: FRC 2015 Simulator??

Quote:
Originally Posted by Spoam View Post
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.
__________________
<Now accepting CAD requests and commissions>

Reply With Quote
  #5   Spotlight this post!  
Unread 01-05-2015, 09:25
DarthCoder DarthCoder is offline
Registered User
FRC #4309
 
Join Date: Aug 2012
Location: Washington
Posts: 37
DarthCoder is an unknown quantity at this point
Re: FRC 2015 Simulator??

Quote:
Originally Posted by Spoam View Post
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?
Reply With Quote
  #6   Spotlight this post!  
Unread 05-05-2015, 20:48
gblake's Avatar
gblake gblake is offline
6th Gear Developer; Mentor
AKA: Blake Ross
no team (6th Gear)
Team Role: Mentor
 
Join Date: May 2006
Rookie Year: 2006
Location: Virginia
Posts: 1,932
gblake has a reputation beyond reputegblake has a reputation beyond reputegblake has a reputation beyond reputegblake has a reputation beyond reputegblake has a reputation beyond reputegblake has a reputation beyond reputegblake has a reputation beyond reputegblake has a reputation beyond reputegblake has a reputation beyond reputegblake has a reputation beyond reputegblake has a reputation beyond repute
Re: FRC 2015 Simulator??

Quote:
Originally Posted by DarthCoder View Post
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.
__________________
Blake Ross, For emailing me, in the verizon.net domain, I am blake
VRC Team Mentor, FTC volunteer, 5th Gear Developer, Husband, Father, Triangle Fraternity Alumnus (ky 76), U Ky BSEE, Tau Beta Pi, Eta Kappa Nu, Kentucky Colonel
Words/phrases I avoid: basis, mitigate, leveraging, transitioning, impact (instead of affect/effect), facilitate, programmatic, problematic, issue (instead of problem), latency (instead of delay), dependency (instead of prerequisite), connectivity, usage & utilize (instead of use), downed, functionality, functional, power on, descore, alumni (instead of alumnus/alumna), the enterprise, methodology, nomenclature, form factor (instead of size or shape), competency, modality, provided(with), provision(ing), irregardless/irrespective, signage, colorized, pulsating, ideate
Reply With Quote
  #7   Spotlight this post!  
Unread 01-05-2015, 10:15
MikLast's Avatar
MikLast MikLast is offline
CAO/Drive Coach
AKA: Mikal Dieatrick
FRC #4513 (Circuit Breakers)
Team Role: Leadership
 
Join Date: Jan 2015
Rookie Year: 2014
Location: Medical Lake, WA
Posts: 572
MikLast is a name known to allMikLast is a name known to allMikLast is a name known to allMikLast is a name known to allMikLast is a name known to allMikLast is a name known to all
Re: FRC 2015 Simulator??

Quote:
Originally Posted by Spoam View Post
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...
__________________

Check out the FRC Discord!

2014: programmer, scout
2015: programmer, admin, drive team
Innovation in control award, WVHS district event
Innovation in control award, CWU district event
finalist, PNW district championship
2016: CAO, Drive team.
Excellence In Engineering awad, WVHS District event
Reply With Quote
  #8   Spotlight this post!  
Unread 01-05-2015, 10:46
CJ_Elliott's Avatar
CJ_Elliott CJ_Elliott is offline
Registered User
FRC #2502 (Talon Robotics)
Team Role: Alumni
 
Join Date: Feb 2015
Rookie Year: 2014
Location: Eden Prairie, MN
Posts: 77
CJ_Elliott is a glorious beacon of lightCJ_Elliott is a glorious beacon of lightCJ_Elliott is a glorious beacon of lightCJ_Elliott is a glorious beacon of lightCJ_Elliott is a glorious beacon of lightCJ_Elliott is a glorious beacon of light
Re: FRC 2015 Simulator??

http://www.amazon.com/Forklift-truck.../dp/B0034G4V1G
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 19:44.

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