View Full Version : Official Sensor/GUI Link Thread
Tom Bottiglieri
09-01-2005, 11:57
I have not been able to come across anything concerning the scripting tools, or the gyro that Dave said would be used on the bot.
Could people who know where to find info about the various sensors, and how to program them (either in the IDE or with the scripting) post links to that info in this thread?
Heres what info I have found about the camera. This includes 3 PDF's explaining how to wire, program, and calibrate the camera. It also includes a GUI that calibrates the camera, in compiled and non compiled source form. Lastly, it includes the default code for the robot, with camera capabilities.
http://www.ifirobotics.com/docs/cmucam2-documents-and-software1.zip
Also, please keep discussion of the sensors to a minimum, in order to make it easier for people to look here and find links.. rather than search 5 page long threads in false hope to find something.
After Looking around, i realized that we do not get a gyro in the KOP. Just trying to clear up any confusion my initial post may have made
[EDIT x2] Ive seen numerous posts about finding the scripting software, but not one link or helpful post!! Please read this!!! (http://www.chiefdelphi.com/forums/showthread.php?t=23802) thanks. [/EDIT x2]
Heres MPLAB 7.0
Link (http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=1406&dDocName=en019469&part=SW007002)
Yeah... quite similar topic here... but where is the "uncrippled" compiler we are supposed to get? No links on usfirst.org, or innovationfirst.com...
Search before you post... this thread was just three posts below yours on the portal.
http://www.chiefdelphi.com/forums/showthread.php?threadid=32219
KVermilion
09-01-2005, 13:09
thanks...
ftp.microchip.com is down or at least the password/username FIRST was using in that link...
There is a mirror in that thread, though.
tfedullo
09-01-2005, 13:56
i have the new complier, where are these scripting tools?? are the built in? if so how do u access them
Hey guys, how are you?
Have you been able to find something about the built in PID that was mentioned and the "walk, turn" commands that were also mentioned?
I'm looking for info on those like crazy, but i can't seem to find anything
I haven't opened the kit yet, we didn't receive it here in Brazil, it’ll only come on Monday.
Thanks, sorry for the Bad English
LBK Rules
09-01-2005, 14:10
I have been unable to find any PID information, let alone the scripting tools anywhere.
Has anyone mentioned this to FIRST?
Astronouth7303
09-01-2005, 16:36
I think I found the so called repository, but it's empty at the moment. (http://www.usfirst.org/robotics/2005/frc_supplemental_software/)
As for the scripting, I don't know. And I also seem unable to locate user_routines_DDT.c and user_routines_fast_DDT.c (as are referenced in FrcCode.dsp). What's a Visual C++ 6 project doing in the FRC default code?
Dave? Where is everything? I thought this was your idea.
Jay Lundy
09-01-2005, 16:37
Just a warning on the accelerometer in the kit.
The connector, while it fits, is misleading. The red wire is actually ground and the black wire is Vcc. The signal wire is correct.
The datasheet on FIRST's website has the correct pinout.
Have you been able to find something about the built in PID that was mentioned and the "walk, turn" commands that were also mentioned?
I haven't opened the kit yet, we didn't receive it here in Brazil, it’ll only come on Monday.
I didn't see anything in the kit, either.
And I also seem unable to locate user_routines_DDT.c and user_routines_fast_DDT.c (as are referenced in FrcCode.dsp).
The user_routines_DDT.c and user_routines_fast_DDT.c is in a *.zip file with the CMUcam2 information. It is in the IFI site at http://www.ifirobotics.com/docs/cmucam2-documents-and-software1.zip.
tfedullo
09-01-2005, 21:34
this might be something
http://kevin.org/frc/
It's there at http://kevin.org/frc
Th PID controler and everything else
I'm just wondering what Encoder and What Gyro we should use for it to work properly
I haven't had enough time to look at the software, but I know that it's the one we've been looking for
Jesse Johnson
10-01-2005, 03:05
Tom,
The zipped file (at the link you posted) contains Java Class files, Java source and some DLLs. How does this fit into the scripting scenario that was discussed at the kick-off?
Jesse Johnson
LBK Rules
10-01-2005, 12:17
I belive that's for the calibration of the camera.
I don't belive the scripting software is out yet. :(
The Java stuff is a cool program that will display what the camera is seeing and is used as mentioned above for the calibration. Your PC can connect the comm port to a 9 pin D connector on the camera module.
Regards,
Chuck
emusteve
12-01-2005, 14:26
The Java stuff is a cool program that will display what the camera is seeing and is used as mentioned above for the calibration. Your PC can connect the comm port to a 9 pin D connector on the camera module.
Regards,
Chuck
The problem I ran into last night is that it requires a LOT of horsepower! I tried running on a PII/300 and frame capture would fail. Tried a PIII/500, with the same result. Had to go to my VIAO with the P4 before it would run. Anyone else had such a problem with it? (Yes, I downloaded Java from the SUN website and had installed it in all cases.)
The images looked awfull! (green) Tried with white balance on, and they looked blue. in both cases colors were very muted. It had a hard time locking on to a yellow shape on a dark background. I'm worried about the lighting this thing is going to require, and conditions on the field.
Steve
viewtyjoe
13-01-2005, 08:31
Last night, aside from difficulties focusing the camera, our camera's images looked pretty good after turning on white balance for a couple frames. However, it seemed that when we used the tracking function, it seemed to lock onto whatever was in the center of the camera's field of vision to determine what color to track. For example, I held up the backup battery in front of the camera, set it to track blue, and the camera showed my hand as being more blue than the backup battery case. Any ideas on why that happened?
The problem I ran into last night is that it requires a LOT of horsepower! I tried running on a PII/300 and frame capture would fail. Tried a PIII/500, with the same result. Had to go to my VIAO with the P4 before it would run. Anyone else had such a problem with it? (Yes, I downloaded Java from the SUN website and had installed it in all cases.)
Steve
We have the CMUcam2 software on a PI/Celeron 500mhz laptopw/ win98SE, and the only thing that doesn't work is the grab frame because the sofware was witten for 1024x768 and the laptop only supports 800x600. Did you make sure your serial port was configured correctly in all cases?
emusteve
16-01-2005, 01:34
We have the CMUcam2 software on a PI/Celeron 500mhz laptopw/ win98SE, and the only thing that doesn't work is the grab frame because the sofware was witten for 1024x768 and the laptop only supports 800x600. Did you make sure your serial port was configured correctly in all cases?
Yes, the serial port is correct, but the screen resolution may be a clue. I wish the CMU guys would realize that not everyone has a big screen. I have the same limitation on my laptop as well. Makes me wonder what we're going to do when we get to the regional.
Thanks for the info.
Steve
The java program seems to have an unbeleiveably annoying tendency to freeze. It has frozen on both my computers at home, in addition to two computers at school. We were going to run it on our awesome alienware laptop, but the usb transfer stick went nuts on us and our network is so screwed up we didnt even bother trying to use that.
Hey guys, how are you?
Have you been able to find something about the built in PID that was mentioned and the "walk, turn" commands that were also mentioned?
I'm looking for info on those like crazy, but i can't seem to find anything
I haven't opened the kit yet, we didn't receive it here in Brazil, it’ll only come on Monday.
Thanks, sorry for the Bad English
If you look in command.h, you'll find the list of commands and their parameters. Then look in robot.c and you'll see how the commands are executed.
Jon Mittelman
vBulletin® v3.6.4, Copyright ©2000-2017, Jelsoft Enterprises Ltd.