Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nav spins ship in circles #27

Closed
kwadroke opened this issue Nov 11, 2013 · 7 comments
Closed

Nav spins ship in circles #27

kwadroke opened this issue Nov 11, 2013 · 7 comments

Comments

@kwadroke
Copy link

Ran into an issue this weekend with a 6 computer game. For some reason the ship was spinning in circles. I tried closing out of the game on the Nav client computer as well as the Main screen client, but, it continued.

I've seen this issue off and on previously but it usually get corrected after a commit, or so I thought.

This was on 32bit Debian Stable but have seen it on Ubuntu off and on.

@smcameron
Copy link
Owner

I have noticed that happening occasionally as well. Seems like it can usually be worked around by tapping on the direction keys, but not sure. BTW, I presume this was on master? Currently most work is happening on the branch called "more-coord-fixing" Do you know if you can reproduce it with that code? Just wondering because I haven't seen this bug in awhile (though I do not remember specifically fixing it.)

-- steve

@smcameron
Copy link
Owner

I should add, I do not remember specifically fixing it, but the way the ship's heading works is completely different on the more-coord-fixing branch than on master, so it might well have been "fixed" (more like broken 2D code was replaced en masse by radically different 3D code.)

-- steve

@smcameron
Copy link
Owner

Another thought. Are you using a joystick? If not, try removing /dev/input/js0 (it should get regenerated on reboot by udev) and see if that makes the problem go away. If you don't like the idea of removing /dev/input/js0, try renaming it. I'm thinking there's something about the joystick that may be causing this. BTW, were you by chance running in a virtual machine?

-- steve

@smcameron
Copy link
Owner

This commit may fix the problem: 2d17f15

Note, that is on the more-coord-fixing branch. It's a trivial fix, so it will probably apply to master, but I'm looking to to a fast-forward merge to master at some point in the (I hope) not too distant future, so I'm not going to put that on master at this time.

@kwadroke
Copy link
Author

I did try tapping keys to see if that would stop it. I could hold it from spinning but soon as I let off it would star spinning again.

I did have a joystick plugged in. The joystick was centered. I'll give it a try with it plugged in and make sure it does it again. If so I'll unplug it and give it another go to see if it does it.

@smcameron
Copy link
Owner

These commits may be of interest as well.

a7a485e Revert broken joystick "fix"
45d3662 initialize automatic joystick
event structure variable

I'm not sure I have a fix (I can't repro the problem reliably) but I am
strongly suspecting it's something to do with the joystick.

-- steve

On Tue, Nov 12, 2013 at 8:33 AM, kwadroke notifications@github.com wrote:

I did try tapping keys to see if that would stop it. I could hold it from
spinning but soon as I let off it would star spinning again.

I did have a joystick plugged in. The joystick was centered. I'll give it
a try with it plugged in and make sure it does it again. If so I'll unplug
it and give it another go to see if it does it.


Reply to this email directly or view it on GitHubhttps://github.com//issues/27#issuecomment-28297457
.

@jv4779
Copy link
Contributor

jv4779 commented Dec 7, 2013

4896cfd fixes the joystick issue for me in VMware.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants