Control Husky UGV directly through Jetson Xavier
I have issue accessing the on-board mini-ITX Computer on Husky UGV, so I decided to control it directly through a Jetson Xavier board. I use ROS Melodic and follow the steps in the documentation: https://clearpathrobotics.com/assets/...
However, after installation, I cannot receive Husky's status by follows:
rostopic echo /status
By inspecting the installation script, I found that the ROS service (ros.service
) doesn't start properly after reboot.
systemctl status ros.service
shows the error message:
ros.service - "bringup ros"
Loaded: loaded (/lib/systemd/system/ros.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Thu 2021-05-27 21:23:23 EDT; 19s ago
Process: 10736 ExecStart=/usr/sbin/ros-start (code=exited, status=1/FAILURE)
Main PID: 10736 (code=exited, status=1/FAILURE)
May 27 21:23:22 xavier systemd[1]: Started "bringup ros".
May 27 21:23:22 xavier ros-start[10736]: <14>May 27 21:23:22 root: ros: Using workspace setup file /etc/ros/setup.bash
May 27 21:23:23 xavier ros-start[10736]: <14>May 27 21:23:23 root: ros: Launching ROS_HOSTNAME=xavier, ROS_IP=, ROS_MASTER_URI=http://127.0.0.1:11311, ROS_HOME=/home/xavier/.ros, ROS_LOG_DIR=/tmp
May 27 21:23:23 xavier ros-start[10736]: ls: cannot access '/etc/ros/melodic/ros.d/*.xacro': No such file or directory
May 27 21:23:23 xavier ros-start[10736]: <14>May 27 21:23:23 root: ros: Generated launchfile: /tmp/ros.launch
May 27 21:23:23 xavier ros-start[10736]: <11>May 27 21:23:23 root: ros: Can't launch as unprivileged user without setpriv. Please install the setpriv package.
May 27 21:23:23 xavier systemd[1]: ros.service: Main process exited, code=exited, status=1/FAILURE
May 27 21:23:23 xavier systemd[1]: ros.service: Failed with result 'exit-code'.
I'm wondering how can I fix it.