[Quick Guide] Ridgeback | xARM6 | Robotiq 2F-140 | Hokuyo

Ridgeback + xARM6 + Robotiq 2F-140 + Hokuyo


This post is a quick and compact guide for working with the Clearpath Ridgeback equipped with 2xHokuyo, UFactory xARM6 and Robotiq 2F-140 Gripper.

Informative Links

Ridgeback Description

The Ridgeback is a versatile indoor robot platform of the Canadian manufacturer Clearpath Robotics. It is medium size, designed to effortlessly move heavy payloads and manipulators using an omni-drive. Its omnidirectional base enables precise positioning even in confined spaces, and it features an onboard computer, front Hokuyo laser scanners, optional rear Hokuyo laser scanners, and an IMU. The Ridgeback is fully integrated with ROS and Gazebo, and can be seamlessly connected with Clearpath’s diverse range of robot accessories.ROS Noetic is pre-installed, so after receiving the robot the user can start developing algorithms right away.

UFactory xARM6 Description

The uFactory xARM6 is a cost-effective robotic arm that is redefining the way businesses and industries approach automation. This innovative robotic arm is designed to be highly versatile and user-friendly, making it suitable for a wide range of applications. It is equipped with a variety of features that allow it to perform complex tasks with ease, including six-axis motion control, high-precision servo motors, and a built-in controller. The UFactory xARM6 is also highly adaptable, with a modular design that allows users to add or remove end-effectors and other accessories as needed. Whether it is used in manufacturing, research, or other industries, the uFactory xARM6 is a game-changing technology that is driving the future of robotics.

Robotiq 2F-140 Gripper Description

The Robotiq 2F-140 Gripper is a versatile and flexible robotic gripper designed for industrial applications. With its 140mm stroke, it can handle a wide range of objects, from small and delicate items to larger and heavier objects up to 5 kg. The gripper’s unique two-finger design provides a secure and stable grip, while its adaptive gripper fingers can automatically adjust to different shapes and sizes. The Robotiq 2F-140 Gripper is easy to integrate and operate and is compatible with a variety of robot brands and models. It is an ideal solution for pick-and-place applications, assembly, packaging, and other industrial automation tasks.

Quick Start

Powering On

The robot is turned on via the power button located on the right-rear end, and the start-up of the Ridgeback may take up to a minute to start. Once booted the Ridgeback displays flashing yellow lights on the rear left side of the robot, which means that the e-reset button located on the left-rear end of the robot needs to be pressed in order to complete the startup process of Ridgeback. Push the button once to complete the Ridgeback startup process. When powered on, the xARM6 which is mounted on the top of the Ridgeback is also powered on.

When the Ridgeback displays white lights in the front and red lights in the back, it means that the system has successfully started. The PS4 controller can be then used for movement.


Some quick useful commands in case there is an issue with the joystick is to ssh into the robot and teleoperated it via:

rosrun teleop_twist_keyboard teleop_twist_keyboard.py


This robot has a computer on board with the MCU port being on and the main PC being on, the Hokuyo Lidar port being on and xARM6 port being on

Device Network Password
Ridgeback clearpath
Hokuyo Lidar Front
Hokuyo Lidar Rear

Driver Configuration

Depending on the configuration of the Ridgeback, auxiliary sensors software drivers such as LiDar may start with the robot but often do not run as disconnection or damage of the wire of the sensor can cause the robot to startup incorrectly (In this case both Hokuyo Lidar drivers are turned on).

Robot Interface

For software remote connection, the robot has to be accessed once to configure the WiFi network. This network configuration can take place in one of two methods, the first being via the static network connection and the second being through the screen, where the screen method is much quicker and easier for clients to set up.

Static Network Connection

For the first time, one needs to connect through a LAN cable to configure the robot’s WLAN network.

To create a static connection in your own PC (not the Ridgeback), in Ubuntu go to Settings → Network then click on + and create a new connection.

  1. The first task is to go to IPv4 and change the connection to manual.

  2. The second task is to put the Address IP as (may differ from robot to robot) and the Netmask as 24.


Click save and restart your network. Next is to connect the LAN cable to the robot. After a successful connection let’s check the host’s local IP by typing in the Host PC’s terminal.


This should show the host IP which was assigned in the above step. Now its time to check if we can ping the robot or not, to do so type in your host pc


After a successful ping, it’s time to access the robot. To access the robot you can type the following command:

ssh -X administrator@

The password is


Screen Connection

