Go to Post I have died and gone to heaven. :) - dlavery [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, 08:36 PM
AntFecht AntFecht is offline
Registered User
FRC #0648
 
Join Date: Jan 2018
Location: Quad Cities, Iowa
Posts: 10
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, 08: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,870
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, 08:47 PM
AntFecht AntFecht is offline
Registered User
FRC #0648
 
Join Date: Jan 2018
Location: Quad Cities, Iowa
Posts: 10
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, 08: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: Programmer
 
Join Date: Mar 2017
Rookie Year: 2016
Location: Minnetonka, MN, USA
Posts: 403
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) - Captain (2+ yrs), Programming Lead (3+ yrs), Driver (2+ yrs), Operator (1 yr), 2017 Dean's List Finalist
2017-: FTC 13471 (Minnetonka/Tater Bot Hot Dish) - Mentor
2017-: FIRST Volunteer - 2017 North Champs Student Ambassador
Reply With Quote
  #5   Spotlight this post!  
Unread 02-12-2018, 08:49 PM
AntFecht AntFecht is offline
Registered User
FRC #0648
 
Join Date: Jan 2018
Location: Quad Cities, Iowa
Posts: 10
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, 09: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: 35
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?
__________________


Reply With Quote
  #7   Spotlight this post!  
Unread 02-13-2018, 10: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,870
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 08:19 AM.

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