Go to Post I believe with every fiber of my being that Engineering is an Art. It is a beautiful, wonderful, delightful art. - Joe Johnson [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 15-02-2014, 23:34
SenorPotter SenorPotter is offline
Student Programmer/Electrical
AKA: Daniel
FRC #3880 (Tiki Techs)
Team Role: Programmer
 
Join Date: Feb 2014
Rookie Year: 2012
Location: United States
Posts: 4
SenorPotter is an unknown quantity at this point
Unexpected response

Hi everyone! I'm our team's programmer for FRC this year, running C++; I've been having trouble getting our robot to work for a couple days, and we've been running into a problem our team - and our alumni - have never experienced before.
I wrote a teleop code solely to test our intake motors, but after setting the .out file, deploying, rebooting the cRIO, and enabling the usercontrol, all I get is low voltage coming through two of my drive talons, which aren't even instantiated in the code...
Has anyone seen anything like this before? This problem's really holding our whole team up, any help is a lifesaver.
Attached Files
File Type: cpp MyRobot.cpp (848 Bytes, 6 views)
Reply With Quote
  #2   Spotlight this post!  
Unread 16-02-2014, 17:47
bvisness's Avatar
bvisness bvisness is offline
Programming Mentor, Former Driver
FRC #2175 (The Fighting Calculators)
Team Role: Mentor
 
Join Date: Feb 2011
Rookie Year: 2010
Location: Woodbury, MN
Posts: 181
bvisness is a glorious beacon of lightbvisness is a glorious beacon of lightbvisness is a glorious beacon of lightbvisness is a glorious beacon of lightbvisness is a glorious beacon of lightbvisness is a glorious beacon of light
Re: Unexpected response

I notice that you called them Talons in your post, while in the code they are created as Victors. That's the only problem I can see at the moment.
Reply With Quote
  #3   Spotlight this post!  
Unread 16-02-2014, 18:14
SenorPotter SenorPotter is offline
Student Programmer/Electrical
AKA: Daniel
FRC #3880 (Tiki Techs)
Team Role: Programmer
 
Join Date: Feb 2014
Rookie Year: 2012
Location: United States
Posts: 4
SenorPotter is an unknown quantity at this point
Re: Unexpected response

That was the main source of my confusion: the drive Talons were moving without even being referred to... We actually figured out the problem overnight, the Talons just needed some calibration--they were floating without input. Everything's fine now though, thanks for taking the time to read through!
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 14:35.

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