Go to Post the weather always does funny things to people, like when it snows, all these engineers take kids, lock themselves in machine shops & build robots......weird - Lisa Rodriguez [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

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 02-12-2018, 07:36 PM
AntFecht AntFecht is offline
Registered User
FRC #0648
 
Join Date: Jan 2018
Location: Quad Cities, Iowa
Posts: 11
AntFecht is an unknown quantity at this point
Victors not Initializing

Hello there! I have been having a problem with victors today. The main problem is that we have had this code work in the past; however it refuses to work now.
To say what is happening to the victor, it blinks orange instead of staying solid orange when initialized. Any help would be much appreciated.
Code:
const static int WRISTMOTOR = 0;

Victor WristDrv;

Robot() :
wristDrv(WRISTMOTOR),
Thanks again!
Reply With Quote
  #2   Spotlight this post!  
Unread 02-12-2018, 07:45 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,968
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
What model of Victor?
Reply With Quote
  #3   Spotlight this post!  
Unread 02-12-2018, 07:47 PM
AntFecht AntFecht is offline
Registered User
FRC #0648
 
Join Date: Jan 2018
Location: Quad Cities, Iowa
Posts: 11
AntFecht is an unknown quantity at this point
Re: Victors not Initializing

It's a SPX. Thanks for helping!
Reply With Quote
  #4   Spotlight this post!  
Unread 02-12-2018, 07:47 PM
pkrishna3082's Avatar
pkrishna3082 pkrishna3082 is online now
love/hate relationship with swerve
AKA: Parthiv Krishna
FRC #3082 (Chicken Bot Pie) and FTC #13471 Mentor (Minnetonka)
Team Role: Leadership
 
Join Date: Mar 2017
Rookie Year: 2016
Location: Minnetonka, MN, USA
Posts: 797
pkrishna3082 has a reputation beyond reputepkrishna3082 has a reputation beyond reputepkrishna3082 has a reputation beyond reputepkrishna3082 has a reputation beyond reputepkrishna3082 has a reputation beyond reputepkrishna3082 has a reputation beyond reputepkrishna3082 has a reputation beyond reputepkrishna3082 has a reputation beyond reputepkrishna3082 has a reputation beyond reputepkrishna3082 has a reputation beyond reputepkrishna3082 has a reputation beyond repute
Re: Victors not Initializing

Quote:
Originally Posted by AntFecht View Post
It's a SPX. Thanks for helping!
Are you using it with CAN or PWM?
__________________

My posts constitute my opinions, and mine alone, and are not representative of the views held by my team.
2010-2011: FLL 11083, 13873 (Minnetonka Silver) - Programmer
2016-: FRC 3082 (Chicken Bot Pie) - Engineering Captain, fmr. Programming Lead, 2017&2018 Dean's List Finalist
2017-: FTC 13471 (Minnetonka) - Founding Mentor
Reply With Quote
  #5   Spotlight this post!  
Unread 02-12-2018, 07:49 PM
AntFecht AntFecht is offline
Registered User
FRC #0648
 
Join Date: Jan 2018
Location: Quad Cities, Iowa
Posts: 11
AntFecht is an unknown quantity at this point
Re: Victors not Initializing

It should be set up for PWM, however we are using Talon SRX controllers in CAN too, so that could be contributing to it.
Reply With Quote
  #6   Spotlight this post!  
Unread 02-13-2018, 08:10 PM
YMK's Avatar
YMK YMK is offline
Registered User
AKA: Keenan
FRC #6130 (Viper Robotics)
Team Role: Engineer
 
Join Date: Mar 2016
Rookie Year: 2016
Location: Toronto
Posts: 49
YMK is on a distinguished road
Re: Victors not Initializing

Quote:
Originally Posted by AntFecht View Post
It should be set up for PWM, however we are using Talon SRX controllers in CAN too, so that could be contributing to it.
Why not just use them in CAN if you're already using Talons?
__________________




FRC 6130 Driver 2016-2017 Drive Coach 2018-Present
Reply With Quote
  #7   Spotlight this post!  
Unread 02-13-2018, 09:20 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,968
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: Victors not Initializing

To use the Victor SPX with PWM, use the PWMVictorSPX class. To use the Victor SPX with CAN, use the VictorSPX class from CTRE's Phoenix library.
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 05:07 PM.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi