forked from pal-robotics/gazebo_ros_link_attacher
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add pull requests from pal-robotics/gazebo_ros_link_attacher
- Loading branch information
yizhenzhang
committed
Aug 21, 2021
1 parent
be9ed40
commit 1447797
Showing
2 changed files
with
31 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,5 @@ | ||
/* | ||
* Desc: Gazebo link attacher plugin. | ||
* Author: Sammy Pfeiffer ([email protected]) | ||
* Date: 05/04/2016 | ||
*/ | ||
|
||
/*... | ||
#ifndef GAZEBO_ROS_LINK_ATTACHER_HH | ||
#define GAZEBO_ROS_LINK_ATTACHER_HH | ||
|
@@ -70,8 +66,12 @@ namespace gazebo | |
gazebo_ros_link_attacher::Attach::Response &res); | ||
bool detach_callback(gazebo_ros_link_attacher::Attach::Request &req, | ||
gazebo_ros_link_attacher::Attach::Response &res); | ||
void OnUpdate(); | ||
|
||
std::vector<fixedJoint> joints; | ||
std::vector<fixedJoint> detach_vector; | ||
|
||
event::ConnectionPtr beforePhysicsUpdateConnection; | ||
|
||
/// \brief The physics engine. | ||
physics::PhysicsEnginePtr physics; | ||
|
@@ -84,4 +84,3 @@ namespace gazebo | |
} | ||
|
||
#endif | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters