Go to Post [Hints] usually come out right before Christmas. Be patient, and go do something else with your life while you still have time! - Libby K [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 19-02-2008, 00:12
Culvan Van Li's Avatar
Culvan Van Li Culvan Van Li is offline
Jack-Of-All-Trades
AKA: Andy
FRC #1939 (Kuh-Nig-Its)
Team Role: Engineer
 
Join Date: Sep 2006
Rookie Year: 2006
Location: Kansas City, MO
Posts: 36
Culvan Van Li is on a distinguished road
Debugging Help

Our team ran out of time for testing the autonomous code this year. It seems to work great while the robot is on blocks but when it actually starts running around on the ground we can't tell why it is making the decisions that it is.

Anyhow it's clear that we will have to fine tune the code during practice matches. We need some way to gather data from the robot while it's in autonomous mode and driving around on the field. I believe we can use the dashboard port, but it looks like it's more complex than just using the printf commands we've been using through the program port. Furthermore, since we will have to stand back from the OI during auto mode we may have trouble seeing what it is doing. I'd like it to log the results so we can review them between rounds. My preference would be to use a terminal emulator with a capture buffer to keep all the information.

The short version is we need help with the following:
1) How do we code it so particular variable information comes out of the dashboard port.
2) Where is the OI/RC jumper in the manual. I won't have access to the OI again until the regional so I'd like to make sure I know where it is. The diagram in the OI reference guide doesn't show the jumper. The picture on IFI's website seems to show something between the Dashboard port and port 1. is that the jumper?
3) Apart from custom written software, is there a way to log the output of the dashboard port?

Andy
 


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
Pascal-like language debugging? indieFan Programming 3 17-05-2007 02:43
printf/debugging yogibear Programming 1 16-11-2006 20:08
Wireless programming and debugging link heydowns Programming 2 23-01-2006 21:39
Making Debugging Easier dm0ney Programming 18 10-04-2005 23:32
Dynamic Debugging Tool MarkVH Programming 5 04-02-2005 18:09


All times are GMT -5. The time now is 17:51.

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