Go to Post What is it about inefficient design and operation that either pushes the envelope or deserves to be awarded? - Madison [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
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 25-03-2014, 20:56
Morgeno Morgeno is offline
Registered User
FRC #2337
 
Join Date: Feb 2014
Rookie Year: 2013
Location: Grand Blanc, Michigan
Posts: 9
Morgeno is an unknown quantity at this point
Question Questions on sensors in Autonomous

Hi everyone,
I'm morgeno, head autonomous programmer for team 2337. I'm trying to get hot goal code working before our next competition, but we're having a bit of a problem. For some reason the sensor we're using reports as a button through the custom driver station our team has set up, and it won't work when autonomous is enabled. I've probed in autonomousIndependant and Periodic Tasks but neither of them report any change in the "button" during auton.

Are all joysticks completely disabled when autonomous is running?

If not, do you have any idea why it wouldn't report?

I can post screen shots of the code in question later.

Thanks,

Morgeno
Reply With Quote
  #2   Spotlight this post!  
Unread 25-03-2014, 21:11
Greg McKaskle Greg McKaskle is online now
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,748
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Questions on sensors in Autonomous

Yes, joysticks and other HID objects that enumerate as joysticks will be read during the disabled period. During autonomous, the last value of the disabled period will be sent for each autonomous period.

What sensor is it?

Greg McKaskle
Reply With Quote
  #3   Spotlight this post!  
Unread 25-03-2014, 23:40
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Questions on sensors in Autonomous

I can't think of any reason a robot sensor would act like a joystick button. Are you trying to detect the hot goal using a sensor on your Operator Console? You have the option of modifying the Dashboard program to read the sensor and send data to the robot. You can communicate values using Network Tables/Smart Dashboard variables, or you can do more low-level work to send data directly using one of the available TCP/UDP ports.
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:01.

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