Go to Post I'm sure there aren't a bunch of rule makers sitting in a board room discussing "What rule can we change now to mess with the teams' heads?" Lets all just sit back and enjoy the regionals! - Rick [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-24-2015, 02:31 PM
PaolaHenriquez PaolaHenriquez is offline
Registered User
no team (Chantilly Robotics)
Team Role: Programmer
 
Join Date: Jan 2015
Rookie Year: 2014
Location: Virginia
Posts: 2
PaolaHenriquez is an unknown quantity at this point
Question about CanTalonSRX.h

Our robot uses TalonSRX's in a CAN configuration. We want to add these objects to RobotDrive. However, RobotDrive only accepts SpeedController objects and channel numbers as uint32_t. CanTalonSRX does not extend from SpeedController so it's impossible for us to use CAN TalonSRX's for our DriveTrain because we can't program it. I was wondering why this is the case and how to pass CanTalonSRX objects into RobotDrive.
Reply With Quote
  #2   Spotlight this post!  
Unread 01-24-2015, 02:39 PM
ozrien's Avatar
ozrien ozrien is online now
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: Question about CanTalonSRX.h

Use the CANTalon class, it implements CANSpeedController.
Please read section 3.4 in the Talon SRX Software Reference Manual.
Reply With Quote
  #3   Spotlight this post!  
Unread 01-24-2015, 02:41 PM
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,547
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Question about CanTalonSRX.h

CANTalonSRX is a low level class. CANTalon is what you're looking for. It extends CANSpeedController which extends SpeedController.
Reply With Quote
  #4   Spotlight this post!  
Unread 01-24-2015, 02:45 PM
PaolaHenriquez PaolaHenriquez is offline
Registered User
no team (Chantilly Robotics)
Team Role: Programmer
 
Join Date: Jan 2015
Rookie Year: 2014
Location: Virginia
Posts: 2
PaolaHenriquez is an unknown quantity at this point
Re: Question about CanTalonSRX.h

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 09:12 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