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

Trying to run joystick example #441

Closed
kc1116 opened this issue Jul 21, 2017 · 6 comments
Closed

Trying to run joystick example #441

kc1116 opened this issue Jul 21, 2017 · 6 comments

Comments

@kc1116
Copy link

kc1116 commented Jul 21, 2017

Getting this error when trying to run the joystick example is the example outdated now ?
./robot.go:17: undefined: gobot.On

@deadprogram
Copy link
Member

Hello @kc1116 can you please point us to the specific example so we can update it? You are most certainly correct about it being out of date.

@kc1116
Copy link
Author

kc1116 commented Jul 21, 2017

This example is outdated https://github.com/hybridgroup/gobot/tree/master/platforms/joystick, it is also on the gobot.io website. Also it might be worth mentioning on macOS in order to get gobot to detect my xbox joystick I had to install https://github.com/360Controller/360Controller your joystick won't get detected automatically without some sort of driver for it.

@kc1116 kc1116 closed this as completed Jul 21, 2017
deadprogram added a commit that referenced this issue Jul 25, 2017
Signed-off-by: deadprogram <ron@hybridgroup.com>
@deadprogram
Copy link
Member

HI @kc1116 please check out this commit 1312c20 to the dev branch. I think it should address most of your issue.

I am going to reopen this, please close if you think it has been handled, or provide additional feedback.

Thanks!

@kc1116
Copy link
Author

kc1116 commented Jul 26, 2017

Looks good !

@kc1116 kc1116 closed this as completed Jul 26, 2017
deadprogram added a commit that referenced this issue Jul 26, 2017
Signed-off-by: deadprogram <ron@hybridgroup.com>
@kc1116
Copy link
Author

kc1116 commented Jul 26, 2017

Does gobot support anything for transceiving lasers or something to that extent ?

@deadprogram
Copy link
Member

You mean like using a laser to send or receive a signal? Not that I have seen.

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

No branches or pull requests

2 participants