Replies: 4 comments 10 replies
-
roscore is a ROS 1 command. The instructions you were looking at were for ROS 1. Sounds like your joystick is working from your jstest results. Can you show the output of running the launch file you tried earlier Also, someone had an issue where they didn’t press an enable button #99 (comment) |
Beta Was this translation helpful? Give feedback.
-
You can try all the support joystick configurations.. go through one at a time. There's xbox, ps3, ps3-holonomic, atk3, and xd3 Also to move the robot you need to move the joystick and press the forward button For a quick test you could push each button and trigger while pointing the joystick in the "up" position. I use the atk3 joystick profile: |
Beta Was this translation helpful? Give feedback.
-
Thanks for the suggestions! |
Beta Was this translation helpful? Give feedback.
-
Hi Briana,
I bought an inexpensive Xbox-compatible controller and I’m hypothesising it may have some limitations that mess up its working with ROS2. It came with a USB dongle that I’ve connected to the RPI, which then sees it as a USB-connected device, not Bluetooth. My thinking has been that I will want it to control the robot even when I’m not using the laptop. But your thoughts and suggestions for connections would be welcome.
The RPi does see the button presses when I use jstest. I’ve not understood why Create3 has adapted the ROS2 teleop joystick drivers rather than simply pointing us at ROS and the instructions there. Doing so would have saved me going down a rabbit-hole. But I suspect there’s a good reason.
David
… On Aug 9, 2022, at 2:12 PM, Briana Bouchard ***@***.***> wrote:
Sounds awesome! I am new to ROS2 as of this summer, so I totally understand being early in the journey. It sounds like you have a perfect setup. I'll replicate it on my end, though I only have a PS3 controller rather than xbox. One more question for you...how is the xbox controller connected? Do you have it connected via USB cable to the RPi or is it connected to your laptop via USB or is it connected to one or the other via Bluetooth (I don't know the options with xbox)?
I've been messing around with the teleop joy ROS2 package (the one create3_teleop builds on). I'm hoping to eventually suggest some modifications to the create3_teleop package to make troubleshooting a little easier and have an option to easily disable the pesky enable button. All a work in progress, but I'd love to get to the root of your issue so I can work that into the suggestions.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
While the keyboard teleop works fine for my robot, I am having trouble with installing an Xbox-360 controller.
This command does nothing:
ros2 launch create3_teleop teleop_joystick_launch.py
I am following the instructions given by Justin here: https://github.com/iRobotEducation/create3_docs/discussions/99
I seem to have something wrong with my "joystick node".
Trying to disentangle this, I have followed instructions in http://wiki.ros.org/joy/Tutorials/ConfiguringALinuxJoystick
I have configured the joystick as directed, can see its output change with:
jstest /dev/input/js0
However, starting the Joy Node, the command
roscore
gives an error:and the joy node does not start.
Suggestions for me please?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions