1
0
mirror of https://gitlab.com/obbart/universal_robots_ros_driver.git synced 2026-07-09 17:21:10 +02:00
Commit Graph

37 Commits

Author SHA1 Message Date
gavanderhoorn 0fa0cba044 Add Apache 2 license header to source and headers. 2019-03-29 16:52:49 +01:00
Miguel Prada 9e276a3368 Format sources with clang-format 2018-11-20 09:47:17 +01: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
Jørn Sandvik Nilsson 5c9ffe2ba1 Run io serivce operations as secondary urscripts 2018-03-26 11:39:32 +02: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 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 (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 Rasmussen 3be07d19be Merge pull request #1 from TAMS-Group/fork_master
Fix runtime issues
2017-07-24 18:49:45 +02:00
Henning 45480881ff Change ROS_ERROR_STREAM to LOG_ERROR. 2017-07-24 12:20:45 +02:00
Simon Rasmussen dbcf8aeb41 Fixed SO_REUSEADDR being set after bind rather than before 2017-07-21 19:02:19 +02:00
Henning Kayser 4375ffecc6 Adds multiple retries to accept reverse connection
We observed that the accept failed nondeterministically in rare cases.
2017-07-21 17:48:34 +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 3a5fa23f6b Clang-format run 2017-07-09 02:54:49 +02:00
Simon Rasmussen 40fc986e7b Fixed jitter issues 2017-07-07 20:08:15 +02:00
Simon Rasmussen f3e11bfc29 minor improvements 2017-07-07 19:15:17 +02:00
Simon Rasmussen f35f40b45d WIP 2017-07-07 15:26:39 +02:00
Simon Rasmussen 0c23d0bf3d Added set options function for sockets 2017-05-19 01:23:35 +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 bbe2102ac8 Initial implementation of commander 2017-04-13 10:43:31 +02:00
Simon Rasmussen 1e34cdaa37 Improved stream implementation 2017-04-13 10:40:27 +02:00
Simon Rasmussen a4ca9f1703 Changed masterboard IO data to bitset 2017-04-13 10:34:51 +02:00
Simon Rasmussen 7828304e37 Removed old state file 2017-03-03 03:55:29 +01:00
Simon Rasmussen 474f469e97 Adopted roscpp code style and naming convention 2017-03-01 14:15:40 +01:00
Simon Rasmussen e4bc40fc09 Fixed minor parsing issues with RTState 2017-03-01 12:40:55 +01:00
Simon Rasmussen 88c582cd58 Fixed log format error 2017-03-01 00:03:44 +01:00
Simon Rasmussen ff36a13aea Fixed RTState parsing bug 2017-03-01 00:00:03 +01:00
Simon Rasmussen 9c1077a779 Improved URStream logging 2017-02-16 22:50:35 +01:00
Simon Rasmussen a78d3eadf3 Added clang formatting 2017-02-16 02:03:40 +01:00
Simon Rasmussen c282c961f7 Completed parsing of UR state, messages and RT 2017-02-16 01:52:22 +01:00
Simon Rasmussen 43974dcbf2 Refactoring, improvements and fixes 2017-02-09 12:16:51 +01:00
Simon Rasmussen e523a5d466 Newline parity between printf and ros logging 2017-02-08 10:33:22 +01:00
Simon Rasmussen b6eb109cd3 Implemented URStateParser, URRTStateParser and URProducer 2017-02-06 14:39:37 +01:00
Simon Rasmussen ffe2bbe96a Implemented initial robot state and parsing 2017-02-06 14:26:00 +01:00
Simon Rasmussen efcb738325 Implemented URStream 2017-02-06 14:15:03 +01:00