-
Notifications
You must be signed in to change notification settings - Fork 226
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into fix/goal_time_violated
- Loading branch information
Showing
49 changed files
with
1,483 additions
and
1,071 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,11 +16,11 @@ jobs: | |
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-python@v4 | ||
- uses: actions/setup-python@v5 | ||
with: | ||
python-version: 3.10.4 | ||
- name: Install system hooks | ||
run: sudo apt-get install clang-format-14 cppcheck | ||
- uses: pre-commit/[email protected].0 | ||
- uses: pre-commit/[email protected].1 | ||
with: | ||
extra_args: --all-files --hook-stage manual |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
<?xml-model href="http://download.ros.org/schema/package_format3.xsd" schematypens="http://www.w3.org/2001/XMLSchema"?> | ||
<package format="3"> | ||
<name>ur</name> | ||
<version>2.4.2</version> | ||
<version>2.4.5</version> | ||
<description>Metapackage for universal robots</description> | ||
<maintainer email="[email protected]">Felix Exner</maintainer> | ||
<maintainer email="[email protected]">Robert Wilbrandt</maintainer> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
|
||
ur_calibration | ||
============== | ||
|
||
Package for extracting the factory calibration from a UR robot and changing it to be used by ``ur_description`` to gain a correct URDF model. | ||
|
||
Each UR robot is calibrated inside the factory giving exact forward and inverse kinematics. To also | ||
make use of this in ROS, you first have to extract the calibration information from the robot. | ||
|
||
Though this step is not necessary, to control the robot using this driver, it is highly recommended | ||
to do so, as end effector positions might be off in the magnitude of centimeters. | ||
|
||
Nodes | ||
----- | ||
|
||
calibration_correction | ||
^^^^^^^^^^^^^^^^^^^^^^ | ||
|
||
This node extracts calibration information directly from a robot, calculates the URDF correction and | ||
saves it into a .yaml file. | ||
|
||
In the launch folder of the ur_calibration package is a helper script: | ||
|
||
.. code-block:: bash | ||
$ ros2 launch ur_calibration calibration_correction.launch.py \ | ||
robot_ip:=<robot_ip> target_filename:="${HOME}/my_robot_calibration.yaml" | ||
For the parameter ``robot_ip`` insert the IP address on which the ROS pc can reach the robot. As | ||
``target_filename`` provide an absolute path where the result will be saved to. | ||
|
||
With that, you can launch your specific robot with the correct calibration using | ||
|
||
.. code-block:: bash | ||
$ ros2 launch ur_robot_driver ur_control.launch.py \ | ||
ur_type:=ur5e \ | ||
robot_ip:=192.168.56.101 \ | ||
kinematics_params_file:="${HOME}/my_robot_calibration.yaml" | ||
Adapt the robot model matching to your robot. | ||
|
||
Ideally, you would create a package for your custom workcell, as explained in `the custom workcell | ||
tutorial | ||
<https://github.com/UniversalRobots/Universal_Robots_ROS2_Tutorials/blob/main/my_robot_cell/doc/start_ur_driver.rst#extract-the-calibration>`_. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
<?xml version="1.0"?> | ||
<package format="2"> | ||
<name>ur_calibration</name> | ||
<version>2.4.2</version> | ||
<version>2.4.5</version> | ||
<description>Package for extracting the factory calibration from a UR robot and change it such that it can be used by ur_description to gain a correct URDF</description> | ||
|
||
<maintainer email="[email protected]">Felix Exner</maintainer> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.