Go to Post One day the code will be written first, and then a robot built around it - dag0620 [more]
Home
Go Back   Chief Delphi > Old Forum Archives > 2000
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 23-06-2002, 22:56
archiver archiver is offline
Forum Archival System
#0047 (ChiefDelphi)
 
Join Date: May 2001
Location: Pontiac, MI
Posts: 21,214
archiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond repute
dashboard data stream

Posted by Thomas Grupp.

Engineer on team #378, Circuit Stompers, from Newfane High School and Delphi Automotive Systems.

Posted on 1/31/2000 10:01 AM MST



Does anybody know how to modify the data stream for the dashboard port. I would like to
monitor the x-axis for ports 1 and 3. Can this even be done?

Thanks!

Tom Grupp
Team #378


__________________
This message was archived from an earlier forum system. Some information may have been left out. Start new discussion in the current forums, and refer back to these threads when necessary.
  #2   Spotlight this post!  
Unread 23-06-2002, 22:56
archiver archiver is offline
Forum Archival System
#0047 (ChiefDelphi)
 
Join Date: May 2001
Location: Pontiac, MI
Posts: 21,214
archiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond repute
Re: dashboard data stream

Posted by Nate Smith.

Other on team #66, GM Powertrain/Willow Run HS, from Eastern Michigan University and GM Powertrain.

Posted on 1/31/2000 10:38 AM MST


In Reply to: dashboard data stream posted by Thomas Grupp on 1/31/2000 10:01 AM MST:



As far as I know, it cannot be done...except for the 8 robot feedback lights, the information is fixed. However, if you rewire the connections in your joysticks, you can move the x-axis to one that is monitored(i.e. move the x-axis on port 1 to the wheel pin.)

Nate
__________________
This message was archived from an earlier forum system. Some information may have been left out. Start new discussion in the current forums, and refer back to these threads when necessary.
  #3   Spotlight this post!  
Unread 23-06-2002, 22:56
archiver archiver is offline
Forum Archival System
#0047 (ChiefDelphi)
 
Join Date: May 2001
Location: Pontiac, MI
Posts: 21,214
archiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond repute
Re: dashboard data stream

Posted by Joe Ross.   [PICTURE: SAME | NEW | HELP]


Coach on team #330, Beach Bot II, from Hope Chapel Academy and NASA/JPL, NASA ARC.

Posted on 1/31/2000 12:05 PM MST


In Reply to: Re: dashboard data stream posted by Nate Smith on 1/31/2000 10:38 AM MST:



correct me if I'm wrong, but couldn't you, in the control program, set one of the monitored sensors equal to the joystick axis you want to monitor?

I don't have the code in front of me, but I think this would work.

Joe Ross

--Children think creatively. Engineers are big children--


__________________
This message was archived from an earlier forum system. Some information may have been left out. Start new discussion in the current forums, and refer back to these threads when necessary.
  #4   Spotlight this post!  
Unread 23-06-2002, 22:56
archiver archiver is offline
Forum Archival System
#0047 (ChiefDelphi)
 
Join Date: May 2001
Location: Pontiac, MI
Posts: 21,214
archiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond repute
Re: dashboard data stream

Posted by Nate Smith.

Other on team #66, GM Powertrain/Willow Run HS, from Eastern Michigan University and GM Powertrain.

Posted on 1/31/2000 3:57 PM MST


In Reply to: Re: dashboard data stream posted by Joe Ross on 1/31/2000 12:05 PM MST:



I don't know for sure, but since the direct sensor outputs are not output by the control program, I'm assuming that the analog inputs on the robot are sent directly to the OI without going through the user program. So, in order to do this, you'd have to figure out a way to wire one of the PWM outputs to one of the analog inputs on the RC. It does not appear to be able to be done through the control program.

Nate

__________________
This message was archived from an earlier forum system. Some information may have been left out. Start new discussion in the current forums, and refer back to these threads when necessary.
  #5   Spotlight this post!  
Unread 23-06-2002, 22:56
archiver archiver is offline
Forum Archival System
#0047 (ChiefDelphi)
 
Join Date: May 2001
Location: Pontiac, MI
Posts: 21,214
archiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond repute
Re: dashboard data stream..consider this!!

Posted by Rick Berube.

Engineer on team #121, Rhode Warriors, from Middletown H.S..

Posted on 2/1/2000 11:32 PM MST


In Reply to: Re: dashboard data stream posted by Nate Smith on 1/31/2000 3:57 PM MST:



: I don't know for sure, but since the direct sensor outputs are not output by the control program, I'm assuming that the analog inputs on the robot are sent directly to the OI without going through the user program. So, in order to do this, you'd have to figure out a way to wire one of the PWM outputs to one of the analog inputs on the RC. It does not appear to be able to be done through the control program.

: Nate

