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

19 Commits

Author SHA1 Message Date
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
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
Simon Rasmussen
8e8a0428b0 Added testing for master board parsing and fixed unparsed fields 2017-07-09 04:04:22 +02:00
Simon Rasmussen
fdaaacfe2c Clean up of old driver files 2017-07-09 02:45:02 +02:00
Simon Rasmussen
c59bfc78cc Major refactor 2017-04-27 06:40:03 +02:00
Simon Rasmussen
46f4e493cf Big code dump 2017-04-17 13:04:12 +02:00
Simon Rasmussen
dd8169d371 Factory and setup improvements 2017-04-13 10:48:59 +02:00
Simon Rasmussen
aa26bb5996 Added tests 2017-03-07 02:50:46 +01:00
Simon
4cdceac791 Publish actual tool pose as pose msg and tf 2015-11-12 17:22:20 +01:00
Thomas Timm Andersen
0c901bd7e3 Included suggestion to update build-essential pkg if compiler doesn't support c++11 2015-10-20 10:14:57 +02:00
Thomas Timm Andersen
cb5409685f Added install targets 2015-10-20 10:09:49 +02:00
Thomas Timm Andersen
5c785af6c4 Included a position-based controller. Also prettied up printing 2015-09-25 09:57:33 +02:00
Thomas Timm Andersen
af601b9c32 Implemented ros-control 2015-09-24 10:27:55 +02:00
Thomas Timm Andersen
1b995a928b ROSify output based on compiler flag 2015-09-16 14:06:39 +02:00
Thomas Timm Andersen
8f3ae49e28 Added URScript interface - untested 2015-09-15 17:23:57 +02:00
Thomas Timm Andersen
cb18dd1d96 Implemented communication on port 30001 and 30002 - untested 2015-09-15 17:03:39 +02:00
Thomas Timm Andersen
401a16fbd4 Cleaned up a bit and removed a few global vars 2015-09-08 12:28:33 +02:00