Go to Post If this isn't filmed in a Tim Hortons then I'm going to be severely disappointed. - marshall [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 08-01-2005, 15:57
schenkin schenkin is offline
Registered User
#0486
 
Join Date: Jan 2005
Location: Strath Haven High School
Posts: 17
schenkin is on a distinguished road
Autonomous Commands Promised in Kickoff

In the kickoff we where promised either seperate commands or scripts for autonomous mode. In particular, code to interface with the camera. Does anyone know where I can get that or if it is even out?

Programmer
Team 486
  #2   Spotlight this post!  
Unread 08-01-2005, 16:03
kaszeta's Avatar
kaszeta kaszeta is offline
Registered User
FRC #0095 (Grasshoppers)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2002
Location: Lebanon, NH
Posts: 334
kaszeta is a glorious beacon of lightkaszeta is a glorious beacon of lightkaszeta is a glorious beacon of lightkaszeta is a glorious beacon of lightkaszeta is a glorious beacon of light
Re: Autonomous Commands Promised in Kickoff

Quote:
Originally Posted by schenkin
In the kickoff we where promised either seperate commands or scripts for autonomous mode. In particular, code to interface with the camera. Does anyone know where I can get that or if it is even out?

Programmer
Team 486
http://www.ifirobotics.com/camera.shtml has the "getting started" zip file which includes the camera manual and FRC code.
  #3   Spotlight this post!  
Unread 08-01-2005, 18:27
stephenthe1 stephenthe1 is offline
Registered User
#1008
 
Join Date: Dec 2004
Location: Ohio
Posts: 113
stephenthe1 is on a distinguished road
Re: Autonomous Commands Promised in Kickoff

where do you get info on the scripting commands? is there going to be a program to do this with. It seems that it will be a program that you write the scripts and then the program writes the c code for you. but I don't know where it is.
  #4   Spotlight this post!  
Unread 09-01-2005, 15:47
stephenthe1 stephenthe1 is offline
Registered User
#1008
 
Join Date: Dec 2004
Location: Ohio
Posts: 113
stephenthe1 is on a distinguished road
Re: Autonomous Commands Promised in Kickoff

I was using the simulator option in mplab, and it gave me this error like 100 times in a row, and then stopped simulating. "UART-W0001: Overrun, write occured over a full TXREG SFR. Data lost". though, there was one error before all those errors that said "UART-W0006: Receive file has no data or failed to attach when UART receive mode Enabled." the line of code it pointed to was printf_lib.h. anybody know what's wrong with this? it pointed me to a place in a file that had this line of code
" Wait4TXEmpty();". any help would be appreciated.

Last edited by stephenthe1 : 09-01-2005 at 15:50.
  #5   Spotlight this post!  
Unread 09-01-2005, 16:23
TimeOut's Avatar
TimeOut TimeOut is offline
Registered User
AKA: Sean Kelly
FRC #0499 (The Toltechs)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2004
Location: San Antonio, TX
Posts: 50
TimeOut is on a distinguished road
Re: Autonomous Commands Promised in Kickoff

Quote:
Originally Posted by stephenthe1
I was using the simulator option in mplab, and it gave me this error like 100 times in a row, and then stopped simulating. "UART-W0001: Overrun, write occured over a full TXREG SFR. Data lost". though, there was one error before all those errors that said "UART-W0006: Receive file has no data or failed to attach when UART receive mode Enabled." the line of code it pointed to was printf_lib.h. anybody know what's wrong with this? it pointed me to a place in a file that had this line of code
" Wait4TXEmpty();". any help would be appreciated.
It is trying to communicate through the serial port (even in sim mode) to which nothing is connected. It's expecting to see some data and there is none to see so you are getting the error. You shouldn't see this when you connect up the RC and Camera.

Sean
  #6   Spotlight this post!  
Unread 09-01-2005, 16:31
CJO's Avatar
CJO CJO is offline
Emeritus Pain in the $@#$@#$@#
AKA: Christopher J. O'Connell
None #1097 (Site 3 Engineering)
Team Role: Alumni
 
Join Date: Feb 2003
Location: Latrobe (over the rainbow), CA
Posts: 217
CJO will become famous soon enoughCJO will become famous soon enough
Re: Autonomous Commands Promised in Kickoff

Ok, I am trying to compile the default FRC code in MPLAB 7 with the C18 v 2.4 compiler.

I added Kevin Watsons Serial Ports, Printf, Interrupts, and Encoder files. After every file I added, I called them in all the right places, and built all, with no errors.

Then I added the CORDIC math libraries and built, no problem.

Then I added the camera serial driver files and got a build error:
Error - could not find definition of symbol 'Serial_Char_Callback' in file 'C:\Documents and Settin. . .base\user_SerialDrv.o'.
Errors : 1

The funny thing is, I removed the files I had just added, and the error persisted, in a build which had worked 5 minutes before.

Thoughts?
__________________
Team 1097 -- Site 3 Engineering
~~~~~~~~~~~~~~~~~~~~
2003 Sacramento Rookie All Star
2003 Silicon Valley Rookie All Star
2004 Sacramento Engineering Inspiration Award
2004 Sacramento Visualization Award
2004 Outstanding Volunteer Award (G. Glasser)
2004 Silicon Valley Sportsmanship Award
2004 National Visualization Runner Up
2004 Cal Games Finalist
2005 Sacramento Sportsmanship Award
2005 Sacramento #1 seed
2005 Sacramento Finalist

2005 Silicon Valley Sportsmanship Award
2005 Silicon Valley #1 Seed
2005 Silicon Valley Finalist

  #7   Spotlight this post!  
Unread 09-01-2005, 16:55
doyler doyler is offline
Rookie / Programmer
#0900 (Infinity)
Team Role: Programmer
 
Join Date: Oct 2004
Rookie Year: 2005
Location: Durham
Posts: 87
doyler is an unknown quantity at this point
Re: Autonomous Commands Promised in Kickoff

Where do we get MPLAB 7?
__________________
  #8   Spotlight this post!  
Unread 09-01-2005, 16:59
LBK Rules's Avatar
LBK Rules LBK Rules is offline
1467 '06 Alumni
AKA: Anthony Rinaldi
no team (HSRO)
Team Role: Alumni
 
Join Date: Dec 2002
Rookie Year: 2003
Location: Henrico, VA
Posts: 438
LBK Rules will become famous soon enoughLBK Rules will become famous soon enough
Re: Autonomous Commands Promised in Kickoff

I think you can get it from here:

http://www.microchip.com/stellent/id...ame =en019469
__________________
Anthony Rinaldi
Team 1132: 2003
Team 1467: 2004 - 2006
  #9   Spotlight this post!  
Unread 09-01-2005, 17:01
Tom Bottiglieri Tom Bottiglieri is offline
Registered User
FRC #0254 (The Cheesy Poofs)
Team Role: Engineer
 
Join Date: Jan 2004
Rookie Year: 2003
Location: San Francisco, CA
Posts: 3,188
Tom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond repute
Re: Autonomous Commands Promised in Kickoff

Quote:
Originally Posted by doyler
Where do we get MPLAB 7?
http://www.chiefdelphi.com/forums/sh...689#post315689
  #10   Spotlight this post!  
Unread 15-01-2005, 22:30
neilsonster's Avatar
neilsonster neilsonster is offline
Registered User
AKA: Andrew Neilson
FRC #0772 (Sabre Bytes)
Team Role: College Student
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Waterloo, ON, Canada
Posts: 188
neilsonster is a name known to allneilsonster is a name known to allneilsonster is a name known to allneilsonster is a name known to allneilsonster is a name known to allneilsonster is a name known to all
Send a message via MSN to neilsonster
Re: Autonomous Commands Promised in Kickoff

Are encoders required for the given automous commands to work?
  #11   Spotlight this post!  
Unread 16-01-2005, 05:16
jparkteach's Avatar
jparkteach jparkteach is offline
Registered User
FRC #2070 (Ridgefield Robotics)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2001
Location: New York City, NY
Posts: 63
jparkteach is a splendid one to beholdjparkteach is a splendid one to beholdjparkteach is a splendid one to beholdjparkteach is a splendid one to beholdjparkteach is a splendid one to beholdjparkteach is a splendid one to behold
Send a message via AIM to jparkteach
Re: Autonomous Commands Promised in Kickoff

In essence, YES! I'm not sure, however, if the Hall Effect Sensors could be used instead...
  #12   Spotlight this post!  
Unread 16-01-2005, 08:58
Mr. Lim Mr. Lim is offline
Registered User
AKA: Mr. Lim
no team
Team Role: Leadership
 
Join Date: Jan 2004
Rookie Year: 1998
Location: Toronto, Ontario
Posts: 1,125
Mr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond repute
Re: Autonomous Commands Promised in Kickoff

Quote:
Originally Posted by neilsonster
Are encoders required for the given automous commands to work?
I posted about this here

and Kevin Watson's response is here

Yes, you require them if you don't want to modify the code. No, you can use the Hall effect gear tooth sensors if you modify the code slightly to garner direction information from which way you're running the motors.

-SlimBoJones...
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
First Year Team Assistance - MOEmentum: FYI Mr MOE General Forum 0 07-01-2005 14:07
**FIRST EMAIL**/Important Manchester Kickoff Information Rich Wong FIRST E-Mail Blast Archive 4 21-12-2004 17:02
Qotw [11-17-02]: Manchester or remote kickoff... Ken Leung Rumor Mill 19 09-01-2004 16:18
autonomous mode problem on field Chris_C Programming 17 26-03-2003 19:11


All times are GMT -5. The time now is 03:06.

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