While I agree with Nate that it would be difficult to use the digital inputs for this purpose, perhaps there is a better way to control up to 9 bits which get transmitted back to the OI. All of these bits are also available at the Dashboard port.

The Innovation First Dashboard Spec. calls out a BASIC byte (byte 20 in the stream). It appears as though this byte (which controls the feed back LEDs on the OI panel) is completely under the control of your PBasic program. Stamp pins 7-15 I believe are collected by the Master CPU on the RC and forwarded onto the OI. The ninth bit, Bit6 of AUX_byte (Basic Run), is available in byte 26 of the stream. I haven't tried this myself yet, as I am only now realizing this. But if I'm correct, you have 9 bits at you program's disposal to use anyway you like (provided you don't mind the strobe effect of teh LEDs on your OI panel).

Yet another option might be to use the Debug statement and another pair of RF modems (using a different frequency from Innovation FIRST equipment of course). Attaching to the PC/Programming interface of the RC you might be able to do this. Just keep in mind that even if this works, it is an expensive solution (time wise at least), as it defaults to 9600 baud. You'll also want to isolate all the RC's ignals with the exception Tx and Gnd signals to ensure your modem handshake signals don't accidently reset the StampIIsx or possibly echo them back (the StampII uses a parasitic transistor arrangement, and we don't know what's under the RC's hood). Of course you'll need a PC program and RF modem on the other end to read the data from the serial port and display/save it to disk.

Nate, do you know of anyone with such a program available?



Regards,

Rick





__________________
This message was archived from an earlier forum system. Some information may have been left out. Start new discussion in the current forums, and refer back to these threads when necessary.
  #6   Spotlight this post!  
Unread 23-06-2002, 22:56
archiver archiver is offline
Forum Archival System
#0047 (ChiefDelphi)
 
Join Date: May 2001
Location: Pontiac, MI
Posts: 21,214
archiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond repute
Re: dashboard data stream..consider this!!

Posted by Nate Smith.

Other on team #66, GM Powertrain/Willow Run HS, from Eastern Michigan University and GM Powertrain.

Posted on 2/2/2000 10:13 AM MST


In Reply to: Re: dashboard data stream..consider this!! posted by Rick Berube on 2/1/2000 11:32 PM MST:



: : I don't know for sure, but since the direct sensor outputs are not output by the control program, I'm assuming that the analog inputs on the robot are sent directly to the OI without going through the user program. So, in order to do this, you'd have to figure out a way to wire one of the PWM outputs to one of the analog inputs on the RC. It does not appear to be able to be done through the control program.

: : Nate

: While I agree with Nate that it would be difficult to use the digital inputs for this purpose, perhaps there is a better way to control up to 9 bits which get transmitted back to the OI. All of these bits are also available at the Dashboard port.

: The Innovation First Dashboard Spec. calls out a BASIC byte (byte 20 in the stream). It appears as though this byte (which controls the feed back LEDs on the OI panel) is completely under the control of your PBasic program. Stamp pins 7-15 I believe are collected by the Master CPU on the RC and forwarded onto the OI. The ninth bit, Bit6 of AUX_byte (Basic Run), is available in byte 26 of the stream. I haven't tried this myself yet, as I am only now realizing this. But if I'm correct, you have 9 bits at you program's disposal to use anyway you like (provided you don't mind the strobe effect of teh LEDs on your OI panel).

: Nate, do you know of anyone with such a program available?

:

: Regards,

: Rick

Rick (and everybody else),
I don't know of anyone who has actually accomplished this, but I do know of someone who was going to attempt it. Based on this, I was thinking of modifying the OCX to make it possible to retrieve these bits as an Integer value...

Is there enough demand for that? If so, I'll code the update and release it...

Nate



__________________
This message was archived from an earlier forum system. Some information may have been left out. Start new discussion in the current forums, and refer back to these threads when necessary.
  #7   Spotlight this post!  
Unread 23-06-2002, 22:56
archiver archiver is offline
Forum Archival System
#0047 (ChiefDelphi)
 
Join Date: May 2001
Location: Pontiac, MI
Posts: 21,214
archiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond repute
Re: dashboard data stream..consider this!!

Posted by Rick Berube.

Engineer on team #121, Rhode Warriors, from Middletown H.S..

Posted on 2/2/2000 12:12 PM MST


In Reply to: Re: dashboard data stream..consider this!! posted by Nate Smith on 2/2/2000 10:13 AM MST:




: Rick (and everybody else),
: I don't know of anyone who has actually accomplished this, but I do know of someone who was going to attempt it. Based on this, I was thinking of modifying the OCX to make it possible to retrieve these bits as an Integer value...

: Is there enough demand for that? If so, I'll code the update and release it...

: Nate

YOU BET THERE IS NATE! Count me in on this one.

