mike4192 / spotMicro

Spot Micro Quadruped Project
MIT License
1.87k stars 462 forks source link

working try to add PS4 alike joystick control node #52

Closed sbias closed 3 years ago

sbias commented 3 years ago

Very first try to add joystick control. Its just "hacked" together, but works. Since this is my first contact with ROS – please feel free to rip it apart :)

mike4192 commented 3 years ago

Have you been able to test this with a joystick? If so did you observe any issues? Do you know how fast the joystick node publishes data at?

mike4192 commented 3 years ago

Can you add a basic description of this node to main readme in the Description of ROS Nodes section?

If there's more detail you'd like to add, you could also explain it further in the Additional Project Components section. For example, I'd be interested to know what joystick or types of joysticks are supported, or an example of one that works, and any additional useful information about using a joystick with the joy node.

sbias commented 3 years ago

Have you been able to test this with a joystick? If so did you observe any issues? Do you know how fast the joystick node publishes data at?

Of cause i tested it before pushing :) very rudimentary video-documentation here: https://www.youtube.com/watch?v=vOrWoJ2Obgk and here: https://www.youtube.com/watch?v=It0cUAuNipc

sbias commented 3 years ago

I think i resolved all comments, but missing the documentation part. i try to do it this evening or tomorrow.

mike4192 commented 3 years ago

Have you been able to test this with a joystick? If so did you observe any issues? Do you know how fast the joystick node publishes data at?

Of cause i tested it before pushing :) very rudimentary video-documentation here: https://www.youtube.com/watch?v=vOrWoJ2Obgk and here: https://www.youtube.com/watch?v=It0cUAuNipc

Amazing!!! I might have to get a controller to use this mode of control myself.

mike4192 commented 3 years ago

Looks good. Really nice job!

I'm excited to try this out myself at some point. It'll definitely ease control over a keyboard.