An alternative for connecting to the Ridgeback is by plugging in an HDMI cable as well as a mouse and keyboard. This will allow you to connect the Ridgeback to your own local WiFi network and then you can connect later over the WiFi.

Ridgeback PC

The procedure is simply to go to your networks and add your WiFi. Then in the terminal type:


The IP that comes with the initial characters of wl is your WiFi’s IP. e.g. wlps0. With this IP you can SSH to your robot via your host PC.

ssh -X administrator@ is just an example of this. IP is taken from the ifconfig.


Robot Software

The Ridgeback drivers configured by MYBOTSHOP are located in the ros_ws. In the src folder, the third_party contains the drivers for the Ridgeback and xARM6 as well as any auxiliary sensors such as the Hokuyo Lidars and Robotiq gripper. When connecting or ssh’ing to the robots pc, additional information regarding the robot will be displayed e.g.

     _  _  _  _  ____   __  ____  ____  _  _   __  ____       
    ( \/ )( \/ )(  _ \ /  \(_  _)/ ___)/ )( \ /  \(  _ \     
    / \/ \ )  /  ) _ ((  O ) )(  \___ \) __ ((  O )) __/     
    \_)(_/(__/  (____/ \__/ (__) (____/\_)(_/ \__/(__)      

Current PC: Ridgeback-xARM (RX) 

Pswd:         clearpath
SSH:          ssh -X administrator@

xARM IP: (INFO: Default on)

Hokuyo F IP:  (INFO: Default on)

Hokuyo R IP:  (INFO: Default on)


RX status:    sudo service rx status
RX start:     sudo service rx start
RX stop:      sudo service rx stop
RX restart:   sudo service rx restart

Update startup:  rosrun rx_startup startup_installer.py 


xARM Driver:     roslaunch rx_startup arm.launch
                 (INFO: Default on)
Robotiq Driver:  roslaunch rx_robotiq robotiq_hw.launch
                 (INFO: Default on)

View robot:      roslaunch rx_viz view_robot.launch
                 (INFO: Default off)

View model:      roslaunch rx_viz view_model.launch
                 (INFO: Default off)

Robot Moveit


We have integrated ROS moveit via moveit_setup_assistant with the Ufactory xARM6 and a Robotiq 2f-140 gripper mounted on a Clearpath Ridgeback, to enable manipulation of objects for tasks such as pick-and-place. The moveit driver by default is off and can be run via:

roslaunch rx_startup moveit.launch

Note: The execution of robotiq gripper has not yet been included in this moveit setup.

Robot Visualization

The robot can be visualized using rviz by running the following command

roslaunch rx_viz view_robot.launch

Similarly, the model can be visualized using rviz by running the following command

roslaunch rx_viz view_model.launch

Robot Description

We have added three components to the Ridgeback, one is the base plate which is attached to the top plate of the Ridgeback, a xARM6 that sits atop of the base plate, and finally, a gripper end-of-effector attached to the xARM6.

These components can be further investigated in the file named accessories.urdf.xacro which is located in the directory rx_description/xacro/accessories.urdf.xacro

Robot Startup

The Ridgeback ordinarily utilizes Clearpath startup job unless otherwise specified. In this robot, we have our own upstart job which has ros multi-machine setup on the ip In case there is an issue with the robot not starting up. One can ssh into the Ridgeback and verify if the startup job is working correctly.

sudo service rx status

The red marker in the service indicates that the startup job has failed. Green indicates everything is working correctly. Grey indicates that the service has not started yet. In case of red or grey marker, you may restart the service via:

sudo service rx restart

If you want to modify the upstart job or add other ROS launch files to it then it is recommended to add your changes to the main upstart file i.e. rx_system.lunch located in the rx_startup package. Once done, save the file and run the following command to update the startup job.

rosrun rx_startup startup_installer.py  

Additionally, the setup.bash in rx_startup/config file consists of environment variables of the robot and sensors that can be used to enable and disable certain features. Robot Variables for different accessories are named as follow:

Device Variable Name

Auxiliary Components

xARM6 Driver

The xARM6 drivers are started via:

roslaunch rx_startup arm.launch

This driver is required when using the rx_moveit package.

Note: The driver is by default ON

Hokuyo Lidar

The Lidar drivers are started via:

roslaunch rx_lidars lidars.launch

Note: The driver is by default ON

Robotiq Driver

Robotiq drivers can be turned on by using the following command:

roslaunch rx_robotiq robotiq_hw.launch

Note: The driver is by default ON