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

Flying lead updates #161

Merged
merged 11 commits into from
Nov 6, 2021
Merged

Flying lead updates #161

merged 11 commits into from
Nov 6, 2021

Commits on Oct 30, 2021

  1. Modifed uuv_mating plugin to allow arbitrary names

    See dave_electrical_mating.world for an example.  Allowing arbitrary
    names should make it possible to use the plugin for multiple
    plug-socket pairs.  The plugin still pairs one socket to one plug,
    but it should be ok to use the same socket or plug with multiple
    plugin instances.
    dtdavi1 committed Oct 30, 2021
    Configuration menu
    Copy the full SHA
    9af0183 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5456377 View commit details
    Browse the repository at this point in the history
  3. Converted uuv mating (plug & socket) from world to model plugin

    The plugin is associated with the socket model.  Functionality
    is unchanged, and the plugin utilizes a "plug" model from the
    SDF world.
    
    Conversion will (hopefully) make the plugin easier to use and
    incorporate its capability into models using Xacro.
    dtdavi1 committed Oct 30, 2021
    Configuration menu
    Copy the full SHA
    adb46dd View commit details
    Browse the repository at this point in the history
  4. Generated Xacro versions of the socket and created a demo

    Plug and socket plugin updates to clean up the code and to base
    the alignment on the world pose of the plug and socket links.  This
    should make it easier to add plug/socket pairs to arbitrary models.
    
    The platform model is just a box for now, but a better model will
    be incorporated once a mesh is available.
    dtdavi1 committed Oct 30, 2021
    Configuration menu
    Copy the full SHA
    669b261 View commit details
    Browse the repository at this point in the history
  5. Plug & socket updates to work in various orientations

    Updated alignment and joint functionality to work when the socket
    is mounted to another model and not aligned with the world X axis
    (previous version was using RelativePose when checking the alignment
    of the plug and socket).
    
    Also, changed the prismatic joint function to allow it to slide
    more reliably before it is locked.
    dtdavi1 committed Oct 30, 2021
    Configuration menu
    Copy the full SHA
    74518ec View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    b73d34a View commit details
    Browse the repository at this point in the history

Commits on Nov 1, 2021

  1. Simplified the alignment checks in the plug_and_socket plugin

    Alignment check now compares the pose of the socket and plug links
    more directly in a single function.  Alignment is checked in 3 steps:
      Orientation: plug & socket link frame orientations match
      Lateral: plug position is along the socket link X axis
      Distance: plug is within 0.5 meters of the socket link
    
    If all three checks pass, the proximity check (which is unchanged)
    is used to determine when to create the prismatic joint.
    dtdavi1 committed Nov 1, 2021
    Configuration menu
    Copy the full SHA
    bbf48e2 View commit details
    Browse the repository at this point in the history
  2. Code cleanup

    Replaced ROS messaging with Gazebo messaging (there's no other ROS
    dependency, so it's really just a Gazebo plugin).  Changed "verbose"
    variables to a DEBUG define instead.  Changed the demos to set verbose
    to true when launching Gazebo so that the plugin info messages are
    printed to stdout (screen).
    dtdavi1 committed Nov 1, 2021
    Configuration menu
    Copy the full SHA
    20ee22d View commit details
    Browse the repository at this point in the history

Commits on Nov 4, 2021

  1. Update to address a couple of pull request comments

    Also fixed a bug that kept the joint from being locked correctly.
    dtdavi1 committed Nov 4, 2021
    Configuration menu
    Copy the full SHA
    ba84adc View commit details
    Browse the repository at this point in the history

Commits on Nov 6, 2021

  1. Configuration menu
    Copy the full SHA
    60ee406 View commit details
    Browse the repository at this point in the history
  2. Fix for bug IDed in pre-merge checks

    The error was because the joint was being deleted but not
    "removed" from the model when the plug was detached from the
    socket.  This caused an error on subsequent attempts to
    plug into the socket.
    
    Also did some code cleanup and updated the models so that they
    are not so bright on most hosts.
    dtdavi1 committed Nov 6, 2021
    Configuration menu
    Copy the full SHA
    3eb679b View commit details
    Browse the repository at this point in the history