MIT-Racecar doesn't move

asked 2019-05-24 08:58:16 -0500

X4vier gravatar image

Hey there

I have some problems controlling my roboter with ROS. I am using ROS melodic (desktop full) on my Ubuntu 18.04 and on my NVIDIA Jetson Xavier Jetpack 4.2. My roboter is a MIT-Racecar on which I have installed this: https://github.com/RacecarJ/installRA... . I have made some minor changes to those scripts in my repo (substituting kinetic with melodic for example) because the install script was for the Jetson TX2.

On my Desktop machine everything works fine. A PS3 controller which is connected to the Desktop PC sends his commands to the VESC motor-controller. I can see all nodes in the RQT tool and even look at some messages. When I run the same thing on the Xavier, everything looks the same. All nodes are there, all prints during the startup are exactly the same. I can watch the PS3 input in RQT. I can send messages to the motor controller and the motor will start to spin. However, I can not control the motor with the PS3 controller directly. Nothing moves.

I have no clue how I could debug this. All parts work fine for them self. In the beginning I thought the messages might be compiled wrong. But this can not be the case since I can send messages with the RQT.

How should I proceed? Is there an obvious error source I haven't thought about?

edit retag flag offensive close merge delete

Comments

It's not quite clear from your question, but it sounds like some of your nodes might be running on different computers. If that's the case, the issue could be that your network is not set up correctly ( http://wiki.ros.org/ROS/NetworkSetup )

ahendrix gravatar image ahendrix  ( 2019-05-24 21:44:33 -0500 )edit

Actually not. All nodes are/ should be running on one computer. I have just tested the complete setup on two different machines (Jetson and Desktop PC).

X4vier gravatar image X4vier  ( 2019-05-27 01:51:49 -0500 )edit