The reason our team requested robot feedback in the first place was to be able to obtain test data from a moving robot. Not only sensor data but data from our algorithms and the output we command.

If this works, I'm sure your software will be put to good use....'If you you write it, they will come!!'



Regards,

Rick


__________________
This message was archived from an earlier forum system. Some information may have been left out. Start new discussion in the current forums, and refer back to these threads when necessary.
  #8   Spotlight this post!  
Unread 23-06-2002, 22:56
archiver archiver is offline
Forum Archival System
#0047 (ChiefDelphi)
 
Join Date: May 2001
Location: Pontiac, MI
Posts: 21,214
archiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond repute
It's on its way...

Posted by Nate Smith.

Other on team #66, GM Powertrain/Willow Run HS, from Eastern Michigan University and GM Powertrain.

Posted on 2/2/2000 3:48 PM MST


In Reply to: Re: dashboard data stream..consider this!! posted by Rick Berube on 2/2/2000 12:12 PM MST:



: YOU BET THERE IS NATE! Count me in on this one.

: The reason our team requested robot feedback in the first place was to be able to obtain test data from a moving robot. Not only sensor data but data from our algorithms and the output we command.

: If this works, I'm sure your software will be put to good use....'If you you write it, they will come!!'

:

: Regards,

: Rick

It will be easy enough to implement, I just have to set up a property of the OCX that allows for accessing the entire BASIC byte, and adding the 9th bit (basic run) on the high end(bit 9 = 256). I just got back from our meeting today, and am about to walk out the door again to go to work, but I will be back after 8pm EST and will put in the change and repost the OCX. Also, look for a new installer with this revision, including a one-file self-extracting EXE download! I'll post to this thread when it is finished.

Nate
__________________
This message was archived from an earlier forum system. Some information may have been left out. Start new discussion in the current forums, and refer back to these threads when necessary.
  #9   Spotlight this post!  
Unread 23-06-2002, 22:56
archiver archiver is offline
Forum Archival System
#0047 (ChiefDelphi)
 
Join Date: May 2001
Location: Pontiac, MI
Posts: 21,214
archiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond repute
Re: It's on its way...

Posted by Rick Berube.

Engineer on team #121, Rhode Warriors, from Middletown H.S..

Posted on 2/2/2000 6:41 PM MST


In Reply to: It's on its way... posted by Nate Smith on 2/2/2000 3:48 PM MST:



Sounds great Nate. I'l look for it, and hope to try it out Friday or Saturday.

Rick


__________________
This message was archived from an earlier forum system. Some information may have been left out. Start new discussion in the current forums, and refer back to these threads when necessary.
  #10   Spotlight this post!  
Unread 23-06-2002, 22:56
archiver archiver is offline
Forum Archival System
#0047 (ChiefDelphi)
 
Join Date: May 2001
Location: Pontiac, MI
Posts: 21,214
archiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond repute
Coming Soon...

Posted by Nate Smith.

Other on team #66, GM Powertrain/Willow Run HS, from Eastern Michigan University and GM Powertrain.

Posted on 2/3/2000 11:06 AM MST


In Reply to: Re: It's on its way... posted by Rick Berube on 2/2/2000 6:41 PM MST:



Didn't get a chance to finish it up last night, so version 1.1 of the decoder should be out sometime late tonight. As for that fancy, self-extracting install, I dunno...I downloaded a new installer, and it's a little more involved to set up than I first thought...I'll see what I can do though...

Nate
__________________
This message was archived from an earlier forum system. Some information may have been left out. Start new discussion in the current forums, and refer back to these threads when necessary.
  #11   Spotlight this post!  
Unread 23-06-2002, 22:56
archiver archiver is offline
Forum Archival System
#0047 (ChiefDelphi)
 
Join Date: May 2001
Location: Pontiac, MI
Posts: 21,214
archiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond repute
Re: dashboard data stream

Posted by Tony K.

Student on team #292, PantherTech, from Western High School and DaimlerChrysler.

Posted on 2/1/2000 6:03 PM MST


In Reply to: dashboard data stream posted by Thomas Grupp on 1/31/2000 10:01 AM MST:



Yes, like Nate said, rewire your two x-axes on ports 1 and 2 as y-axes on 3 and 4. Just make sure you make the change known to your control program.


__________________
This message was archived from an earlier forum system. Some information may have been left out. Start new discussion in the current forums, and refer back to these threads when necessary.
 


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 Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Competition Scouting pauluffel Scouting 31 09-01-2003 00:34
Robot Scouting Database archiver 2001 10 24-06-2002 03:00
Limiting PWM in pbasic archiver 2001 4 24-06-2002 00:38
Possible Configuration to keep things cheap archiver 1999 8 23-06-2002 23:03
Distribution of data soap108 Scouting 4 24-12-2001 09:23


All times are GMT -5. The time now is 16:08.

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