Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Autonomous Commands Promised in Kickoff (http://www.chiefdelphi.com/forums/showthread.php?t=32251)

schenkin 08-01-2005 15:57

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

kaszeta 08-01-2005 16:03

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.

stephenthe1 08-01-2005 18:27

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.

stephenthe1 09-01-2005 15:47

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.

TimeOut 09-01-2005 16:23

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

CJO 09-01-2005 16:31

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?

doyler 09-01-2005 16:55

Re: Autonomous Commands Promised in Kickoff
 
Where do we get MPLAB 7?

LBK Rules 09-01-2005 16:59

Re: Autonomous Commands Promised in Kickoff
 
I think you can get it from here:

http://www.microchip.com/stellent/id...ame =en019469

Tom Bottiglieri 09-01-2005 17:01

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

neilsonster 15-01-2005 22:30

Re: Autonomous Commands Promised in Kickoff
 
Are encoders required for the given automous commands to work?

jparkteach 16-01-2005 05:16

Re: Autonomous Commands Promised in Kickoff
 
In essence, YES! I'm not sure, however, if the Hall Effect Sensors could be used instead...

Mr. Lim 16-01-2005 08:58

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...


All times are GMT -5. The time now is 02:48.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi