Go to Post We can help make those dreams, maybe. ;) - Adare180 [more]
Home
Go Back   Chief Delphi > Other > VEX
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 03-11-2011, 21:21
jchang254 jchang254 is offline
Registered User
FRC #0254
 
Join Date: Nov 2011
Location: San Jose, CA
Posts: 4
jchang254 is an unknown quantity at this point
VirtualVEX: Open Source VEX Robotics Competition Simulator

<Cross-posted on the VEX Forum>

This project has been in development for several months now and we've seen it fit to now release an open alpha to the community.

As the title of this post says, VirtualVEX is an open source VEX simulator. It is created using Unity3d (a free game development tool) and is programmed primarily in C# with some JavaScript (technically UnityScript) providing support scripts. It began in May of this year as an independent project and gained official support from Team 254 in late August. The aim of the VirtualVEX project is to provide a free platform which can be used by teams to practice their driving and operating skills when access to their physical robot is either unavailable or inconvenient for whatever reason.

Some of the CURRENT features of this release include:

Multiple robot types: right now only clawbot and conveyor belt robot ("ConveyorBot") are implemented, with work on a vertical intake roller style robot in progress.
Programmable: You can change the controls of the virtual robot by downloading your own user code. VirtualVEX is compatible with the ROBOTC API, but user code must be compiled into a DLL which is loaded at runtime.
A lightweight IDE, VVDevelop, is also available for download to help with the creation of custom driver control code (since the program can't interface with the regular ROBOTC IDE).
Timed Robot Skills mode: This allows teams to practice for the Robot Skills competition. It features a built-in game timer that disables your robot once 1 minute is up.
Automated Scoring: Your score is instantly calculated and updated throughout the simulation. Note that parts of this implementation, namely the doublers/negators, have not been added, but the first score bonus is implemented.


As has been stated earlier, the program is still in an alpha stage. It is currently usable for general practice, but we hope to add some new features, such as autonomous support or AI opponents. Precedence however is given to adding more basic functions such as match loading.

You can obtain the current release from our website:

https://sites.google.com/site/virtualvex/

Documentation can also be found on the website but it is still under construction. You can also see screenshots there.

If you do use VirtualVEX, I won't ask for payment since it's free, but I do ask that you leave feedback in this thread.

List of known issues, please don't post these as we know about them...
-Conveyor intake twists when it runs into a goal at high speed. Normally this corrects itself after driving a while
-Keyboard shortcuts for gate raising causes gates to move strangely
-Clawbot intake loose at full height

-Jonathan
Reply With Quote
  #2   Spotlight this post!  
Unread 03-11-2011, 22:44
Chris is me's Avatar
Chris is me Chris is me is offline
no bag, vex only, final destination
AKA: Pinecone
FRC #0228 (GUS Robotics); FRC #2170 (Titanium Tomahawks)
Team Role: Mentor
 
Join Date: Dec 2008
Rookie Year: 2006
Location: Glastonbury, CT
Posts: 7,678
Chris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond repute
Send a message via AIM to Chris is me
Re: VirtualVEX: Open Source VEX Robotics Competition Simulator

I can't figure out how to load user code that controls the arm or gripper of either robot.

Absolutely awesome piece of software. Great job coding a 3-d robot simulator in only a few months, if that!
__________________
Mentor / Drive Coach: 228 (2016-?)
...2016 Waterbury SFs (with 3314, 3719), RIDE #2 Seed / Winners (with 1058, 6153), Carver QFs (with 503, 359, 4607)
Mentor / Consultant Person: 2170 (2017-?)
---
College Mentor: 2791 (2010-2015)
...2015 TVR Motorola Quality, FLR GM Industrial Design
...2014 FLR Motorola Quality / SFs (with 341, 4930)
...2013 BAE Motorola Quality, WPI Regional #1 Seed / Delphi Excellence in Engineering / Finalists (with 20, 3182)
...2012 BAE Imagery / Finalists (with 1519, 885), CT Xerox Creativity / SFs (with 2168, 118)
Student: 1714 (2009) - 2009 Minnesota 10,000 Lakes Regional Winners (with 2826, 2470)
2791 Build Season Photo Gallery - Look here for mechanism photos My Robotics Blog (Updated April 11 2014)
Reply With Quote
  #3   Spotlight this post!  
Unread 03-11-2011, 23:33
jchang254 jchang254 is offline
Registered User
FRC #0254
 
Join Date: Nov 2011
Location: San Jose, CA
Posts: 4
jchang254 is an unknown quantity at this point
Re: VirtualVEX: Open Source VEX Robotics Competition Simulator

The default code should already be able to control the arm and gripper. Keep in mind that the program is designed to use dual-axis joysticks (like the logitech dual action gamepad) for input, and that keyboard controls are provided for backup only. Furthermore, the default setup is designed for a driver and operator. That being said, if you are looking to create your own custom code that uses only one joystick or something, there are instructions on the website on how to do that.

As far as the rapid development of the application, Unity handles a lot of the grunt work, making true RAD a possibility.
Reply With Quote
  #4   Spotlight this post!  
Unread 04-11-2011, 00:02
Peyton Yeung's Avatar
Peyton Yeung Peyton Yeung is offline
45 Alumni
AKA: Peyton Yeung
FRC #0461 (Westside Boiler Invasion)
Team Role: Coach
 
Join Date: Mar 2010
Rookie Year: 2009
Location: Kokomo, IN
Posts: 816
Peyton Yeung has a reputation beyond reputePeyton Yeung has a reputation beyond reputePeyton Yeung has a reputation beyond reputePeyton Yeung has a reputation beyond reputePeyton Yeung has a reputation beyond reputePeyton Yeung has a reputation beyond reputePeyton Yeung has a reputation beyond reputePeyton Yeung has a reputation beyond reputePeyton Yeung has a reputation beyond reputePeyton Yeung has a reputation beyond reputePeyton Yeung has a reputation beyond repute
Re: VirtualVEX: Open Source VEX Robotics Competition Simulator

Um while I was using the conveyor bot, one side got stuck on the side of the field and when I drove away it caused the entire bot to explode and disappear from the field.
__________________
461 Westside Boiler Invasion
2016 Tippy Quarter finalist, Warren Finalist, IN State Semi Finalist,B^3 Double Finalist
2015 Indy Semi finalist, Purdue Quarter Finalist, IN State Quarter Finalist, CORI QF, R2OC Finalist, RAGE Winner
2014 Boilermaker Semi finalist, Crossroads Quarter Finalist, & CAGE Quarter Finalist
45 Technokats
2013 Boilermaker Quarter finalist
2012 CAGE Semi finalist & Queen City Champion
2011 CAGE Quarter finalist & Midwest Semi finalist
2010 CAGE Quarter finalist, Boilermaker Champion, & Washington DC Quarter Finalist
Reply With Quote
  #5   Spotlight this post!  
Unread 04-11-2011, 08:58
DavidGitz's Avatar
DavidGitz DavidGitz is offline
Lead Technical Advisor
FRC #1208 (MeTool Brigade)
Team Role: Coach
 
Join Date: Dec 2006
Rookie Year: 1996
Location: O'Fallon, IL
Posts: 341
DavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud of
Send a message via AIM to DavidGitz Send a message via MSN to DavidGitz Send a message via Yahoo to DavidGitz
Re: VirtualVEX: Open Source VEX Robotics Competition Simulator

Quote:
Originally Posted by Tubatroopa View Post
Um while I was using the conveyor bot, one side got stuck on the side of the field and when I drove away it caused the entire bot to explode and disappear from the field.
Isn't that normal?
__________________
Reply With Quote
  #6   Spotlight this post!  
Unread 04-11-2011, 17:34
jchang254 jchang254 is offline
Registered User
FRC #0254
 
Join Date: Nov 2011
Location: San Jose, CA
Posts: 4
jchang254 is an unknown quantity at this point
Re: VirtualVEX: Open Source VEX Robotics Competition Simulator

Quote:
Originally Posted by Tubatroopa View Post
Um while I was using the conveyor bot, one side got stuck on the side of the field and when I drove away it caused the entire bot to explode and disappear from the field.
See the list of known bugs; for whatever reason the intake pieces are not very rigid and you should try to avoid ramming them into things. I've been trying to figure out a workaround, but the hinge joints Unity offers are simply not rigid enough...
Reply With Quote
  #7   Spotlight this post!  
Unread 04-11-2011, 18:28
Chris is me's Avatar
Chris is me Chris is me is offline
no bag, vex only, final destination
AKA: Pinecone
FRC #0228 (GUS Robotics); FRC #2170 (Titanium Tomahawks)
Team Role: Mentor
 
Join Date: Dec 2008
Rookie Year: 2006
Location: Glastonbury, CT
Posts: 7,678
Chris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond reputeChris is me has a reputation beyond repute
Send a message via AIM to Chris is me
Re: VirtualVEX: Open Source VEX Robotics Competition Simulator

I've tried but can't seem to figure out how to write good code for a single person to control the robot. I wanna play! Anyone got any code of their own?
__________________
Mentor / Drive Coach: 228 (2016-?)
...2016 Waterbury SFs (with 3314, 3719), RIDE #2 Seed / Winners (with 1058, 6153), Carver QFs (with 503, 359, 4607)
Mentor / Consultant Person: 2170 (2017-?)
---
College Mentor: 2791 (2010-2015)
...2015 TVR Motorola Quality, FLR GM Industrial Design
...2014 FLR Motorola Quality / SFs (with 341, 4930)
...2013 BAE Motorola Quality, WPI Regional #1 Seed / Delphi Excellence in Engineering / Finalists (with 20, 3182)
...2012 BAE Imagery / Finalists (with 1519, 885), CT Xerox Creativity / SFs (with 2168, 118)
Student: 1714 (2009) - 2009 Minnesota 10,000 Lakes Regional Winners (with 2826, 2470)
2791 Build Season Photo Gallery - Look here for mechanism photos My Robotics Blog (Updated April 11 2014)
Reply With Quote
  #8   Spotlight this post!  
Unread 04-11-2011, 18:36
jchang254 jchang254 is offline
Registered User
FRC #0254
 
Join Date: Nov 2011
Location: San Jose, CA
Posts: 4
jchang254 is an unknown quantity at this point
Re: VirtualVEX: Open Source VEX Robotics Competition Simulator

Some things here:

1. I find that one person using two remotes for the ConveyorBot is not difficult. Though that could just be me.

2. I realized something very, very important regarding that VVDevelop IDE: Annoying Vista/7 User Accounts Controls makes some of its features - most importantly compile and download - unusable. I will issue a repaired version soon that works with UAC. For now, if you want to use VVDevelop you can disable UAC, or you can wait for the next release if you don't mind. It's all up to you. I apologize for the inconvenience, I didn't have UAC in mind...
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 04:12.

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