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

Have to run as sudo, controller doesn't move the carriage #7

Open
Tailslide opened this issue Sep 10, 2019 · 0 comments
Open

Have to run as sudo, controller doesn't move the carriage #7

Tailslide opened this issue Sep 10, 2019 · 0 comments

Comments

@Tailslide
Copy link

Tailslide commented Sep 10, 2019

Even though I did the udevadm step, running the pendant doesn't recognize me pushing the PS3 button unless I run it as sudo.

After that, it responds with this then nothing else happens and I can't get it to jog the carriage.
Am I missing something???

pi@lowrider:~ $ cncjs-pendant-ps3 -p "/dev/ttyUSB0"
Waiting for Pendant to connect... please press the PS button on the DS3 controller.
^Cpi@lowrider:~ $ sudo cncjs-pendant-ps3 -p "/dev/ttyUSB0"
Waiting for Pendant to connect... please press the PS button on the DS3 controller.
Pendant Connected
connection:change:Not Charging
battery:change:80%
connection:change:Rumbling
Connected to ws://localhost:8000?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IiIsIm5hbWUiOiJjbmNqcy1wZW5kYW50IiwiaWF0IjoxNTY4MDY0NDUxLCJleHAiOjE1NzA2NTY0NTF9.mdpCi6ob4xiHSqRXDJjMYeBnZVp2n1I8p4Ck_l164-A
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

1 participant