Go to Post My experience in FIRST has taught me that, whatever you do, make sure that no single failure can eliminate half your drive system.[...] The worst feeling in the world is having your robot driving around in circles when there is critical business to be done on the playing field. - Andrew [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 Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 14-10-2010, 15:13
BornaE's Avatar
BornaE BornaE is offline
Registered User
FRC #0842 (Formerly 39)
Team Role: Engineer
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Gilbert, Arizona
Posts: 359
BornaE has a brilliant futureBornaE has a brilliant futureBornaE has a brilliant futureBornaE has a brilliant futureBornaE has a brilliant futureBornaE has a brilliant futureBornaE has a brilliant futureBornaE has a brilliant futureBornaE has a brilliant futureBornaE has a brilliant futureBornaE has a brilliant future
Control FTC4314's robot over the web

We have created an applet to control our teams robot over the web.
the url is here: http://team0x27.org/robot/

please be courteous and do not stall the motors or drive into anything.

the robot may or may not be available at all times.
If you cannot connect it means somebody else is connected at the moment so you can keep trying to connect.

I will try to get a video stream up so you can watch the robot even if you are not driving it.
__________________
-Borna Emami
Team 0x27
Reply With Quote
  #2   Spotlight this post!  
Unread 14-10-2010, 15:37
BornaE's Avatar
BornaE BornaE is offline
Registered User
FRC #0842 (Formerly 39)
Team Role: Engineer
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Gilbert, Arizona
Posts: 359
BornaE has a brilliant futureBornaE has a brilliant futureBornaE has a brilliant futureBornaE has a brilliant futureBornaE has a brilliant futureBornaE has a brilliant futureBornaE has a brilliant futureBornaE has a brilliant futureBornaE has a brilliant futureBornaE has a brilliant futureBornaE has a brilliant future
Re: Control FTC4314's robot over the web

After a few people driving it, it seems like we need to find a more foolproof environment for the robot. many things that can go wrong in the current locations. Will update soon.
__________________
-Borna Emami
Team 0x27
Reply With Quote
  #3   Spotlight this post!  
Unread 14-10-2010, 15:45
whcirobotics's Avatar
whcirobotics whcirobotics is offline
Registered User
FRC #1514 (Vikings)
 
Join Date: Nov 2008
Rookie Year: 2009
Location: WHCI
Posts: 174
whcirobotics is an unknown quantity at this point
Re: Control FTC4314's robot over the web

The link ^ doesnt work..
Reply With Quote
  #4   Spotlight this post!  
Unread 14-10-2010, 15:48
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,605
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: Control FTC4314's robot over the web

This is a very, very cool idea. Let us know when it gets back up, I wanna play.
__________________
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
  #5   Spotlight this post!  
Unread 14-10-2010, 16:02
Josh Fox Josh Fox is offline
Registered User
AKA: Foxy
FRC #0027 (Team RUSH)
Team Role: Mentor
 
Join Date: Mar 2007
Rookie Year: 2007
Location: Michigan
Posts: 389
Josh Fox has much to be proud ofJosh Fox has much to be proud ofJosh Fox has much to be proud ofJosh Fox has much to be proud ofJosh Fox has much to be proud ofJosh Fox has much to be proud ofJosh Fox has much to be proud ofJosh Fox has much to be proud ofJosh Fox has much to be proud ofJosh Fox has much to be proud of
Re: Control FTC4314's robot over the web



I have a friend who did something similar with the basement of his house. You can turn off the lights, move a robot arm, and several other things through the internet.

I wanna play too!
__________________
Team RUSH Alumnus and Mentor, Mechanical Engineer
Reply With Quote
  #6   Spotlight this post!  
Unread 14-10-2010, 16:47
demosthenes2k8's Avatar
demosthenes2k8 demosthenes2k8 is offline
Graduated but not gone
AKA: Matt Soucy
FRC #0166 (Chop Shop 166)
Team Role: Mentor
 
Join Date: Jan 2009
Rookie Year: 2007
Location: Merrimack, NH
Posts: 589
demosthenes2k8 is a splendid one to beholddemosthenes2k8 is a splendid one to beholddemosthenes2k8 is a splendid one to beholddemosthenes2k8 is a splendid one to beholddemosthenes2k8 is a splendid one to beholddemosthenes2k8 is a splendid one to beholddemosthenes2k8 is a splendid one to beholddemosthenes2k8 is a splendid one to behold
Send a message via AIM to demosthenes2k8 Send a message via Yahoo to demosthenes2k8
Re: Control FTC4314's robot over the web

There is no possible way this could go wrong in the hands of someone with poor driving skills.

Me next!
__________________


GSR Dean's List Finalist 2011
Reply With Quote
  #7   Spotlight this post!  
Unread 14-10-2010, 17:00
BornaE's Avatar
BornaE BornaE is offline
Registered User
FRC #0842 (Formerly 39)
Team Role: Engineer
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Gilbert, Arizona
Posts: 359
BornaE has a brilliant futureBornaE has a brilliant futureBornaE has a brilliant futureBornaE has a brilliant futureBornaE has a brilliant futureBornaE has a brilliant futureBornaE has a brilliant futureBornaE has a brilliant futureBornaE has a brilliant futureBornaE has a brilliant futureBornaE has a brilliant future
Re: Control FTC4314's robot over the web

Just improved to framerate from about 2 frames per second to ~15
The plan for now is to create an admin piece of is to create an admin piece of software that can override the users commands.

Then make it available to public at some times when someone can supervise the robot.
__________________
-Borna Emami
Team 0x27
Reply With Quote
  #8   Spotlight this post!  
Unread 14-10-2010, 17:06
its da PAT!!!'s Avatar
its da PAT!!! its da PAT!!! is offline
Registered User
AKA: Pat Miller
FRC #0829 (Digital Goats)
Team Role: Mentor
 
Join Date: Feb 2007
Rookie Year: 2005
Location: indianapolis
Posts: 186
its da PAT!!! has a spectacular aura aboutits da PAT!!! has a spectacular aura aboutits da PAT!!! has a spectacular aura about
Send a message via AIM to its da PAT!!!
Re: Control FTC4314's robot over the web

I got the chance to drive it a little, and man was it hard! The Lag from video to actual moment was pretty great and it was not hard to run into things.

One thing I thought was pretty cool was the little arm you had on the front of the robot, to move the ramp down to go up it. Now that was pretty cool!

All in all, it was fun and I would love to drive it again. Plus it could be a BIG hit for people that are bored and looking for something to online.
__________________

2012 Boilermaker Engineering Excellence Award
2010 Boilermaker Rockwell Automation Innovation in Control Award
2009 Buckeye J&J Gracious Professionalism Award
2009 Boilermaker J&J Gracious Professionalism Award
2008 Boilermaker J&J Gracious Professionalism Award
2007 St. Louis Regional Champion


Reply With Quote
  #9   Spotlight this post!  
Unread 14-10-2010, 18:03
kgzak's Avatar
kgzak kgzak is offline
Registered User
AKA: Kris
FRC #4392 (Decievers) FRC #2075 (Enigma)
Team Role: College Student
 
Join Date: Dec 2008
Rookie Year: 2008
Location: Grand Rapids, Michigan
Posts: 418
kgzak is a splendid one to beholdkgzak is a splendid one to beholdkgzak is a splendid one to beholdkgzak is a splendid one to beholdkgzak is a splendid one to beholdkgzak is a splendid one to beholdkgzak is a splendid one to behold
Re: Control FTC4314's robot over the web

I wanna drive!

I wonder if we could do this with our FRC robot. Just have to make sure we don't put holes in the walls or anything
Reply With Quote
  #10   Spotlight this post!  
Unread 14-10-2010, 18:24
Frank Neuperger Frank Neuperger is offline
Registered User
FRC #0842
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Gilbert, AZ
Posts: 90
Frank Neuperger is a splendid one to beholdFrank Neuperger is a splendid one to beholdFrank Neuperger is a splendid one to beholdFrank Neuperger is a splendid one to beholdFrank Neuperger is a splendid one to beholdFrank Neuperger is a splendid one to behold
Re: Control FTC4314's robot over the web

Link to drive will not always be public. Too risky in terms of stall,burnout and damage to bot and its environment to leave it running. You can however watch on ustream and see team members driving via the web.

http://www.ustream.tv/channel/live-robot

From time to time we will make it available for driving by the public. The link will be posted in the ustream chat.

You can also look at the status of the Samantha system eg. batery voltages for the NXT as well as the main 12V battery... IP address of who is in control of the bot and a bunch of other stuff here.

Will post this address after we evaluate the security/damage risk.

On board video will be the next step.

FYI: ustream is delayed by 3+ seconds and is almost useless for control unless you are thinking hybrid mode like FRC 2008.

The video latency and frame rate on the driving applet was just improved by moving from grabbing individual jpegs to streaming motion jpeg. The camera is and axis207W. Very similar to the AXIS cam used for FRC.

THANKS

Thanks to John Toebes (creator of the FTC Samantha wireless control system) for providing the challenge of doing this... as well as providing information on protocol. So far we are really happy with the SAmantha system. We are FTC Rookies and the Samantha is apparently well received by other teams who suffered difficulties with the previous Bluetooth system.

HOW WE DID THIS

We had been thinking about this for a couple years now in terms of a web app for the general public. We had actually driven the FRC bot via wireless using the camera during the 2009 controls system beta test in partnership with team 842. It was basically the very first thing we did when we got the 2008 bot driving with the cRio. We never did get it running on the web though.

Then last Wed.on the Samantha Conference call with John Toebes I asked about getting access to the protocol for this purpose and John mentioned that some teams had talked about doing this but nothing had been accomplished yet. He agreed to provide some info on protocol. To keep it simple, we did not want to do a custom app on the bot but rather just have our over the WEB control system masquerade as an FCS.

I was not however able to contact John until Friday night but we (mostly Borna) started coding the Java applet Thursday night. On Saturday, using Wireshark we sniffed out the essence of the protocol in an hour and got that going (Borna remotely via screen sharing on skype) but could not sort out the initialization (related to the pairing process) that is used as part of the "security" to prevent unauthorized IP address form controlling the Samantha. FYI, the Samantha is WiFi. After a discussion with John on Saturday, he agreed to cut a version of the Samantha code that could be initialized in a mode that does not use the pairing and this allowed the Java applet that we had developed to run with almost no modification. We were driving over the WEB by midnight Saturday. Then we embedded the video into the JAva applet to make it even cleaner. Borna and Austin have been tweaking and polishing it since then.

One of the more difficult things was figuring out how to do a security certificate for the Java app so that it will run over the WEB. No problem developing on a LAN but as soon as the browser sees that it is on the open WEB, security precautions go up by some 30 dB.

We will get a writeup on either the Team 39 and/or the Team0x27 (NURC) web site.

Regards
Frank
Mentor
FRC Team 39
FTC 4314
NURC 0x27
__________________
======================
FRC 842
FTC 4314
Team 0x27 (NURC, Sparkfun AVC)
Formerly with FRC 39 (now in cryosleep).
Reply With Quote
  #11   Spotlight this post!  
Unread 14-10-2010, 18:53
davidthefat davidthefat is offline
Alumni
AKA: David Yoon
FRC #0589 (Falkons)
Team Role: Alumni
 
Join Date: Jan 2011
Rookie Year: 2010
Location: California
Posts: 792
davidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud of
Re: Control FTC4314's robot over the web

Its down, but how can you regulate how many people control it at one time? Do you even regulate that? What if we run over important stuff, or ram into the wall several time?
__________________
Do not say what can or cannot be done, but, instead, say what must be done for the task at hand must be accomplished.
Reply With Quote
  #12   Spotlight this post!  
Unread 14-10-2010, 19:27
Frank Neuperger Frank Neuperger is offline
Registered User
FRC #0842
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Gilbert, AZ
Posts: 90
Frank Neuperger is a splendid one to beholdFrank Neuperger is a splendid one to beholdFrank Neuperger is a splendid one to beholdFrank Neuperger is a splendid one to beholdFrank Neuperger is a splendid one to beholdFrank Neuperger is a splendid one to behold
Re: Control FTC4314's robot over the web

The applet that runs on your PC to give you the viewing window and the control buttons is part of the process of preventing additional connect requests to the bot if someone is already connected. The java applet on your machine checks the Samantha using http: (port 80) to see if anyone is connected to the Samantha already. This is the same status html page that has the battery voltages etc. If no one is connected yet, the applet on your browser continues and connects you to the robot. There may be a possible race condition in terms of second user attempting to connect but the ultimate back up mechanism that prevents more than one connection from being accepted is that the Samantha only allows one TCP connection on the control port (not the status port) anyway.

Will eventually do some sort of driver queuing system but it needs a server somewhere to act as the central memory keeping track of requests.... checking the blacklist etc. Probably one of the PC's here with the bot.

An update in the next couple days will put status info like battery voltage and current drivers IP address on the applet for people to watch as they are waiting to drive. It updates at ~ 1 Hz.

One of our hopes in doing this is that FRC or FTC will consider a Tele-present mode in addition to Autonomous and Tele-operated modes.

Regards
Frank
FTC 4314
FRC 39
NURC 0x27
__________________
======================
FRC 842
FTC 4314
Team 0x27 (NURC, Sparkfun AVC)
Formerly with FRC 39 (now in cryosleep).

Last edited by Frank Neuperger : 15-10-2010 at 01:27. Reason: polish
Reply With Quote
  #13   Spotlight this post!  
Unread 14-10-2010, 20:09
BornaE's Avatar
BornaE BornaE is offline
Registered User
FRC #0842 (Formerly 39)
Team Role: Engineer
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Gilbert, Arizona
Posts: 359
BornaE has a brilliant futureBornaE has a brilliant futureBornaE has a brilliant futureBornaE has a brilliant futureBornaE has a brilliant futureBornaE has a brilliant futureBornaE has a brilliant futureBornaE has a brilliant futureBornaE has a brilliant futureBornaE has a brilliant futureBornaE has a brilliant future
Re: Control FTC4314's robot over the web

The robot is back online for a while.

http://team0x27.org/robot/
__________________
-Borna Emami
Team 0x27
Reply With Quote
  #14   Spotlight this post!  
Unread 14-10-2010, 21:11
davidthefat davidthefat is offline
Alumni
AKA: David Yoon
FRC #0589 (Falkons)
Team Role: Alumni
 
Join Date: Jan 2011
Rookie Year: 2010
Location: California
Posts: 792
davidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud of
Re: Control FTC4314's robot over the web

It has no real purpose, I would call it novelty LOL. But congratulations to you guys
__________________
Do not say what can or cannot be done, but, instead, say what must be done for the task at hand must be accomplished.
Reply With Quote
  #15   Spotlight this post!  
Unread 14-10-2010, 22:28
Brandon_L Brandon_L is offline
The color orange triggers me
AKA: Brandon Liatys
FRC #2180 (Zero Gravity)
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2007
Location: Newark, NJ
Posts: 1,191
Brandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond repute
Re: Control FTC4314's robot over the web

Amazing. Sorry I drove it off the side of the ramp
__________________
FRC 2495 - Hamilton West Robotics [2007-2014]
FRC 3929 - Atomic Dragons [2012-2013]
FRC 2180 - Zero Gravity [2017-]

Just trying to collect all the possible team colors
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Do we have to ship the control system along with the robot on Tuesday? tennisbeast29 Rules/Strategy 3 14-02-2009 13:39
Throwning the ball over the over Pass eastsideboma Rules/Strategy 16 15-01-2008 12:56
Have you ever wanted to drive a robot over the internet? kE7JLM Programming 5 05-11-2007 20:17
Why do my best robot design ideas always come when the season is almost over? Elgin Clock General Forum 16 10-05-2007 13:11
Passing Ringers to Robot over the Wall nautica Rules/Strategy 15 01-03-2007 14:52


All times are GMT -5. The time now is 12:37.

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