Go to Post However, I do expect something truthful to come out of some of Dave's posts. - Karibou [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
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 01-08-2015, 11:57 AM
flamespinner flamespinner is offline
Head web designer
FRC #3926
Team Role: Webmaster
 
Join Date: Dec 2012
Rookie Year: 2012
Location: USA`\
Posts: 5
flamespinner is an unknown quantity at this point
CAN Help

How do you program CAN for Jags and Talons? I have never used CAN before, and i'm completely lost. And It dosn't help that I am new to programming anything past basic Pneumatics and RobotDrive. Could Someone please help me?
Reply With Quote
  #2   Spotlight this post!  
Unread 01-08-2015, 12:06 PM
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: 516
ozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant future
Re: CAN Help

Quote:
Originally Posted by flamespinner View Post
How do you program CAN for Jags and Talons? I have never used CAN before, and i'm completely lost. And It dosn't help that I am new to programming anything past basic Pneumatics and RobotDrive. Could Someone please help me?
Here's the FRC screensteps. I would just search using the search bar for programming help...
http://wpilib.screenstepslive.com/s/4485

Also checkout the Talon SRX software ref manual for SRX specific examples....
http://www.crosstheroadelectronics.c...ol_system.html
Reply With Quote
  #3   Spotlight this post!  
Unread 01-08-2015, 12:07 PM
BradAMiller BradAMiller is offline
Registered User
AKA: Brad
#0190 ( Gompei and the Herd)
Team Role: Mentor
 
Join Date: Mar 2004
Location: Worcester, MA
Posts: 587
BradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant future
Re: CAN Help

There are two CAN Talon SRX sample programs included with the plugins that you should look at. One, "CAN Talon SRX" does a simple voltage controlled example. The other more interesting sample, "CAN Talon SRX PID" uses PID control in the Talon to control a motor from a potentiometer input that you might use, for example, to make an elevator that would lift game objects to a particular level.

To get those samples from Eclipse, select New Project..., then "Example Robot C++ Project", then choose one of the two samples described above.

These are both very simplified programs to show the basics of using the Talon SRXs and not how you might write a complete much more complex program. There are a bunch of other samples and ScreenSteps documentation to help with that.
__________________
Brad Miller
Robotics Resource Center
Worcester Polytechnic Institute
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 09:55 AM.

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