Giter VIP home page Giter VIP logo

Comments (5)

Alexey-Kamenev avatar Alexey-Kamenev commented on May 31, 2024

That's a good question, I currently only have an older Shield controller (the one that uses WiFi Direct, not Bluetooth). Let me find the new one and get back to you. In general though, as long as it can be recognized by Linux as joystick device (e.g. visible under /dev/input/js*) it should work fine. There might be some changes required in case the button/axis mapping is different from what we support now (Shield, XBox Wired and XBox Wireless) but it's a minor change.

from redtail.

xuming-shanghai avatar xuming-shanghai commented on May 31, 2024

Thanks Alexey, that's the key point whether bluetooth will create an input node works under ubuntu linux.
In China, it's hard to purchase single shield controller without host box.
Above link, it is the unique vendor on TaoBao(alibaba) I can found.
so, thank you help me try a new one.

from redtail.

Alexey-Kamenev avatar Alexey-Kamenev commented on May 31, 2024

I've successfully tested the new controller and had to make a small change to the code as the new Shield has slightly different axis mapping. I've merged the changes to master branch, please sync. Use shield_2017 joystick type in px4_controller when running with new Shield, something like that:

rosrun px4_controller px4_controller_node _joy_type:=shield_2017

Bluetooth connection worked fine on my Ubuntu 16.10. Make sure to enable Bluetooth and pair joystick, device name should be something like NVIDIA Controller v01.04 (your version number might differ).
Once connected, do ls /dev/input/js* to make sure the device is available.

from redtail.

xuming-shanghai avatar xuming-shanghai commented on May 31, 2024

Thanks Alexey. That's great.

from redtail.

Alexey-Kamenev avatar Alexey-Kamenev commented on May 31, 2024

Closing the issue. Feel free to re-open or create new one.

from redtail.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.