Go to Post A learning experience. Or something positive like that. - NorviewsVeteran [more]
Home
Go Back   Chief Delphi > Technical > Control System > FRC Control System
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 12-01-2012, 21:38
gixxy's Avatar
gixxy gixxy is offline
Programming and Arduino Mentor
AKA: Gustave Michel III
FRC #3946 (Tiger Robotics)
Team Role: Mentor
 
Join Date: Nov 2011
Rookie Year: 2012
Location: Ruston, LA
Posts: 207
gixxy is on a distinguished road
Trouble with Digital Sidecar (anyone else seen/had this?)

So I decided to set up the cRio and basic components and run some basic code.

We are using Java and so I ran some of the default code to assure all systems were functioning, and it worked just fine.

However when I went to use my own code it didn't work. I must have edited and redeployed code 40-50 times with no success, editing and changing it.

Anyway I eventually found out that even though my code was using the 1 and 2 channel, the jaguars and motors were responding on channels 3 and 4.

I am curious is anyone else has had this problem.

I am looking for a real solution, but if not I found out that if I use channels 3 and 4 in code it will using 1 and 2 and so just wrote my own Jaguar class that extends the original and just remakes what port it uses. (in my code I put 1, but my modified Jaguar class will silently pass on channel 3, so it looks like it is working properly). So i basically used visualization to rewire the digital sidecar. Not a bad temp fix for someone using Java for 2 months with a rookie team.
Reply With Quote
  #2   Spotlight this post!  
Unread 12-01-2012, 22:02
DonRotolo's Avatar
DonRotolo DonRotolo is offline
Back to humble
FRC #0832
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Atlanta GA
Posts: 6,976
DonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond repute
Re: Trouble with Digital Sidecar (anyone else seen/had this?)

Just shooting in the dark here, but is the cable between the cRio and Sidecar wired OK? Verify, don't just look at it.
__________________

I am N2IRZ - What's your callsign?
Reply With Quote
  #3   Spotlight this post!  
Unread 12-01-2012, 22:05
ebarker's Avatar
ebarker ebarker is offline
Registered User
AKA: Ed Barker
FRC #1311 (Kell Robotics)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Kennesaw GA
Posts: 1,437
ebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond repute
Re: Trouble with Digital Sidecar (anyone else seen/had this?)

Go here and read the section on DB37 rework.

This could potentially be your problem.
__________________
Ed Barker
Reply With Quote
  #4   Spotlight this post!  
Unread 12-01-2012, 22:41
gixxy's Avatar
gixxy gixxy is offline
Programming and Arduino Mentor
AKA: Gustave Michel III
FRC #3946 (Tiger Robotics)
Team Role: Mentor
 
Join Date: Nov 2011
Rookie Year: 2012
Location: Ruston, LA
Posts: 207
gixxy is on a distinguished road
Re: Trouble with Digital Sidecar (anyone else seen/had this?)

Ah, I will be looking at this tomorrow. Thanks!
Reply With Quote
Reply


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


All times are GMT -5. The time now is 21:23.

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