Go to Post Ahhh. The Grammar Fairy strikes again! - Cynette [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

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 21-05-2015, 16:09
feverittm's Avatar
feverittm feverittm is offline
Registered User
FRC #0997 (Spartans)
Team Role: Mentor
 
Join Date: Apr 2010
Rookie Year: 2010
Location: Corvallis, OR
Posts: 122
feverittm will become famous soon enoughfeverittm will become famous soon enough
FRCSim and Gamepads

FRC Community,

I have (finally) been able to work with my team and fool around with frcsim.

We have loaded a spare machine with Ubuntu 14.04LTS and then ran the install script to load frcsim.

Everything seems to install correctly and we can build the model for GearsBot.

However, when we try to run the simulator in Teleop mode the robot takes off to the left in a wide circle (like the right motor is running forward) without any control input. I have tried to plug in a PS3 controller via USB and the dashboard recognizes it. However, no buttons/sticks are working.

Is there something I need to do to enable the joystick? Are there any other checks we can do to verify everything is installed correctly?

BTW The Autonomous mode seems to be working correctly.

Thanks
__________________
Floyd Moore
Mentor Electrical and Pneumatics
Team 997 - Spartan Robotics
Corvallis High School, Corvallis Oregon
  #2   Spotlight this post!  
Unread 21-05-2015, 23:56
MikLast's Avatar
MikLast MikLast is offline
CAO/Drive Coach
AKA: Mikal Dieatrick
FRC #4513 (Circuit Breakers)
Team Role: Leadership
 
Join Date: Jan 2015
Rookie Year: 2014
Location: Medical Lake, WA
Posts: 594
MikLast has a reputation beyond reputeMikLast has a reputation beyond reputeMikLast has a reputation beyond reputeMikLast has a reputation beyond reputeMikLast has a reputation beyond reputeMikLast has a reputation beyond reputeMikLast has a reputation beyond reputeMikLast has a reputation beyond reputeMikLast has a reputation beyond reputeMikLast has a reputation beyond reputeMikLast has a reputation beyond repute
Re: FRCSim and Gamepads

i do not know about Linux, but with windows the PS3 controller is not really supported, and i would guess so for all three of the major OSes. (OS's?)

Now, since i love PlayStation, i looked around and found these articles, and i hope they can be of use to you.

https://help.ubuntu.com/community/Sixaxis

Since the Sixaxis (the joysticks) were not working, i bet this will help the most.

These other articles may help, again i do not usually use Linux so im not sure.

http://www.reddit.com/r/linux_gaming...n_ubuntu_1404/
http://ubuntuforums.org/showthread.php?t=1745206

Hope these help!
__________________

Check out the FRC Discord!

2014: programmer, scout
2015: programmer, admin, drive team
Innovation in control award, WVHS district event
Innovation in control award, CWU district event
finalist, PNW district championship
2016: CAO, Drive team.
Excellence In Engineering awad, WVHS District event
  #3   Spotlight this post!  
Unread 22-05-2015, 00:56
virtuald's Avatar
virtuald virtuald is offline
RobotPy Guy
AKA: Dustin Spicuzza
FRC #1418 (), FRC #1973, FRC #4796, FRC #6367 ()
Team Role: Mentor
 
Join Date: Dec 2008
Rookie Year: 2003
Location: Boston, MA
Posts: 1,086
virtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant future
Re: FRCSim and Gamepads

I have a playstation-like gamepad, and I found that for it to work I had to press the center button first or it would not be recognized.

You can check dmesg to make sure that it's being recognized by the OS.
__________________
Maintainer of RobotPy - Python for FRC
Creator of pyfrc (Robot Simulator + utilities for Python) and pynetworktables/pynetworktables2js (NetworkTables for Python & Javascript)

2017 Season: Teams #1973, #4796, #6369
Team #1418 (remote mentor): Newton Quarterfinalists, 2016 Chesapeake District Champion, 2x Innovation in Control award, 2x district event winner
Team #1418: 2015 DC Regional Innovation In Control Award, #2 seed; 2014 VA Industrial Design Award; 2014 Finalists in DC & VA
Team #2423: 2012 & 2013 Boston Regional Innovation in Control Award


Resources: FIRSTWiki (relaunched!) | My Software Stuff
Closed Thread


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 21:09.

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