Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: UniversalRobots/Universal_Robots_Client_Library
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 1.4.0
Choose a base ref
...
head repository: UniversalRobots/Universal_Robots_Client_Library
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 1.5.0
Choose a head ref
  • 11 commits
  • 29 files changed
  • 4 contributors

Commits on Oct 12, 2024

  1. Added missing RTDE data packages and fixed incorrect names (#213)

    Updated the list of RTDE data packages for consistency with
    https://www.universal-robots.com/articles/ur/interface-communication/real-time-data-exchange-rtde-guide/.
    
    Also added tests for all possible RTDE fields matching their software versions.
    remi-siffert-ocado authored Oct 12, 2024
    Configuration menu
    Copy the full SHA
    9443dd1 View commit details
    Browse the repository at this point in the history

Commits on Oct 15, 2024

  1. Add missing algorithm include (#214)

    This seems to be a problem otherwise when compiling with clang++
    fmauch authored Oct 15, 2024
    Configuration menu
    Copy the full SHA
    65b0e9d View commit details
    Browse the repository at this point in the history

Commits on Oct 23, 2024

  1. Configuration menu
    Copy the full SHA
    85fbc55 View commit details
    Browse the repository at this point in the history

Commits on Nov 8, 2024

  1. Tcp socket improvements (#222)

    Couple of improvements related to TCP communication:
    
    1. the error handling in `tcp_server::readData` seems wrong since the
    error case should be when the number of bytes received is strictly
    negative and not equal to 0
    2. added early disconnection in `tcp_socket::read` in case of permanent
    failure in order to ease failure detection
    3. added robustness to `UrDriver::sendScript`: the program sending is
    now retried once after closing and reconnecting the secondary stream.
    This is the workaround described in
    UniversalRobots/Universal_Robots_ROS_Driver#459.
    It helps mitigate program sending issues when working with the UR ROS2
    driver in headless mode.
    
    New tests added for 2 and 3. For 1 the debug output of
    `TCPServerTest::client_connections` seems to confirm the behaviour makes
    sense. We now see `client from FD <xx> sent a connection reset package`
    which is what I'd expect given the client willingly terminates
    connection.
    remi-siffert-ocado authored Nov 8, 2024
    Configuration menu
    Copy the full SHA
    881adb0 View commit details
    Browse the repository at this point in the history

Commits on Nov 13, 2024

  1. Allow resetting the RTDE client (#218)

    With some control modes such as the trajectory passthrough controller it
    is actually possible to run the communication at much lower frequencies.
    
    However, so far we always initialize the `RTDEClient` with the maximum
    frequency that is possible on the respective model.
    
    This adds a function to `UrDriver` to reset the `RTDEClient` with
    another communication frequency.
    
    ## ToDo
    
    - [x] Implementation
    - [x] Write tests
    - [x] Write documentation
    fmauch authored Nov 13, 2024
    Configuration menu
    Copy the full SHA
    df9f95c View commit details
    Browse the repository at this point in the history

Commits on Nov 18, 2024

  1. Add more arguments to start_ursim.sh (#220)

    Adding
    
    ```
    -n for container name
    -p for IP address
    -f for port forwarding
    ```
    
    This way, multiple instances of URSim Docker can be started on one host.
    fmauch authored Nov 18, 2024
    Configuration menu
    Copy the full SHA
    ddbea36 View commit details
    Browse the repository at this point in the history
  2. Giving force mode parameters as arguments when calling startForceMode (

    …#208)
    
    Co-authored-by: Felix Exner <feex@universal-robots.com>
    URJala and urfeex authored Nov 18, 2024
    Configuration menu
    Copy the full SHA
    d3baa8b View commit details
    Browse the repository at this point in the history

Commits on Nov 21, 2024

  1. CI: Fix flaky example runs (#223)

    The example runs seem to fail quite often. This PR aims at fixing that.
    
    It seems that the simulated robot is reporting readiness for executing programs
    a bit too early and if we execute the program rightaway it is not started correctly.
    This only seems to happen in CI though.
    urfeex authored Nov 21, 2024
    Configuration menu
    Copy the full SHA
    bbac0b2 View commit details
    Browse the repository at this point in the history

Commits on Nov 25, 2024

  1. Adapt RTDE output recipe based on robot response (#221)

    Not all RTDE outputs are available in all SW versions. When working with
    a fleet of robots with heterogeneous SW versions it's not practical to
    have multiple RTDE output recipes to account for this.
    This PR aims at solving this problem by adapting the RTDE output recipe
    on-the-fly based on the robot response to the RTDE request. Outputs
    which are not available for this particular SW version are simply
    removed from the output recipe and a trimmed down output recipe is sent
    to the robot.
    
    Potential issues / improvements:
    - variables removed from the output recipe only cause a warning. When
    these variables are "optional" this is a fine behaviour but it could
    potentially be masking incorrect variable names. Hence, this is an opt-in feature.
    - an alternate implementation could be to hardcode the compatibility
    information for RTDE outputs in `data_package.cpp` and validate the
    output recipe beforehand. This seems less flexible though.
    - the same logic could potentially be applied to the input recipe.
    Having optional inputs seems less likely though.
    remi-siffert-ocado authored Nov 25, 2024
    Configuration menu
    Copy the full SHA
    fc79456 View commit details
    Browse the repository at this point in the history
  2. prepare changlogs for upcoming release

    urfeex authored and fmauch committed Nov 25, 2024
    Configuration menu
    Copy the full SHA
    a556d35 View commit details
    Browse the repository at this point in the history
  3. 1.5.0

    urfeex authored and fmauch committed Nov 25, 2024
    Configuration menu
    Copy the full SHA
    4daad9b View commit details
    Browse the repository at this point in the history
Loading