1
0
mirror of https://gitlab.com/obbart/universal_robots_ros_driver.git synced 2026-04-10 10:00:48 +02:00
Commit Graph

474 Commits

Author SHA1 Message Date
gavanderhoorn
413a6568d1 build: add missing CATKIN_DEPENDENCY on ind_msgs. 2018-10-05 14:20:22 +02:00
gavanderhoorn
05b5e3a98d manifest: upgrade to version 2.
And clean build script.
2018-10-05 14:11:54 +02:00
G.A. vd. Hoorn
17305a76b9 manifest: fix misstated license. Fix #203. 2018-10-05 11:59:55 +02:00
G.A. vd. Hoorn
5d6f9848d4 manifest: cleanup 2018-10-05 11:30:39 +02:00
Jonathan Herbert
3f1a5faae3 Fixes and Improvements for README.md (#191)
Squashed commits:

* Fixes and Improvements for README.md
* readme: fix list of tested hw.
2018-09-28 23:50:28 +02:00
G.A. vd. Hoorn
b4bb0d4a65 Merge pull request #120 from Zagitta/master
ur_modern_driver refactor
2018-09-28 23:41:06 +02:00
G.A. vd. Hoorn
70e2c614aa Merge branch 'master' into master 2018-09-28 16:28:59 +02:00
G.A. vd. Hoorn
ad7299921a Merge pull request #21 from nLinkAS/master
Run io serivce operations as secondary urscripts
2018-09-28 14:23:00 +02:00
G.A. vd. Hoorn
50bd24dd3b Merge pull request #9 from NoMagicAi/SAFE_TRAJECTORY_FOLLOWER
Adds Low Bandwith Trajectory Follower implementation
2018-09-27 16:06:39 +02:00
Simon Rasmussen
a2f5f4bed5 Added additional questions to issue template.
Added platform, CB version and connection setup questions to issue template based on G.A. vd. Hoorn's response to #23
2018-06-05 21:54:13 +02:00
axelschroth
c72ec5bded Fixed tcp socket: shutdown() does not destroy socket descriptor -> use close() 2018-05-23 11:29:47 +02:00
Miguel Prada
64f752f744 Initialize VelocityInterface::prev_velocity_cmd_ with zeroes 2018-04-25 17:56:56 +02:00
Jørn Sandvik Nilsson
5c9ffe2ba1 Run io serivce operations as secondary urscripts 2018-03-26 11:39:32 +02:00
Jarek Potiuk
924c371041 Updated README.md to include duration monitoring remarks 2018-03-24 13:14:53 +01:00
Jarek Potiuk
71bca7abf7 Refactored intialisation of ROSController/ActionServer 2018-03-24 13:14:53 +01:00
Jørgen Borgesen
a9530c8586 Add robot_state_publisher as a dependency (#20)
Adds robot_state_publisher to package.xml. The package is used in launch files and should be defined as a dependency.
2018-03-20 21:34:13 +01:00
Simon Rasmussen
7eaa51839a Broken build fix, oops! 2018-03-01 10:58:16 +01:00
Simon Rasmussen
24d4406c91 Fixed compatability issue
Pre-refactor version of URScript topic used to automatically append newline when not the last character of the message however that was not the case for the new version.
2018-03-01 10:07:44 +01:00
Miguel Prada
a2137b4762 Replace ros_controllers metapackage dependency for controller packages 2018-02-15 11:05:01 +01:00
Miguel Prada
d7d84caee7 Add time parameter to speedj for UR software >= 3.3
Fixes #15.

Related to https://github.com/ThomasTimm/ur_modern_driver/issues/92
2018-02-15 10:50:35 +01:00
Jarek Potiuk
db61edfe5b Remove added warning options.
Those warning options are separated out to #8 pull request
so there is no point in adding them here as well.
2018-02-05 00:03:48 +01:00
Jarek Potiuk
992c661e9e Removed unused append method 2018-02-04 23:50:50 +01:00
Jarek Potiuk
8f5df0145f Removed unused debug/more_debug options 2018-02-04 23:21:01 +01:00
Jarek Potiuk
b4718ab4d2 Only do adjustment of position at the very end of the move 2018-02-04 22:40:27 +01:00
Jarek Potiuk
2ace46d824 Bring all parameters in example launch files to common/latest parameters 2018-02-04 22:40:14 +01:00
Jarek Potiuk
42b336bbf5 Faster loading speed and better precision for LBTF
Low Bandwidth Trajectory Follower has now much less comments
and debugging information - which means that it will parse on UR robot
in around 400 ms instead of 700 ms. It also has an adjustment loop
in case the robot does not reach any of the trajectory points specified.

It will catch-up at every trajectory point sent by MoveIt and will try
to get as close as possible to the desired pointi (it will check if all
joints are within MAX_JOINT_DIFFERENCE from the desired positions)
2018-01-27 13:14:38 +01:00
Simon Rasmussen
0611afcf40 Create issue_template.md 2018-01-17 19:01:01 +01:00
Jarek Potiuk
a54b97e939 Renamed Safe Trajectory Follower to Low Bandwidth one 2018-01-14 22:01:53 +01:00
Jarek Potiuk
5dcef72415 Adds Safe Trajectory Follower implementation
Safe Trajectory Follower implements different approach for controlling
the robot. Rather than calculate the interpolation steps in the driver
and send the small interpolated steps over the network to the URScript
program with 500Hz frequency, the coarser MoveIt trajectory is sent
(with few Hz) and the interpolation steps are calculated by the
URScript.

The algorithm for time progress has also built-in protection against
any delays induced by load on the driver, network or URControl - it
will never "catch-up" dangerously when such delay are introduced,
It will rather pause and wait for the next small interpolation step
instructions and re-start the move slower - never skipping any
interpolated steps.

Those changes make Safe Trajectory Follower much more resilient to
network communication problems and removes any superficial requirements
for the network setup, kernel latency and no-load-requirement for the
driver's PC - making it much more suitable for research, development
and quick iteration loops. It works reliably even over WiFi.
2018-01-12 00:00:16 +01:00
Simon Schmeisser
f71c83c649 respawn needs to have a value (#12)
Respawn defaults to false, so just remove it.
2018-01-11 14:46:54 +01:00
Simon Schmeisser (isys vision)
bf85755744 Add support for version 3.5
A new undocumented uchar was added to RobotMode
2018-01-09 21:25:48 +01:00
Jarek Potiuk
6950b3c4bd Re-add urscript topic (#7)
* Re-added UR script - for custom UR Script execution

* Restarting the driver when robot closes the connection on script error.

The pipelines work in the way that if the connection is
is closed by the control PC, it will not be re-established. This
happens for example if you use the URScript topic and upload
script that does not compile. The robot will then close the
connection, the pipeline will close and any subsequent
uploads will fail and noone realises there is a problem.

While we could re-establish the connection, I think much better
solution is to shutdown the driver in such case. This is much more
resilient behaviour as it will clean up any inconsistent driver state.

We can utilise "respawn" feature of ROS launch and restart such
driver automatically (launch files are updated as part of that change).

On top of "production" stability, it allows for much nicer development
workflow - you can use URScript topic for development of new scripts
and have the driver restart every time you make mistake.
Without it, any mistake requires restarting the driver manually.
2018-01-02 20:22:55 +01:00
Simon Schmeisser
24eef75d72 Publish industrial_msgs::RobotStatus (#5) 2018-01-02 20:16:41 +01:00
Simon Rasmussen
560affaa78 Fixed default tcp_link value 2017-12-08 14:57:14 +01:00
Simon Rasmussen
ccba7d593b Improved README.md 2017-12-08 14:55:05 +01:00
Simon Rasmussen
f93c9bcd65 Merged README.md from upstream 2017-12-08 14:48:09 +01:00
Simon Rasmussen
6dc4a98b9d Enable kinetic builds for travis 2017-12-08 14:20:59 +01:00
Michael Görner
e4a503fe5f various improvements and fixes for use_ros_control=true (#6)
* Find matching hardware_interface using the required type

The name of the controller was used in order to find and start
the matching hardware interface.
In consequence this meant that one could only define one controller
for each hardware interface.

Now, the controller's required type of hardware interface is used
to find and start the matching hardware interface.

* separate read & update in controller

consume is defined as read+update, but update
does not include read in ros_control terminology.

* Handle latency in pipeline loop

The controllers need to update at a rate of *at least* 125Hz,
but the wait_dequeue_timed call could in theory slow the loop down to 62.5Hz.
The old ur_modern_driver worked around this problem by sending goals
at 4*125Hz.

This patch exploits the onTimeout method of a consumer to update with
the specified frequency of the control loop, even if no new state message
arrived after the previous command.

* publish wrench w.r.t. tcp frame

The messages had an empty frame_id before and could not be displayed in RViz

* support ros_control in indigo
2017-12-08 14:05:07 +01:00
Simon Rasmussen
ef7aca7fb9 Merge pull request #3 from TAMS-Group/pr-kinetic-catkin-lint
Satisfy catkin_lint
2017-10-12 21:56:17 +02:00
v4hn
0257396486 fix typo in catkin_package
ur_hardware_interface is no *dependency* of this package.
It's a library *provided* by this package
2017-10-11 20:36:33 +02:00
v4hn
3bd3c017a5 cleanup inconsistent / unused dependencies 2017-10-11 20:36:06 +02:00
v4hn
08affc5e9b set(CMAKE_CXX_FLAGS -> add_compile_options
Some of the set commands overwrote user-provided values.
Also add_compile_options is the much cleaner interface to add the values
2017-10-11 20:34:19 +02:00
Thomas Timm Andersen
9397f47ac1 Updated readme.md
Updated readme.md to include information that the driver won't work reliably on a virtual machine
2017-10-10 14:04:55 +02:00
Simon Rasmussen
372aca967f Merge pull request #2 from TAMS-Group/fork_master
Activation modes for service /ur_driver/robot_enable
2017-08-30 16:39:48 +02:00
Thomas Timm Andersen
b47a15ad32 Merge pull request #94 from tecnalia-advancedmanufacturing-robotics/remove_metapackage_dependency
Remove dependecy on ros_controllers metapackage.
2017-08-21 13:05:54 +02:00
Thomas Timm Andersen
457863c14e Merge pull request #116 from mrjogo/cmakelists_install
Copy config folder on install
2017-08-21 13:04:08 +02:00
Thomas Timm Andersen
a99248db14 Merge pull request #117 from mrjogo/controller_names
Correct controller names. Fixes ThomasTimm/ur_modern_driver#98
2017-08-21 13:03:20 +02:00
Thomas Timm Andersen
a2294c811e Merge pull request #127 from maxgittelman/master
added installation and runtime execution for absolute beginners
2017-08-21 13:02:26 +02:00
Henning Kayser
231840fabf Change default activation mode to 'Never'
Maintains default behavior of indigo that no controller activation is required.
Enabling required activation can be done by passing 'require_activation' as Always/OnStartup
to the ur_common.launch or by modifying corresponding launch files.
2017-08-17 13:39:05 +02:00
Henning Kayser
f70255926b Implement activation modes of robot_enable service
Adds parameter 'require_activation' to configure when the service should be called (Always, Never, OnStartup).
2017-08-16 16:56:21 +02:00