ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Control Husky UGV directly through Jetson Xavier

asked 2021-05-28 03:53:30 -0500

j3soon gravatar image

updated 2021-05-28 18:50:58 -0500

jayess gravatar image

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.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2021-05-28 03:57:08 -0500

j3soon gravatar image

updated 2021-10-06 23:04:18 -0500

You can ignore the following error:

ls: cannot access '/etc/ros/melodic/ros.d/*.xacro': No such file or directory

The real issue causing ros.service to stop is the error here:

ros: Can't launch as unprivileged user without setpriv. Please install the setpriv package.

You can fix it by:

sudo apt-get install -y setpriv

keey your Husky's power on and restart the service (or simply reboot)

systemctl restart ros.service

You should now be able to receive status from the topic /status as mentioned in the documentation.

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2021-05-28 03:53:30 -0500

Seen: 149 times

Last updated: Oct 06 '21