The Goldilocks Sensibility Measurements refer to a precise and methodical process designed to assess the mechanical and sensory capabilities of the UR robot in real-world applications. This process leverages both hardware and software components to ensure the system operates within optimal performance thresholds. Below is a visual demonstration of the sensibility measurements in action:
- Ethernet Setup: Ensure the Ethernet cable is properly connected between the UR robot and the laptop.
- UR Initialization: Power on the UR robot and ensure it is initialized properly.
- Robot IP Configuration: Confirm the robot’s IP address is set to
192.168.1.102. - Laptop IP Configuration: Confirm the Laptops’s IP address is set to
192.168.1.101. - Workspace Setup: Open Visual Studio Code (VSC) and select the
goldilocks_sensibility_wsworkspace folder. - Dependency Management: Use either Docker (recommended) or install the necessary dependencies locally as specified in the Dockerfile. To install dependencies manually, run:
rosdep install --from-paths src --ignore-src -y
Once the setup is complete, follow the steps below to run the sensibility measurement program:
-
Launch ROSBridge Server: Start the ROSBridge server for TCP communication between the laptop and the UR:
roslaunch rosbridge_server rosbridge_tcp.launch
This connects the laptop to the UR via TCP, allowing the force-torque sensor data to be published.
-
Open HMI for Sensibility Control: Launch the sensitivity measurement control interface:
roslaunch tars_robot measure_sensitivity.launch
The Human-Machine Interface (HMI) allows you to:
- Enter freedrive mode to teach measurement points (
Setupbutton). - Switch to external control mode to control the robot via MoveIt RViz (
Begin External Controlbutton). - Stop both programs and the TCP connection (
Defaultbutton).
- Enter freedrive mode to teach measurement points (
-
Start Sensibility Measurement: Once the measurement points are defined, start the sensibility measurement process:
roslaunch tars_robot start_sensibility_measurement.launch
You can adjust program parameters in the file:
src/tars_robot/param/sensitivity_program_param.yaml
-
Data and Plots: The program will automatically save CSV files of the results in:
src/tars_robot/data
Python scripts will automatically generate plots for each measurement set if they do not exist. If a 3D visualization of the measurement is required, connect the camera to the laptop. Ensure the camera is connected via a powered USB hub if an extension cable is used.
rosrun tars_robot create_sensibility_plot.py
The hardware setup for the Goldilocks Sensibility Measurements is crucial for obtaining accurate and reliable data. Below are the key components and configuration steps:
- UR10 Robot: The primary robotic platform used for manipulation and testing.
- FT300 Force-Torque Sensor: Provides precision measurements of applied forces and torques during the test.
- Camera: Mounted on the test finger gripper to capture visual data during the process.
- FT300 Sensor: Ensure the FT300 sensor is securely connected to the UR10 robot via USB. The sensor provides crucial feedback for force and torque measurements.
- Camera Mounting: The camera must be firmly mounted on the test finger gripper to capture relevant visual data.
- UR Software: The UR10 should have Polyscope version 3.12.x or later installed to ensure compatibility with the measurement programs.
- ROS Setup: ROS Noetic should be installed on the controlling machine (e.g., laptop) to allow for communication with the robot and sensor systems.
- Catkin Workspace: Navigate to your Catkin workspace and ensure the required packages are installed:
cd ~/catkin_ws
- IP Configuration: Confirm that the IP address of your laptop is set to
192.168.1.101. This ensures proper communication with the UR robot. - System Update & ROS Dependencies:
Ensure the system is updated and ROS dependencies are installed:
sudo apt-get update rosdep install --from-paths src --ignore-src -y
This hardware and software configuration ensures the UR robot is prepared for accurate sensibility measurements and optimal interaction with both the physical environment and external control interfaces.
-
Navigate to your Catkin workspace:
cd ~/catkin_ws
-
Ensure your laptop IP is configured correctly:
Laptop IP = 192.168.1.101
-
Update the system and install necessary ROS dependencies:
sudo apt-get update rosdep install --from-paths src --ignore-src -y rosdep install --from-paths src --ignore-src -r -y
-
Run the calibration correction launch file:
roslaunch ur_calibration calibration_correction.launch robot_ip:=192.168.1.102 target_filename:="${HOME}/my_robot_calibration.yaml" -
Bring up the UR10 robot with the driver:
roslaunch ur_robot_driver ur10_bringup.launch robot_ip:=192.168.1.102 kinematics_config:=/home/kevin/catkin_ws/src/ur_calibration/ex-ur5_calibration.yaml
-
Start the MoveIt planning and execution:
roslaunch ur10_moveit_config moveit_planning_execution.launch limited:=true
-
Launch the MoveIt Rviz interface:
roslaunch ur10_moveit_config moveit_rviz.launch config:=true
Launch the RealSense camera and point cloud:
roslaunch realsense2_camera demo_pointcloud.launchLaunch ROSBridge Server for TCP communication:
roslaunch rosbridge_server rosbridge_tcp.launchTo start the Gazebo simulation for the UR robot, run:
roslaunch tars_robot gazebo_sim.launch-
Load a specific program on the UR robot:
rosservice call /ur_hardware_interface/dashboard/load_program "{filename: '/programs/Sensitivity_Measurement/2024_07_29_External_Control.urp'}" -
Start the loaded program:
rosservice call /ur_hardware_interface/dashboard/play "{}" -
Stop the running program:
rosservice call /ur_hardware_interface/dashboard/stop "{}"
Note: These instructions are designed for a manual setup, but they can be automated by integrating them into a Dockerfile for ease of deployment in the future.
You can follow the official Docker installation documentation for Ubuntu by visiting the following link:
Docker Install Guide for Ubuntu
-
Update your package list:
sudo apt-get update
-
Install the required packages:
sudo apt-get install ca-certificates curl
-
Add Docker's official GPG key:
sudo install -m 0755 -d /etc/apt/keyrings sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc sudo chmod a+r /etc/apt/keyrings/docker.asc
-
Add the Docker repository to your Apt sources:
echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu $(. /etc/os-release && echo "$VERSION_CODENAME") stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
-
Update your package list again:
sudo apt-get update
-
Install Docker:
sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
-
Verify Docker installation by running the hello-world container:
sudo docker run hello-world
After installing Docker, you can follow these post-installation steps:
Docker Post-Install Guide
-
Create the Docker group:
sudo groupadd docker
-
Add your user to the Docker group:
sudo usermod -aG docker $USER -
Log out and log back in for the changes to take effect.
-
Start a new shell session:
newgrp docker
-
Verify Docker is working without
sudo:docker run hello-world
-
Enable Docker services to start on boot:
sudo systemctl enable docker.service sudo systemctl enable containerd.service



