Go to Post Every time i look at my watch and see 3:65 o'clock I always thing, darn i gotta get a new watch... - Kyle [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 02-05-2010, 22:50
ozrien's Avatar
ozrien ozrien is offline
Omar Zrien
AKA: Omar
no team
Team Role: Mentor
 
Join Date: Sep 2006
Rookie Year: 2003
Location: Sterling Heights, MI
Posts: 522
ozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond repute
2CAN C# Example

I have posted a Visual Studio 2005 C# example that can be used to control Jaguars using only a 2CAN. The app sockets to the 2CAN and sends voltage throttles over UDP. The 2CAN then in turn updates the Jaguars on the bus. The throttles are read from an attached USB Gamepad or Joystick. This is basically the example that was demoed at the AndyMark booth at Atlanta.

The entire solution (with release built exe) can be downloaded by clicking the "C# Application Example (Updated 5/2/2010)" link at...
http://www.crosstheroadelectronics.com/2CAN.htm

For those of you interested in creating your own apps I recommend looking at 2CANComm.cs as it has the c# and C style definition of the data sent to the 2CAN. A formal communication spec is in the works. Hopefully this will suffice in the meantime.

Be sure to use the non-FIRST Jaguar firmware. I have been using Jaguar version 5450 and 2CAN version 1.6. Also be sure to read through the ReadMe.txt file as it contains important information for compiling/debugging the C# app.
 


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
2CAN API Dweller CAN 4 12-03-2011 21:07
2CAN vs. Serial-to-CAN ajd CAN 9 24-04-2010 21:33
Plugin update for 2CAN ozrien CAN 3 01-02-2010 16:26
2CAN Plugin Released Mike Copioli Control System 16 24-01-2010 03:31
Legality of the 2CAN Geek 2.0 FRC Control System 9 19-01-2010 20:51


All times are GMT -5. The time now is 03:27.

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