diff --git a/ur_calibration/CHANGELOG.rst b/ur_calibration/CHANGELOG.rst new file mode 100644 index 0000000..2042ce0 --- /dev/null +++ b/ur_calibration/CHANGELOG.rst @@ -0,0 +1,7 @@ +0.0.2 (2019-07-03) +------------------ +* Catch exception and log error when no connection can be established + +0.0.1 (2019-06-28) +------------------ +Initial release diff --git a/ur_calibration/package.xml b/ur_calibration/package.xml index 05a74ee..a10529f 100644 --- a/ur_calibration/package.xml +++ b/ur_calibration/package.xml @@ -1,7 +1,7 @@ ur_calibration - 0.0.1 + 0.0.2 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 diff --git a/ur_calibration/src/calibration_correction.cpp b/ur_calibration/src/calibration_correction.cpp index f460b48..a804e53 100644 --- a/ur_calibration/src/calibration_correction.cpp +++ b/ur_calibration/src/calibration_correction.cpp @@ -183,13 +183,20 @@ int main(int argc, char* argv[]) ros::init(argc, argv, "ur_calibration"); ros::NodeHandle nh("~"); - CalibrationCorrection my_calibration_correction(nh); - my_calibration_correction.run(); - if (!my_calibration_correction.writeCalibrationData()) + try { - ROS_ERROR_STREAM("Failed writing calibration data. See errors above for details."); - return -1; + CalibrationCorrection my_calibration_correction(nh); + my_calibration_correction.run(); + if (!my_calibration_correction.writeCalibrationData()) + { + ROS_ERROR_STREAM("Failed writing calibration data. See errors above for details."); + return -1; + } + ROS_INFO("Calibration correction done"); + } + catch (const UrException& e) + { + ROS_ERROR_STREAM(e.what()); } - ROS_INFO("Calibration correction done"); return 0; } diff --git a/ur_controllers/CHANGELOG.rst b/ur_controllers/CHANGELOG.rst new file mode 100644 index 0000000..9696074 --- /dev/null +++ b/ur_controllers/CHANGELOG.rst @@ -0,0 +1,7 @@ +0.0.2 (2019-07-03) +------------------ +Releasing alongside other packages. No updates. + +0.0.1 (2019-06-28) +------------------ +Initial release diff --git a/ur_controllers/package.xml b/ur_controllers/package.xml index 35e505e..5f13530 100644 --- a/ur_controllers/package.xml +++ b/ur_controllers/package.xml @@ -1,7 +1,7 @@ ur_controllers - 0.0.1 + 0.0.2 Provides controllers that use the speed scaling interface of Universal Robots. diff --git a/ur_rtde_driver/CHANGELOG.rst b/ur_rtde_driver/CHANGELOG.rst new file mode 100644 index 0000000..e3781a9 --- /dev/null +++ b/ur_rtde_driver/CHANGELOG.rst @@ -0,0 +1,15 @@ +0.0.2 (2019-07-03) +------------------ +* Fixed dependencies and installation +* Updated README +* Fixed passing parameters through launch files +* Added support for correctly switching controllers during runtime and using the standard + joint_trajectory_controller +* Updated externalcontrol URCap to version 1.0.2 + + Fixed Script timeout when running the URCap inside of a looping tree + + Fixed a couple of typos +* Increased minimal required UR software version to 3.7/5.1 + +0.0.1 (2019-06-28) +------------------ +Initial release diff --git a/ur_rtde_driver/launch/ur10_bringup.launch b/ur_rtde_driver/launch/ur10_bringup.launch index ef2d990..a450465 100644 --- a/ur_rtde_driver/launch/ur10_bringup.launch +++ b/ur_rtde_driver/launch/ur10_bringup.launch @@ -23,6 +23,7 @@ + diff --git a/ur_rtde_driver/launch/ur10e_bringup.launch b/ur_rtde_driver/launch/ur10e_bringup.launch index 317b44c..bd8da33 100644 --- a/ur_rtde_driver/launch/ur10e_bringup.launch +++ b/ur_rtde_driver/launch/ur10e_bringup.launch @@ -4,7 +4,7 @@ - + @@ -13,7 +13,7 @@ - + @@ -32,12 +32,15 @@ + + + diff --git a/ur_rtde_driver/launch/ur3_bringup.launch b/ur_rtde_driver/launch/ur3_bringup.launch index 3ecd9eb..e31ddf3 100644 --- a/ur_rtde_driver/launch/ur3_bringup.launch +++ b/ur_rtde_driver/launch/ur3_bringup.launch @@ -23,6 +23,7 @@ + diff --git a/ur_rtde_driver/launch/ur3e_bringup.launch b/ur_rtde_driver/launch/ur3e_bringup.launch index 02ff890..3588a20 100644 --- a/ur_rtde_driver/launch/ur3e_bringup.launch +++ b/ur_rtde_driver/launch/ur3e_bringup.launch @@ -4,7 +4,7 @@ - + @@ -13,7 +13,7 @@ - + @@ -32,12 +32,15 @@ + + + diff --git a/ur_rtde_driver/launch/ur5_bringup.launch b/ur_rtde_driver/launch/ur5_bringup.launch index 60a2363..dd71af6 100644 --- a/ur_rtde_driver/launch/ur5_bringup.launch +++ b/ur_rtde_driver/launch/ur5_bringup.launch @@ -23,6 +23,7 @@ + diff --git a/ur_rtde_driver/launch/ur5e_bringup.launch b/ur_rtde_driver/launch/ur5e_bringup.launch index ad46d76..f324d0e 100644 --- a/ur_rtde_driver/launch/ur5e_bringup.launch +++ b/ur_rtde_driver/launch/ur5e_bringup.launch @@ -4,7 +4,7 @@ - + @@ -13,7 +13,7 @@ - + @@ -32,12 +32,15 @@ + + + diff --git a/ur_rtde_driver/launch/ur_common.launch b/ur_rtde_driver/launch/ur_common.launch index 646d378..f54d992 100644 --- a/ur_rtde_driver/launch/ur_common.launch +++ b/ur_rtde_driver/launch/ur_common.launch @@ -10,7 +10,7 @@ - + @@ -36,11 +36,14 @@ + + + diff --git a/ur_rtde_driver/launch/ur_control.launch b/ur_rtde_driver/launch/ur_control.launch index e2a6d40..aad3ff6 100644 --- a/ur_rtde_driver/launch/ur_control.launch +++ b/ur_rtde_driver/launch/ur_control.launch @@ -15,7 +15,7 @@ - + @@ -45,7 +45,7 @@ - + diff --git a/ur_rtde_driver/package.xml b/ur_rtde_driver/package.xml index f9ae0b2..bd5f7ce 100644 --- a/ur_rtde_driver/package.xml +++ b/ur_rtde_driver/package.xml @@ -2,7 +2,7 @@ ur_rtde_driver - 0.0.1 + 0.0.2 The new driver for Universal Robots UR3, UR5 and UR10 robots with CB3 controllers and the e-series. Thomas Timm Andersen Simon Rasmussen diff --git a/ur_rtde_driver/resources/externalcontrol-1.0.1.urcap b/ur_rtde_driver/resources/externalcontrol-1.0.1.urcap new file mode 100644 index 0000000..f7c4091 Binary files /dev/null and b/ur_rtde_driver/resources/externalcontrol-1.0.1.urcap differ diff --git a/ur_rtde_driver/resources/externalcontrol-1.0.urcap b/ur_rtde_driver/resources/externalcontrol-1.0.urcap deleted file mode 100644 index 55b1502..0000000 Binary files a/ur_rtde_driver/resources/externalcontrol-1.0.urcap and /dev/null differ diff --git a/ur_rtde_driver/src/ros/hardware_interface.cpp b/ur_rtde_driver/src/ros/hardware_interface.cpp index e65edf6..ac33cdb 100644 --- a/ur_rtde_driver/src/ros/hardware_interface.cpp +++ b/ur_rtde_driver/src/ros/hardware_interface.cpp @@ -287,15 +287,17 @@ void HardwareInterface ::read(const ros::Time& time, const ros::Duration& period void HardwareInterface ::write(const ros::Time& time, const ros::Duration& period) { - if (position_controller_running_ && - (runtime_state_ == static_cast(rtde_interface::RUNTIME_STATE::PLAYING) || - runtime_state_ == static_cast(rtde_interface::RUNTIME_STATE::PAUSING))) + if (runtime_state_ == static_cast(rtde_interface::RUNTIME_STATE::PLAYING) || + runtime_state_ == static_cast(rtde_interface::RUNTIME_STATE::PAUSING)) { - ur_driver_->writeJointCommand(joint_position_command_); - } - else - { - ur_driver_->writeKeepalive(); + if (position_controller_running_) + { + ur_driver_->writeJointCommand(joint_position_command_); + } + else + { + ur_driver_->writeKeepalive(); + } } }