Go to Post Back in MY day, we had full metal to metal contact. Not any of this wussy bumper stuff! - Michael Hill [more]
Home
Go Back   Chief Delphi > Technical > Electrical > CAN
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
  #4   Spotlight this post!  
Unread 15-02-2010, 09:11
taichichuan's Avatar
taichichuan taichichuan is offline
Software Mentor
AKA: Mike Anderson
FRC #0116 (Epsilon Delta)
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2010
Location: Herndon, VA
Posts: 333
taichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud of
Send a message via AIM to taichichuan
Re: Speed direction in CAN?

Greetings!

Could either of you guys post the C++ or Java set up commands you used for you jaguar? I understand setting the thing up in speed mode (are all of the jags in speed mode or just the one with the shaft encoder?), but the initialization sequence for setting the shaft encoder and the periodic reading portion of your code would be peachy to see. Also, from what I can see in testing, the value of the position goes from 0 to 65535 as I'm going backwards if I simply print the value as a float having unpacked it. Is this what I'm supposed to see? Or, should I hack the top 2 bytes off and cast it as a singed integer to show negative position?

TIA,

Mike
Reply With Quote
 


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
How can you figure out robot speed?!?! gnirts Programming 7 01-04-2006 13:05
Edit- Can we connect more than one speed controller fan per breaker? DemonYawgmoth Rules/Strategy 7 03-02-2006 21:37
Can we use old Relays and Speed Controllers? thoughtful Control System 14 17-01-2005 14:55
Can we use old Relays and Speed Controllers? thoughtful Electrical 14 17-01-2005 14:55
Need direction...... archiver 2001 0 24-06-2002 02:17


All times are GMT -5. The time now is 00:53.

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