Go to Post If you speak three languages, you're trilingual. If you speak two languages, you're bilingual. And if you speak one language, you're American. - Hieb [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
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 01-28-2016, 07:06 PM
Snapperbot Snapperbot is offline
Registered User
FRC #4501 (Humans)
Team Role: Programmer
 
Join Date: Jan 2016
Rookie Year: 2012
Location: Santa Monica
Posts: 6
Snapperbot is an unknown quantity at this point
Question Updating Joysticks in a Command

I want to make a command that when hold a button it sets two motors speeds to the value of the throttle of a joystick(we're using the Logitech ATK3). I'm running into an issue where it doesn't like updating the value of the joystick when I hold the button(It crashes the robot and the driver station gives me the Robots don't quit message). When the command is constantly running there's no issue, but I would like it to not constantly run. I can make the command's parameters request a double and then in OI put in the joysticks throttle value there but it doesn't update after the init of the robot.

Any help is appreciated
Reply With Quote
 


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:26 AM.

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