sixad
Forums:
I used the Playstation 3 Controller help sheet to install the controller on the DiddyBorg. All went well.
jstest reveals that the controller is connected and that I am get response from the various buttons.
However, when I start ./ps3Diddyjoy.sh, I get the error
./ps3DiddyJoy.sh line 5: sixad: command not found.
The script goes on to load the PicoBoard Reverse and I can use the left joystick to move the DiddyBorg back and forth, but the right joystick does not respond. I did see it respond in jstest.
Can you help?
dwphoto
Mon, 03/14/2016 - 11:59
Permalink
sixad
Does sixad have to be installed separately after following the Playsation3 Controller help sheet?
piborg
Tue, 03/15/2016 - 12:03
Permalink
PS3 scripts
With the new Jessie instructions sixad is no longer required to make the PS3 controller work.
You can run the
./runDiddyJoy.sh
instead and it should work without trying to run sixad.In order to steer the DiddyBorg left and right you need to hold the right stick in the direction you wish to turn and push the left stick forward at the same time to set the speed.
Shixo87
Thu, 04/28/2016 - 05:53
Permalink
PS3 Controller
Hi,
I had the same issue with the Sixad command not found. I tried "./runDiddyJoy.sh" but I got this message:
Traceback (most recent call last):
File "/home/pi/diddyborg/diddyJoy.py", line 109, in
events = pygame.event.get()
pygame.error: video system not initialized
What is the reason for this? I read from some forums that this command requires the Raspberry to be connected to a screen! how come if I need to launch it from remote SSH?!
piborg
Thu, 04/28/2016 - 10:09
Permalink
pygame.error: video system not initialized
The SSH issue with pygame has been a pain for us, there is a particular line in the script which some poeple need to make it work, others have problems with the line included.
The line in qestion is highlighted here:
Try removing the comment symbol (
#
) from the start of the line and see if the diddyJoy script runs correctly from SSH.