Go to Post IF WildstangIsAwesome = True and SkaIsAwesome THEN Act = AWESOME End IF - Rohith Surampudi [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-14-2015, 08:10 AM
jfitz0807 jfitz0807 is offline
Registered User
FRC #2877 (Ligerbots)
Team Role: Parent
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Newton, MA
Posts: 65
jfitz0807 is an unknown quantity at this point
CANTalon not in RobotBuilder?

We've used CANJaguars the last couple of years. This year, of course, we're switching to the CANTalon with Talon SRXs. The RobotBuilder (RB) doesn't seem to have an option for a CANTalon.

Can I just instantiate a CANJaguar in RB and change these to CANTalon in RB before I generate my code? This seems preferable since it would be maintained through subsequent code regenerations. The only other option I can think of is to generate the code with CANJaguar and then do a global search/replace to change CANJaguar to CANTalon in Eclipse, but then I'd have to do this every time I regenerate code.

Any thoughts?
Reply With Quote
  #2   Spotlight this post!  
Unread 01-14-2015, 08:52 PM
krieck's Avatar
krieck krieck is offline
Registered User
AKA: Keith
FRC #2846 (Firebears)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Minnesota
Posts: 49
krieck is an unknown quantity at this point
Re: CANTalon not in RobotBuilder?

We also ran into this problem. For now, I think the only solution is to generate code for plain Talons and then edit the init() method in RobotMap. Change the Talon constructors to CANTalon and then delete the "AUTOGENERATED" comments.

It would sure be nice to get an updated RobotBuilder supporting CANTalons. Also, it would be nice if the CANTalon class was updated to implement LiveWindowSendable, so we could see the CANTalons in test mode.
Reply With Quote
  #3   Spotlight this post!  
Unread 01-14-2015, 09:57 PM
Jefferson Jefferson is offline
Registered User
AKA: Jeff Clements
FRC #0016 (Bomb Squad)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2010
Location: Mountain Home, AR
Posts: 257
Jefferson has a brilliant futureJefferson has a brilliant futureJefferson has a brilliant futureJefferson has a brilliant futureJefferson has a brilliant futureJefferson has a brilliant futureJefferson has a brilliant futureJefferson has a brilliant futureJefferson has a brilliant futureJefferson has a brilliant futureJefferson has a brilliant future
Re: CANTalon not in RobotBuilder?

This bug has been reported. It wouldn't surprise me if we get a WPILib update at some point this season.
Reply With Quote
  #4   Spotlight this post!  
Unread 01-25-2015, 03:59 PM
jmullins16's Avatar
jmullins16 jmullins16 is offline
Registered User
AKA: Jeff Mullins
FRC #2135 (Presentation Invasion)
Team Role: Mentor
 
Join Date: Nov 2011
Rookie Year: 2011
Location: San Jose, CA
Posts: 22
jmullins16 is an unknown quantity at this point
Re: CANTalon not in RobotBuilder?

A solution involving a patch to the RobotBuilder sources is described in this post:

http://www.chiefdelphi.com/forums/sh...04&postcount=5
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