In part one of the RACECAR software install, we set the stage. In this article, we install the RACECAR packages. Looky here:
One of the packages that is installed is for Ackerman Steering. This is the type of steering geometry that is used in most automobiles. Angled steering arms allow the wheel angles to change at a different rate. In the old horse buggy days, parallel steering arms were used on which when the wheels turned, both turned at the same angle. As you know, the wheel closest to a turn follows a smaller radius circle than the outside wheel. In other words, the outside wheel travels further than the inner wheel, so it is intuitive that the angle of the outer wheel should be different than the inner one. Angled steering arms provide a mechanical solution to the problem. The R/C car used in the Jetson RACECAR has this type of steering mechanism connected to the steering servo.
This is a straightforward installation which installs the ROS racecar package, along with packages for nodes controlling the VESC (Vedder Electronic Speed Controller) and an Ackerman Steering node. There is also a Stereolabs ZED camera package installed, and support for some other sensors.
All of these packages come straight from the MIT RACECAR repository. The install script is in the JetsonHacks account on Github.
$ git clone https://github.com/jetsonhacks/installRACECAR.git
$ cd installRACECAR
Most of the needed software is now installed on the Jetson RACECAR. The one remaining issue before we can get the vehicle rolling is the VESC, which needs firmware installation and configuration. This is done using a software tool called ‘bldc-tool’, and is the subject of the next article. Stay tuned!
I noticed that you have the Scanse.io LIDAR sweep, I do too 🙂 really good, however I would like to know if you have the same issue as me.
I had install the sweep node and alos the point to cloud laser scan node (ros-kinetic-pointcloud-to-laserscan) but I can’t see any data comming our from the sensor via rostopic echo, not even when running the visualization with rviz nodes.
have you experimented this issue?
I have a TX1 BTW 🙂
thanks for any guidance
I don’t have any results to share at this time. Thanks for reading!
I just get below commend during ./installRACECAR.sh , what should I do?
./installRACECAR.sh: line 39: catkin_make: command not found
./installRACECAR.sh: line 40: catkin_make: command not found
After you installed ROS, how did you create your Catkin Workspace?
I just get below log, when I installed ROS.
ubuntu@tegra-ubuntu:~/installROSTX1$ ./setupCatkinWorkspace.sh jetsonbot
./setupCatkinWorkspace.sh: line 5: /opt/ros/kinetic/setup.bash: No such file or directory
Creating Catkin Workspace: /home/ubuntu/jetsonbot
./setupCatkinWorkspace.sh: line 20: catkin_init_workspace: command not found
./setupCatkinWorkspace.sh: line 22: catkin_make: command not found
Did you install ROS itself?
ln the installROSTX1 directory?
yes, i just follow your other Video.
What version of L4T are you running, and what type of Jetson do you have? It appears that your ROS installation is invalid.
[ 52%] Built target vesc_ackermann_nodelet
Makefile:138: recipe for target ‘all’ failed
make: *** [all] Error 2
Invoking “make -j4 -l4” failed
would it be possible to get a package that just contains vesc and Logitech f710. the need for this is to just make the motor run. although i am getting a Slamtec RPLIDAR A3 in a week and i am looking for a ZED camera, the ./installRACECAR.sh installs everything. again its just to see the motor spin with the Logitech f710
thank you in advance
You can follow the F1/10th install instructions which should get you pretty close to what you are looking for: https://f1tenth.readthedocs.io/en/latest/getting_started/software_setup/index.html
Good luck on your project!
does the vesc package require lidar to function? meaning if i remove the zed camera and lidar from the workspace and do catkin make, will i be able to use the logitech gamepad to control the vesc?
Under ROS each device is typically defined by a node. Each node has it’s own set of dependencies. However, the VESC is pretty much a stand alone package, as is the Logitech game controller. The ROS tele-op package uses input from the game controller and sends commands to the VESC node. The ZED camera and the lidar are not used in the tele-op package.
i get errors of failure to launch razor imu along with cannot open network Hokuyo 192.168.0.10:10940 when i use “roslaunch racecar teleop.launch”.
jstest works, the vesc and motor does work when connected to my pc using the windows tool.
using rostopic echo i do see activity on /vesc/joy but no activity on /vesc/commands/motor/speed or /vesc/low_level/ackermann_cmd_mux/input/teleop, /vesc/commands/servo/position displays .5304
i have been pressing the deadman button but no movement on the motors.
There is a switch on the back of the F710 game controller. Is it set to ‘D’ ?