Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scaled jtc #1191

Draft
wants to merge 32 commits into
base: master
Choose a base branch
from
Draft

Scaled jtc #1191

wants to merge 32 commits into from

Commits on Jul 3, 2024

  1. Add scaling factor to JTC

    This adds a scaling factor between 0 and 1 to the JTC so that the trajectory
    time inside the controller is extended respectively. A value of 0.5 means
    that trajectory execution will take twice as long as the trajectory states.
    
    The scaling factor itself is read from the hardware for now.
    fmauch committed Jul 3, 2024
    Configuration menu
    Copy the full SHA
    d1fcba0 View commit details
    Browse the repository at this point in the history
  2. use reset+initRT due to missing writeFromRT

    Co-authored-by: Christoph Fröhlich <[email protected]>
    fmauch and christophfroehlich committed Jul 3, 2024
    Configuration menu
    Copy the full SHA
    55c3bb0 View commit details
    Browse the repository at this point in the history
  3. Reformat scaling the time period

    This avoids writing the explicit conversion by hand
    
    Internally that basically does:
    static_cast<rcl_duration_value_t>(static_cast<long double>(rcl_duration_.nanoseconds) * scale_ld)
    fmauch committed Jul 3, 2024
    Configuration menu
    Copy the full SHA
    79a8b7c View commit details
    Browse the repository at this point in the history
  4. synchronization of scaling factor with hw optional, add service for s…

    …etting
    
    of scaling factor
    
    Co-authored-by: Manuel M <[email protected]>
    fmauch and mamueluth committed Jul 3, 2024
    Configuration menu
    Copy the full SHA
    600ba71 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    c01b1ad View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    c003883 View commit details
    Browse the repository at this point in the history
  7. Update code formatting

    That was changed in a previous commit
    fmauch committed Jul 3, 2024
    Configuration menu
    Copy the full SHA
    aa63e5d View commit details
    Browse the repository at this point in the history
  8. Do not advertise speed scaling service unless only position interface is

    used
    
    The current implementation only works correctly when a position
    interface is used.
    
    When the hardware in fact slows down the robot (as UR does), also velocity interfaces
    should be scaled correctly, but that't rather an edge case right now.
    fmauch committed Jul 3, 2024
    Configuration menu
    Copy the full SHA
    821c88d View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    f7d0ae0 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    71ccb39 View commit details
    Browse the repository at this point in the history
  11. Do not put the time_data_ into a RealtimeBuffer

    It is accessed from the RT thread only, anyway.
    fmauch committed Jul 3, 2024
    Configuration menu
    Copy the full SHA
    1fb38b8 View commit details
    Browse the repository at this point in the history
  12. Fix goal time violated

    Lennart Nachtigall authored and fmauch committed Jul 3, 2024
    Configuration menu
    Copy the full SHA
    6890d6e View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    b5a567d View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    908b539 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    1e66e44 View commit details
    Browse the repository at this point in the history
  16. Code formatting

    fmauch committed Jul 3, 2024
    Configuration menu
    Copy the full SHA
    7daf240 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    66abfd9 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    45fa036 View commit details
    Browse the repository at this point in the history
  19. More formatting...

    fmauch committed Jul 3, 2024
    Configuration menu
    Copy the full SHA
    5e9592b View commit details
    Browse the repository at this point in the history

Commits on Jul 4, 2024

  1. Configuration menu
    Copy the full SHA
    42394b9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ba5fecb View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4b2f18c View commit details
    Browse the repository at this point in the history
  4. Remove additional time_data structure in update method

    We can actually work with just one structure.
    fmauch committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    76e5cab View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    b22ce07 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    7e88744 View commit details
    Browse the repository at this point in the history

Commits on Jul 5, 2024

  1. Configuration menu
    Copy the full SHA
    d2130e0 View commit details
    Browse the repository at this point in the history
  2. Added a short explanation of scaling

    This isn't the best explanation, but it's a start.
    fmauch committed Jul 5, 2024
    Configuration menu
    Copy the full SHA
    915bfd3 View commit details
    Browse the repository at this point in the history

Commits on Jul 8, 2024

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

Commits on Jul 23, 2024

  1. Configuration menu
    Copy the full SHA
    77e78ce View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0a3b974 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    09bea48 View commit details
    Browse the repository at this point in the history

Commits on Aug 8, 2024

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