Go to Post I would like to know the team simply because it seems they could use a hug. - Taylor [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 Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 24-09-2008, 21:42
Sykan's Avatar
Sykan Sykan is offline
Lead Programmer
AKA: David
FRC #0540 (Team 540)
Team Role: Engineer
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Virginia
Posts: 24
Sykan is on a distinguished road
Control Robot with Computer

Hello,
I was wondering if there was a program out there that could use a computer interface to control a 2008 robot's vecs and relays to test connections. I know easy c had one of these programs called on-line window. Are there any others?

Thanks in advanced,

~David E
  #2   Spotlight this post!  
Unread 24-09-2008, 23:17
RyanCahoon's Avatar
RyanCahoon RyanCahoon is offline
Disassembling my prior presumptions
FRC #0766 (M-A Bears)
Team Role: Engineer
 
Join Date: Dec 2007
Rookie Year: 2007
Location: Mountain View
Posts: 689
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: Control Robot with Computer

Since the IFI Robot Controller is pretty much a custom design, you have to use software that's designed to interface with it. That leaves you with a choice of EasyC, making your own program to interface with the serial port in MPLAB, or using the ROBOTC product that was released this year (I'm not sure if there's any premade solutions like EasyC or if you would still have to make your own). If you want to pursue creating your own control over serial console, take a look at Kevin Watson's camera code from 2007 (get the "bells and whistles" version); it has a demonstration of a simple menu-based console.

--Ryan
__________________
FRC 2046, 2007-2008, Student member
FRC 1708, 2009-2012, College mentor; 2013-2014, Mentor
FRC 766, 2015-, Mentor
  #3   Spotlight this post!  
Unread 25-09-2008, 16:09
dtengineering's Avatar
dtengineering dtengineering is offline
Teaching Teachers to Teach Tech
AKA: Jason Brett
no team (British Columbia FRC teams)
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2004
Location: Vancouver, BC
Posts: 1,833
dtengineering has a reputation beyond reputedtengineering has a reputation beyond reputedtengineering has a reputation beyond reputedtengineering has a reputation beyond reputedtengineering has a reputation beyond reputedtengineering has a reputation beyond reputedtengineering has a reputation beyond reputedtengineering has a reputation beyond reputedtengineering has a reputation beyond reputedtengineering has a reputation beyond reputedtengineering has a reputation beyond repute
Re: Control Robot with Computer

You might find it interesting to get in touch with the people working on this project at the VEX forum.

The VEX and FRC robot controllers are quite similar and it sounds like you both have similar goals in mind.

Jason
  #4   Spotlight this post!  
Unread 25-09-2008, 16:14
Andrew Schreiber Andrew Schreiber is offline
Joining the 900 Meme Team
FRC #0079
 
Join Date: Jan 2005
Rookie Year: 2000
Location: Misplaced Michigander
Posts: 4,080
Andrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond repute
Re: Control Robot with Computer

Also, I am not 100% sure, and I cant check right now, but there is an option in IFI loader that lets you check registers and such, I also recall seeing an option letting me move PWMs around... Can't recall where. Check around in IFI loader.

The above may be VERY wrong, I just had a glance at something while i was trying to solve a problem. No promises.
__________________




.
  #5   Spotlight this post!  
Unread 27-09-2008, 23:23
MarkO's Avatar
MarkO MarkO is offline
Registered User
AKA: Mark D. Overholser
FRC #0957 (WATSON Robotics team)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Albany, Oregon, USA
Posts: 17
MarkO is an unknown quantity at this point
Re: Control Robot with Computer

Quote:
Originally Posted by Sykan View Post
Hello,
I was wondering if there was a program out there that could use a computer interface to control a 2008 robot's vecs and relays to test connections. I know easy c had one of these programs called on-line window. Are there any others?

Thanks in advanced,

~David E
Hello, I am the one who Reverse Engineered the Vex On-Line Code for EasyC 2.x, mainly because more users of Vex seem to have Version 2.x, but also because the Vex version of the On-Line Code for EasyC Pro seems broken (see Post 23).

Have you tried the FRC On-Line Code and On-Line Window in EasyC Pro (v3.0)??

I don't have access to the FRC Controller right now, but you might load up the FRC On-Line Code and On-Line Window in EasyC Pro and see what Inputs and Outputs do what.
Better yet would be get a LOG of the Data coming from the FRC Robot Controller. You can do that by making a "Serial Port Sniffer", or to load the FRC On-Line Code and On-Line Window in EasyC Pro, get it it communicating, then Use the Task Manager to kill the EasyC On-Line Window and Load a Serial Terminal Program, with settings at 115200, 8N1. Don't close the On-Line Window with the "Close" Button or the Exit, because it will send the Stop Command to the FRC Controller (I assume this because it does to the Vex Controller).

I can easily merge the changes I made to the Vex Default Code to the FRC Default Code and change it to the EasyC Pro style messages, but I don't know if the Data Format is correct.
  #6   Spotlight this post!  
Unread 28-09-2008, 01:13
MarkO's Avatar
MarkO MarkO is offline
Registered User
AKA: Mark D. Overholser
FRC #0957 (WATSON Robotics team)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Albany, Oregon, USA
Posts: 17
MarkO is an unknown quantity at this point
Re: Control Robot with Computer

Quote:
Originally Posted by dtengineering View Post
You might find it interesting to get in touch with the people working on this project at the VEX forum.

The VEX and FRC robot controllers are quite similar and it sounds like you both have similar goals in mind.

Jason

Thanks for the "plug". Communication between Computer Devices is an area that really interests me, that is what I do at my Day Job, and I find it a most interesting area of Computer Science.

I put a "call out" to the people that were interested in making a PC Program to control the Vex(and FRC) robot (see Does anyone have a PC program to work with the Vex On-Line Code?).

With Source Code for the Vex (and FRC) Controller and the PC, just about anything can be accomplished.
Windows seems to main platform of interest, but I have talked with Mac Users interested in developing a Control Program as well.

Last edited by MarkO : 28-09-2008 at 01:18.
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Re-Install Windows with Inventor on Computer DMetalKong Inventor 3 03-06-2008 08:14
Attn: People talented with computer programs Jevin H Chit-Chat 2 05-12-2007 14:16
Using a computer to control the pic mikesown Programming 6 13-09-2005 19:13
Computer with multiple hard drives question. Elgin Clock Technical Discussion 2 03-12-2004 11:41
Computer control maDGag Programming 1 27-12-2002 01:13


All times are GMT -5. The time now is 01:13.

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