Go to Post FIRST is a community unlike the public at large, with the distinction lying on its gracious professionalism. I have no doubt that the community will continue to uphold and cherish this unique characteristic through difficult events such as this. - Joon Park [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 14-02-2013, 00:47
Arkamond Arkamond is offline
Registered User
FRC #3102
 
Join Date: Jan 2013
Location: Minnesota
Posts: 23
Arkamond is an unknown quantity at this point
Exclamation Single Motor Teleop/Autonomous being quirky.

Status: Unsolved

Background Information:
I am in an FRC team and am the lead programmer and an electrical designer/engineer.

Specs:
FRC NI cRIO II
Labview 2012(13) with latest update
2Go PC D12 Rugged, Driver Station
2x Thrustmaster T.Flight Stick X Joystick
4x Victor 888 (Drive system)
1x Jaguar (Launching Motor)

Issue:
-"Custom Teleop" is a loop in Periodic Tasks.vi that should only function in Teleop and does all the major functions except for driving.

Motor Controller is not being outputted to properly from Autonomous or Teleop. I spent the last 4 hours debugging with no clear solution to my issues, although it's probably something obvious in my programming that is causing this issue.

The Jaguar controller is outputted for half a second before it automatically flips off in Autonomous. In Teleop, only every other "enable" to the robot from the driver station in Teleop will allow the motor to be turned on via Joystick button. On the other times, the Jaguar turns on then blinks red and then goes back to being turned off, a couple clicks later and it then works, but it's still a large issue.

This issue is seemed to be cause only after I caused a value of -1 to the motor controller in Autonomous, but before that, whenever the motor was running in the Periodic Tasks custom Teleop loop, it would shut off whenever the case structure to the right of it would start, and then it would start back up. I'm not entirely sure on what is wrong, but that is why I post before you today.

Tl;dr, Motor controller turns on then off very quickly in Autonomous, blinks red in Custom Teleop and with Autonomous fixed; the the motor in Custom Teleop turns off when the sequence structure executes and then on again after it's done.

Custom Teleop: Motor/Firing Case Structure/Sequence Structure


Autonomous


Here is my Robot Project Code, I put it in multiple formats to make it easier for people. Each archive contains the same exact files.

Self-Extracting 7-Zip Archive

7-Zip Archive
Zip Archive

If anybody would like to help me personally, rather than a forum, please PM me. I will answer any questions if anybody wants/needs more information, ask away! Thanks.
 


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 01:38.

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