Skip to content
This repository was archived by the owner on Jul 10, 2025. It is now read-only.

[ros2] Port harness to ROS2#944

Merged
chapulina merged 3 commits intoros-simulation:dashingfrom
shiveshkhaitan:harness
Aug 2, 2019
Merged

[ros2] Port harness to ROS2#944
chapulina merged 3 commits intoros-simulation:dashingfrom
shiveshkhaitan:harness

Conversation

@shiveshkhaitan
Copy link
Copy Markdown

Port gazebo_ros_harness plugin to ROS2.

Example:

<plugin name="gazebo_ros_harness" filename="libgazebo_ros_harness.so">
  <ros>
    <!-- Add a namespace -->
    <namespace>demo</namespace>
    <argument>box/harness/velocity:=velocity_demo</argument>
    <argument>box/harness/detach:=detach_demo</argument>
  </ros>
  <!-- set initial harness velocity -->
  <init_vel>-0.1</init_vel>
</plugin>

Migration guide at ROS 2 Migration: Harness

@chapulina chapulina added the ros2 label Jul 3, 2019
@chapulina chapulina self-requested a review July 3, 2019 16:45
@chapulina
Copy link
Copy Markdown
Contributor

@osrf-jenkins run tests please

Copy link
Copy Markdown
Contributor

@chapulina chapulina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, I like the new init vel feature and the change from Bool to Empty!

The test passes for me and the OSRF farm, but it fails on the ROS farm with the same problem the elevator is having: libHarnessPlugin.so: cannot open shared object file: No such file or directory.

I ticketed #970 for this. Since it doesn't seem to be an issue specific to this PR, I'll merge this as soon as it's rebased.

@chapulina chapulina merged commit c1e4687 into ros-simulation:dashing Aug 2, 2019
shiveshkhaitan added a commit to shiveshkhaitan/gazebo_ros_pkgs that referenced this pull request Aug 15, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants