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 43c9f3d
Showing
2 changed files
with
32 additions
and
5 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,3 +1,4 @@ | ||
|
||
/* | ||
* Desc: Gazebo link attacher plugin. | ||
* Author: Sammy Pfeiffer ([email protected]) | ||
|
@@ -70,8 +71,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; | ||
|
@@ -83,5 +88,4 @@ namespace gazebo | |
|
||
} | ||
|
||
#endif | ||
|
||
#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