Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Robot Showcase (http://www.chiefdelphi.com/forums/forumdisplay.php?f=58)
-   -   Team 2451 - Pwnage - Swerve Simulation Game (http://www.chiefdelphi.com/forums/showthread.php?t=129025)

mr. giggums 24-04-2014 06:21

Re: Team 2451 - Pwnage - Swerve Simulation Game
 
Quote:

Originally Posted by Navid Shafa (Post 1378137)
Once I open the Jar file, it says 'Press A to start'. Pressing A doesn't seem to do anything. I can select all the drop down menus and searched the read me file to see if I was missing anything. Any thoughts?

The program must be finding a joystick or gamepad attached. I can add a way to disable it in the future. For now you can go to control panel (if on Windows) and see what it thinks is a joystick. If you can unplug it. Otherwise I guess trey to disable it? I'm not sure.

rsisk 24-04-2014 06:43

Re: Team 2451 - Pwnage - Swerve Simulation Game
 
Had the pleasure of inspecting this team swerve drive IRL yesterday, it is a beauty!

Navid Shafa 24-04-2014 06:47

Re: Team 2451 - Pwnage - Swerve Simulation Game
 
Quote:

Originally Posted by mr. giggums (Post 1378198)
The program must be finding a joystick or gamepad attached. I can add a way to disable it in the future. For now you can go to control panel (if on Windows) and see what it thinks is a joystick. If you can unplug it. Otherwise I guess trey to disable it? I'm not sure.

No gamepad or joystick attached. Tried disabling other devices too. Still no luck...

John Retkowski 24-04-2014 08:40

Re: Team 2451 - Pwnage - Swerve Simulation Game
 
This is awsome. Really helpful to get the basic feel of a swerve. The only problem I was having was getting a ball in the corner since I would just keep going instead of ramming against the side.

Canon reeves 24-04-2014 09:16

Re: Team 2451 - Pwnage - Swerve Simulation Game
 
Quote:

Originally Posted by Navid Shafa (Post 1378202)
No gamepad or joystick attached. Tried disabling other devices too. Still no luck...

Try pushing space, it worked for me.

mr. giggums 24-04-2014 22:46

Re: Team 2451 - Pwnage - Swerve Simulation Game
 
Quote:

Originally Posted by Navid Shafa (Post 1378202)
No gamepad or joystick attached. Tried disabling other devices too. Still no luck...

And it still says "Press A to start"? What devices do you get when you go to control panel, then devices and printers?

Navid Shafa 24-04-2014 23:24

Re: Team 2451 - Pwnage - Swerve Simulation Game
 
1 Attachment(s)
Quote:

Originally Posted by mr. giggums (Post 1378356)
And it still says "Press A to start"? What devices do you get when you go to control panel, then devices and printers?

Yes. See attached screenshot.

Attachment 16921

mr. giggums 25-04-2014 07:42

Re: Team 2451 - Pwnage - Swerve Simulation Game
 
To all, I have uploaded a new version here.

Quote:

Originally Posted by Navid Shafa (Post 1378366)
Yes. See attached screenshot.

Attachment 16921

Try the new version. It now has a use keyboard button (under settings).

Navid Shafa 25-04-2014 11:46

Re: Team 2451 - Pwnage - Swerve Simulation Game
 
Quote:

Originally Posted by mr. giggums (Post 1378394)
Try the new version. It now has a use keyboard button (under settings).

The new version works great, thanks.

Ben Wolsieffer 25-04-2014 16:03

Re: Team 2451 - Pwnage - Swerve Simulation Game
 
Could you include the Linux and Mac binaries for Jinput also to make it easier for people?

Also, it seems like you set up the axes to only work with an xbox controller, not the Logitech gamepad. You should use the axis identification features of Jinput to get the correct axes on any controller:
Code:

controller.getComponent(Component.Identifier.Axis.X);

DJB11 27-04-2014 01:11

Re: Team 2451 - Pwnage - Swerve Simulation Game
 
Thanks, I actually have been looking around for something like this :D

Very cool though.

dubiousSwain 01-05-2014 08:55

Re: Team 2451 - Pwnage - Swerve Simulation Game
 
I have been playing this with my keyboard and an xbox controller, and i noticed when I use the controller, there is a noticeable drift on the rotation, but none on the keyboard. Has anyone else noticed this? Is it the controller?

Justin Lawrence 01-05-2014 12:17

Re: Team 2451 - Pwnage - Swerve Simulation Game
 
I remember looking at this robot. It is so cool. This was one of my favorite drive systems at championships.

mr. giggums 03-05-2014 00:32

Re: Team 2451 - Pwnage - Swerve Simulation Game
 
Quote:

Originally Posted by dubiousSwain (Post 1381425)
I have been playing this with my keyboard and an xbox controller, and i noticed when I use the controller, there is a noticeable drift on the rotation, but none on the keyboard. Has anyone else noticed this? Is it the controller?

This would be because the joystick is not centered.

Quote:

Originally Posted by lopsided98 (Post 1378501)
Could you include the Linux and Mac binaries for Jinput also to make it easier for people?

Also, it seems like you set up the axes to only work with an xbox controller, not the Logitech gamepad. You should use the axis identification features of Jinput to get the correct axes on any controller:
Code:

controller.getComponent(Component.Identifier.Axis.X);

Thank you for this information. The identification feature will be in my next release. I will try to work on the binaries when I have time.


All times are GMT -5. The time now is 13:51.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi