Go to Post I believe the employees of AndyMark should start making presentations to large companies on the right way to run a business. - Taylor [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 24-01-2015, 14:31
Happy Birthday! 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 24-01-2015, 14:39
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: 537
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
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 24-01-2015, 14:41
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,590
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 24-01-2015, 14:45
Happy Birthday! 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 13:31.

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