Go to Post Maybe this is something we should put on the backs of our shirts: "beware - this person will stand up and cheer for other teams during FIRST award ceremonies". - Andy Baker [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: 12 votes, 5.00 average. Display Modes
  #16   Spotlight this post!  
Unread 16-09-2014, 18:44
vladtheimpaled's Avatar
vladtheimpaled vladtheimpaled is offline
Registered User
FRC #0810 (The Mechanical Bulls)
Team Role: Electrical
 
Join Date: Mar 2014
Rookie Year: 2014
Location: smithown
Posts: 40
vladtheimpaled is an unknown quantity at this point
Re: Aerial Assist 3D Game Simulation

I'm working on my own simulation with Unity in the free version. I was wondering how you got the ball to shoot so accurately. I made the ball rotate with my robot but that still misfires sometimes. Was the shooting done through animation, or was it some specific code? Also did you use JavaScript, c# or Boo just for my curiosity.
Reply With Quote
  #17   Spotlight this post!  
Unread 16-09-2014, 19:31
RyanCahoon's Avatar
RyanCahoon RyanCahoon is offline
Disassembling my prior presumptions
FRC #0766 (M-A Bears)
 
Join Date: Dec 2007
Rookie Year: 2007
Location: Mountain View
Posts: 686
RyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond repute
Re: Aerial Assist 3D Game Simulation

Hi Vlad,
I used C#. My project is posted at https://github.com/rcahoon/AerialAssistSim. Feel free to use as much of it as you want.

I had the robots carry the balls using kinematics (updated transform.position on every frame) but the shooting was done using the physics engine - I added an impulse-type force. Check out https://github.com/rcahoon/AerialAss...ts/Launcher.cs

Let me know if you have any more questions
__________________
FRC 2046, 2007-2008, Student member
FRC 1708, 2009-2012, College mentor; 2013-2014, Mentor
FRC 766, 2015-, Mentor
Reply With Quote
  #18   Spotlight this post!  
Unread 16-09-2014, 19:52
vladtheimpaled's Avatar
vladtheimpaled vladtheimpaled is offline
Registered User
FRC #0810 (The Mechanical Bulls)
Team Role: Electrical
 
Join Date: Mar 2014
Rookie Year: 2014
Location: smithown
Posts: 40
vladtheimpaled is an unknown quantity at this point
Re: Aerial Assist 3D Game Simulation

Thank you very much.
Reply With Quote
  #19   Spotlight this post!  
Unread 16-09-2014, 20:48
BBray_T1296's Avatar
BBray_T1296 BBray_T1296 is offline
I am Dave! Yognaut
AKA: Brian Bray
FRC #1296 (Full Metal Jackets)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2010
Location: Rockwall, TX
Posts: 947
BBray_T1296 has a reputation beyond reputeBBray_T1296 has a reputation beyond reputeBBray_T1296 has a reputation beyond reputeBBray_T1296 has a reputation beyond reputeBBray_T1296 has a reputation beyond reputeBBray_T1296 has a reputation beyond reputeBBray_T1296 has a reputation beyond reputeBBray_T1296 has a reputation beyond reputeBBray_T1296 has a reputation beyond reputeBBray_T1296 has a reputation beyond reputeBBray_T1296 has a reputation beyond repute
Re: Aerial Assist 3D Game Simulation

Huge feature, but somehow allow importing custom CAD files.
__________________
If molecular reactions are deterministic, are all universes identical?

RIP David Shafer: you will be missed


Reply With Quote
  #20   Spotlight this post!  
Unread 17-09-2014, 06:50
vladtheimpaled's Avatar
vladtheimpaled vladtheimpaled is offline
Registered User
FRC #0810 (The Mechanical Bulls)
Team Role: Electrical
 
Join Date: Mar 2014
Rookie Year: 2014
Location: smithown
Posts: 40
vladtheimpaled is an unknown quantity at this point
Re: Aerial Assist 3D Game Simulation

Did you use the launcher script on the blue ball, or did you somehow use it on the robot? What I did was put my launch script on the blue ball and moved it with the bot and then shot by using addrelativeforce to te ball.
Reply With Quote
  #21   Spotlight this post!  
Unread 17-09-2014, 14:43
RyanCahoon's Avatar
RyanCahoon RyanCahoon is offline
Disassembling my prior presumptions
FRC #0766 (M-A Bears)
 
Join Date: Dec 2007
Rookie Year: 2007
Location: Mountain View
Posts: 686
RyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond repute
Re: Aerial Assist 3D Game Simulation

Quote:
Originally Posted by vladtheimpaled View Post
Did you use the launcher script on the blue ball, or did you somehow use it on the robot? What I did was put my launch script on the blue ball and moved it with the bot and then shot by using addrelativeforce to te ball.
I attached the launcher script to the robot because that made made more semantic sense to me, but I don't think it makes a lot of difference. In either case, I think you want AddForce rather than AddRelativeForce because the direction of the force on the ball is dictated by the orientation of the robot, not the orientation of the ball.
__________________
FRC 2046, 2007-2008, Student member
FRC 1708, 2009-2012, College mentor; 2013-2014, Mentor
FRC 766, 2015-, Mentor
Reply With Quote
  #22   Spotlight this post!  
Unread 17-09-2014, 15:57
cjl2625's Avatar
cjl2625 cjl2625 is offline
apel py
AKA: Cory Lynch
FRC #2067 (Apple Pi)
Team Role: Programmer
 
Join Date: Jan 2013
Rookie Year: 2013
Location: Guilford, CT
Posts: 412
cjl2625 is a splendid one to beholdcjl2625 is a splendid one to beholdcjl2625 is a splendid one to beholdcjl2625 is a splendid one to beholdcjl2625 is a splendid one to beholdcjl2625 is a splendid one to beholdcjl2625 is a splendid one to beholdcjl2625 is a splendid one to behold
Re: Aerial Assist 3D Game Simulation

Hmm, maybe I'll fork this and add swerve drive robots.
I already made a 2D swerve game that I can borrow code from.
__________________
Head Programmer / Driver
Reply With Quote
  #23   Spotlight this post!  
Unread 19-09-2014, 02:07
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,202
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: Aerial Assist 3D Game Simulation

Quote:
Originally Posted by cjl2625 View Post
Hmm, maybe I'll fork this and add swerve drive robots.
I already made a 2D swerve game that I can borrow code from.
Swerve 4 lyfe bro. If you can do this, that would be amazing.
Reply With Quote
  #24   Spotlight this post!  
Unread 30-04-2015, 17:32
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: Aerial Assist 3D Game Simulation

Have you made one for Recycle Rush?
__________________

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
  #25   Spotlight this post!  
Unread 30-04-2015, 17:37
Jared Russell's Avatar
Jared Russell Jared Russell is offline
Taking a year (mostly) off
FRC #0254 (The Cheesy Poofs), FRC #0341 (Miss Daisy)
Team Role: Engineer
 
Join Date: Nov 2002
Rookie Year: 2001
Location: San Francisco, CA
Posts: 3,064
Jared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond repute
Re: Aerial Assist 3D Game Simulation

Quote:
Originally Posted by WillNess View Post
Have you made one for Recycle Rush?
Here you go.
Reply With Quote
  #26   Spotlight this post!  
Unread 30-04-2015, 17:44
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: Aerial Assist 3D Game Simulation

Quote:
Originally Posted by Jared Russell View Post
Lol
__________________

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
  #27   Spotlight this post!  
Unread 30-04-2015, 17:56
Maximillian's Avatar
Maximillian Maximillian is offline
Registered User
AKA: Max Westwater
FRC #5254 (HYPE)
Team Role: College Student
 
Join Date: Dec 2013
Rookie Year: 2014
Location: Worcester, MA; NY
Posts: 96
Maximillian has a brilliant futureMaximillian has a brilliant futureMaximillian has a brilliant futureMaximillian has a brilliant futureMaximillian has a brilliant futureMaximillian has a brilliant futureMaximillian has a brilliant futureMaximillian has a brilliant futureMaximillian has a brilliant futureMaximillian has a brilliant futureMaximillian has a brilliant future
Re: Aerial Assist 3D Game Simulation

Quote:
Originally Posted by WillNess View Post
Have you made one for Recycle Rush?
Someone made this

http://xantaz.netne.net/FRC2015game/WebFRC2015.html
Attached Thumbnails
Click image for larger version

Name:	7cviemh.png
Views:	123
Size:	125.5 KB
ID:	18959  
__________________


2016: TVR #2 seed + Finalist | FLR #1 seed + Semifinalist | Hopper Finalist | IRI Semifinalist
2015: TVR Finalist | FLR #1 seed + Finalist | Carson Quarterfinalist | IRI Quarterfinalist | Ruckus Winner

Last edited by Maximillian : 30-04-2015 at 21:57.
Reply With Quote
  #28   Spotlight this post!  
Unread 30-04-2015, 21:49
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: Aerial Assist 3D Game Simulation

Quote:
Originally Posted by Maximillian View Post
Do you have a link to it?
__________________

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
  #29   Spotlight this post!  
Unread 30-04-2015, 22:06
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,202
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: Aerial Assist 3D Game Simulation

Quote:
Originally Posted by Maximillian View Post
The Unity Web Player isn't working on it.
__________________
<Now accepting CAD requests and commissions>

Reply With Quote
  #30   Spotlight this post!  
Unread 30-04-2015, 22:09
Darkseer54's Avatar
Darkseer54 Darkseer54 is offline
Controls Captain and Driver
AKA: Zach Kaplan
FRC #1086 (Blue Cheese)
Team Role: Programmer
 
Join Date: Nov 2012
Rookie Year: 2013
Location: Richmond, VA
Posts: 131
Darkseer54 is just really niceDarkseer54 is just really niceDarkseer54 is just really niceDarkseer54 is just really nice
Re: Aerial Assist 3D Game Simulation

Works in IE, but not chrome.
No idea why... but I had heard something about unity not working in chrome anymore or something like that.
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 01:33.

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