Go to Post "It doesn't matter what you think happened, what the Ref calls (or doesn't) is what happened. The judgement of the Ref is part of the game, live with it or don't play." - ChrisH [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
 
Thread Tools Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 17-04-2014, 01:03
Mike Ounsworth's Avatar
Mike Ounsworth Mike Ounsworth is offline
Roboticist
FRC #3710 (Cyber Falcons)
Team Role: Mentor
 
Join Date: Dec 2004
Rookie Year: 2004
Location: Montreal, Qc, Canada
Posts: 22
Mike Ounsworth is a jewel in the roughMike Ounsworth is a jewel in the roughMike Ounsworth is a jewel in the rough
Visual Joystick - a full 2 axis, 4 button joystick during autonomous mode

Hello all,

This year there was a clarification to the AUTONOMOUS MODE rules (which I'll refer to as a change) that you noticed if you were watching the Q&A, specifically Q55, Q363, and Q410. Basically you can do anything you want with your Driver Station webcam during autonomous mode. The Cheesy Poofs made an awesome program called CheesyVision which takes advantage of the rule change - you can find the thread about that here. I forked the Poof's repo and decided to see how far I could push the new rule - why not make a full joystick with buttons using only the webcam? So I did.



Here is a YouTube video demonstration
http://youtu.be/LjJwCZKdC6k

Here is the source
https://github.com/ounsworth/FRC_VisualJoystick

My reasoning for developing and releasing this code is twofold:
1. Demonstrate the extent to which this rule change can be exploited to gain full teleop control during AUTONOMOUS MODE.
2. Even the playing field so that all teams can take full advantage of the rule change.

Keep on roboting and good luck to all attending Championships!

If you have any questions / comments / use the project / fork it and develop it further I'd love to hear from you, my email is ounsw@cim.mcgill.ca (I don't check Chief very often)

P.S. I don't have access to a cRIO so I havn't tested the network communication / sockets stuff. In fact I can't even guarantee that the java code will compile. If someone could test / debug this I would be very grateful.
__________________
I am doing graduate work on autonomous aerial and underwater vehicles with McGill University's Mobile Robotics Lab.

I have been Lead Programming Mentor with Teams 296 and 3710, as well as Head Mentor for 2 years at 3710.
  #2   Spotlight this post!  
Unread 17-04-2014, 01:07
eddie12390's Avatar
eddie12390 eddie12390 is offline
Registered User
AKA: Eddie
FRC #3260 (SHARP)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Pittsburgh
Posts: 285
eddie12390 is a glorious beacon of lighteddie12390 is a glorious beacon of lighteddie12390 is a glorious beacon of lighteddie12390 is a glorious beacon of lighteddie12390 is a glorious beacon of light
Re: Visual Joystick - a full 2 axis, 4 button joystick during autonomous mode

Thanks for releasing your source, I'll definitely have to look into it.
__________________
Any post that I make expresses only my opinions. I do not represent the opinions of my team or of any entity affiliated with my team.

As a Mentor:
2016 - Engineering Inspiration at Greater Pittsburgh Regional

As a Driver:
2014 - Winner of Greater Pittsburgh Regional
  #3   Spotlight this post!  
Unread 17-04-2014, 01:26
Jonathan Norris Jonathan Norris is offline
Jno
FRC #0610 (Crescent Robotics)
Team Role: Mentor
 
Join Date: Nov 2005
Rookie Year: 2004
Location: Toronto
Posts: 1,080
Jonathan Norris has a reputation beyond reputeJonathan Norris has a reputation beyond reputeJonathan Norris has a reputation beyond reputeJonathan Norris has a reputation beyond reputeJonathan Norris has a reputation beyond reputeJonathan Norris has a reputation beyond reputeJonathan Norris has a reputation beyond reputeJonathan Norris has a reputation beyond reputeJonathan Norris has a reputation beyond reputeJonathan Norris has a reputation beyond reputeJonathan Norris has a reputation beyond repute
Re: Visual Joystick - a full 2 axis, 4 button joystick during autonomous mode

I officially rename this project Flow-Vision . Nice job mike.
__________________
Co-Founder of Taplytics.com
2013 World Champions (1241, 1477, 610)
Crescent Robotics Team 610 Mentor
K-Botics Team 2809 Founding Mentor ('09-'11)
Queen's University Mechanical Engineering, Applied Science '11

Crescent Robotics Team 610 Alumni
  #4   Spotlight this post!  
Unread 17-04-2014, 20:10
Mike Ounsworth's Avatar
Mike Ounsworth Mike Ounsworth is offline
Roboticist
FRC #3710 (Cyber Falcons)
Team Role: Mentor
 
Join Date: Dec 2004
Rookie Year: 2004
Location: Montreal, Qc, Canada
Posts: 22
Mike Ounsworth is a jewel in the roughMike Ounsworth is a jewel in the roughMike Ounsworth is a jewel in the rough
Re: Visual Joystick - a full 2 axis, 4 button joystick during autonomous mode

And just because I can, here's a video of the Visual Joystick controlling an AR.Drone 2.0 quadrotor.

http://youtu.be/804Pl2e9YLQ
__________________
I am doing graduate work on autonomous aerial and underwater vehicles with McGill University's Mobile Robotics Lab.

I have been Lead Programming Mentor with Teams 296 and 3710, as well as Head Mentor for 2 years at 3710.
  #5   Spotlight this post!  
Unread 18-04-2014, 11:23
JesseK's Avatar
JesseK JesseK is offline
Expert Flybot Crasher
FRC #1885 (ILITE)
Team Role: Mentor
 
Join Date: Mar 2007
Rookie Year: 2005
Location: Reston, VA
Posts: 3,640
JesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond repute
Re: Visual Joystick - a full 2 axis, 4 button joystick during autonomous mode

This is pretty awesome. I really like it from a general OMI stance. Just don't sneeze .

However, it completely removes autonomy from the autonomous period. I suspect FIRST will address this if it becomes more widespread.
__________________

Drive Coach, 1885 (2007-present)
CAD Library Updated 5/1/16 - 2016 Curie/Carver Industrial Design Winner
GitHub
  #6   Spotlight this post!  
Unread 20-04-2014, 15:39
rich2202 rich2202 is offline
Registered User
FRC #2202 (BEAST Robotics)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Wisconsin
Posts: 1,171
rich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond repute
Re: Visual Joystick - a full 2 axis, 4 button joystick during autonomous mode

Quote:
Originally Posted by JesseK View Post
I suspect FIRST will address this if it becomes more widespread.
Why is this any different than Kinex?
  #7   Spotlight this post!  
Unread 21-04-2014, 08:59
JesseK's Avatar
JesseK JesseK is offline
Expert Flybot Crasher
FRC #1885 (ILITE)
Team Role: Mentor
 
Join Date: Mar 2007
Rookie Year: 2005
Location: Reston, VA
Posts: 3,640
JesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond repute
Re: Visual Joystick - a full 2 axis, 4 button joystick during autonomous mode

Quote:
Originally Posted by rich2202 View Post
Why is this any different than Kinect?
It isn't. Yet even the Kinect's functionality, with implementation as great as this, completely circumvents the point of autonomous.
__________________

Drive Coach, 1885 (2007-present)
CAD Library Updated 5/1/16 - 2016 Curie/Carver Industrial Design Winner
GitHub
  #8   Spotlight this post!  
Unread 21-04-2014, 12:37
DjScribbles DjScribbles is offline
Programming Mentor
AKA: Joe S
FRC #2474 (Team Excel)
Team Role: Mentor
 
Join Date: Oct 2011
Rookie Year: 2012
Location: Niles MI
Posts: 284
DjScribbles is a splendid one to beholdDjScribbles is a splendid one to beholdDjScribbles is a splendid one to beholdDjScribbles is a splendid one to beholdDjScribbles is a splendid one to beholdDjScribbles is a splendid one to beholdDjScribbles is a splendid one to beholdDjScribbles is a splendid one to behold
Re: Visual Joystick - a full 2 axis, 4 button joystick during autonomous mode

This is a cool feature, though I don't think the concerns over the sanctity of autonomous are really warranted.

In my opinion, autonomous programs are usually better at autonomous mode than people could ever be, which is why Hybrid mode was never really adopted by teams. Autonomous is generally constructed in a way where chaos is minimized, making time is the limiting factor, rather than adaptability.

Introducing capabilities to autonomous mode in a way that mimics operator control would not be an advantage in my opinion, the real power of these sorts of systems is in using human brains to fill the role of sensors which trigger certain pre-scripted actions.

Given the option, would you really want your driver to directly control your robot in autonomous mode?
  #9   Spotlight this post!  
Unread 21-04-2014, 13:30
Joel Glidden's Avatar
Joel Glidden Joel Glidden is offline
My heart pumps diesel.
FRC #4293 (Komodo)
Team Role: Engineer
 
Join Date: Apr 2002
Rookie Year: 2001
Location: Highlands Ranch, CO
Posts: 208
Joel Glidden is a glorious beacon of lightJoel Glidden is a glorious beacon of lightJoel Glidden is a glorious beacon of lightJoel Glidden is a glorious beacon of lightJoel Glidden is a glorious beacon of lightJoel Glidden is a glorious beacon of light
Re: Visual Joystick - a full 2 axis, 4 button joystick during autonomous mode

DjScribbles makes a great point but misses one important aspect of the situation. Auto is risky and this level of operator intervention provides a plan B that could easily grow into a significantly robust capability for teams to recover from an auto routine that did not go as planned.

Is this good or bad? I don't know. I have a feeling that it is not what the GDC had in mind when they made this allowance.
__________________
-Joel
  #10   Spotlight this post!  
Unread 21-04-2014, 16:02
Gregor's Avatar
Gregor Gregor is online now
#StickToTheStratisQuo
AKA: Gregor Browning
no team
Team Role: College Student
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Kingston, Ontario, Canada
Posts: 2,447
Gregor has a reputation beyond reputeGregor has a reputation beyond reputeGregor has a reputation beyond reputeGregor has a reputation beyond reputeGregor has a reputation beyond reputeGregor has a reputation beyond reputeGregor has a reputation beyond reputeGregor has a reputation beyond reputeGregor has a reputation beyond reputeGregor has a reputation beyond reputeGregor has a reputation beyond repute
Re: Visual Joystick - a full 2 axis, 4 button joystick during autonomous mode

Quote:
Originally Posted by DjScribbles View Post
Given the option, would you really want your driver to directly control your robot in autonomous mode?
It (controlling the robot in autonomous) opens up a world for autonomous defence, specifically goalie posts.
__________________
What are nationals? Sounds like a fun American party, can we Canadians come?
“For me, insanity is super sanity. The normal is psychotic. Normal means lack of imagination, lack of creativity.” -Jean Dubuffet
"Insanity is doing the same thing over and over again and expecting different results." -Albert Einstein
FLL 2011-2015 Glen Ames Robotics-Student, Mentor
FRC 2012-2013 Team 907-Scouting Lead, Strategy Lead, Human Player, Driver
FRC 2014-2015 Team 1310-Mechanical, Electrical, Drive Captain
FRC 2011-xxxx Volunteer
How I came to be a FIRSTer
<Since 2011
  #11   Spotlight this post!  
Unread 21-04-2014, 13:37
vgdude999 vgdude999 is offline
Programmer/Driver
FRC #1751 (Comsewogue Warriors)
Team Role: Programmer
 
Join Date: Aug 2013
Rookie Year: 2012
Location: Port Jefferson Station, NY
Posts: 25
vgdude999 is an unknown quantity at this point
Quote:
Originally Posted by Joel Glidden View Post
Is this good or bad? I don't know. I have a feeling that it is not what the GDC had in mind when they made this allowance.
I have a feeling this is exactly the OP's point, that allowing this kind of control in autonomous defeats the purpose of autonomous mode entirely.
__________________
2013: Rookie year, programmer-in-training; SBPLI Regional Finalists
2014: Co-Captain, Programmer, Driver; Seeded 15th
2015: Co-Captain, Programmer, Driver
  #12   Spotlight this post!  
Unread 21-04-2014, 13:46
connor.worley's Avatar
connor.worley connor.worley is offline
Registered User
FRC #0973 (Greybots)
Team Role: Mentor
 
Join Date: Mar 2011
Rookie Year: 2010
Location: Berkeley/San Diego
Posts: 601
connor.worley has a reputation beyond reputeconnor.worley has a reputation beyond reputeconnor.worley has a reputation beyond reputeconnor.worley has a reputation beyond reputeconnor.worley has a reputation beyond reputeconnor.worley has a reputation beyond reputeconnor.worley has a reputation beyond reputeconnor.worley has a reputation beyond reputeconnor.worley has a reputation beyond reputeconnor.worley has a reputation beyond reputeconnor.worley has a reputation beyond repute
Re: Visual Joystick - a full 2 axis, 4 button joystick during autonomous mode

Although this is a cool demo, I don't think it has major implications in practice. Until a team uses this to drive their robot in auto and hits shot percentages equal to or better than their teleop shot percentages, I'm not convinced.

Concerns:
Does your human know exactly where your robot needs to move to make shots?
Does your human know exactly how much the robot needs to turn to make shots?
Will your human make a mistake in their movement?
Is vision calibration at a real competition venue viable?
Does this get good enough fps to actually drive without crashing? On a Classmate?

Still a cool vision demo, thanks for sharing.
__________________
Team 973 (2016-???)
Team 5499 (2015-2016)
Team 254 (2014-2015)

Team 1538 (2011-2014)
2014 Driver (25W 17L 1T)
日本語でOK

Last edited by connor.worley : 21-04-2014 at 13:49.
Closed Thread


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 20:58.

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