Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
D
dynamic_graph_bridge
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Guilhem Saurel
dynamic_graph_bridge
Commits
a24601af
Unverified
Commit
a24601af
authored
4 years ago
by
Guilhem Saurel
Committed by
GitHub
4 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #77 from olivier-stasse/devel
Fix inclusion order for robot-utils.hh
parents
8d4b7a69
967a5f26
No related branches found
Branches containing commit
Tags
v4.10.0
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
include/dynamic_graph_bridge/ros_parameter.hh
+1
-1
1 addition, 1 deletion
include/dynamic_graph_bridge/ros_parameter.hh
src/ros_parameter.cpp
+4
-3
4 additions, 3 deletions
src/ros_parameter.cpp
with
5 additions
and
4 deletions
include/dynamic_graph_bridge/ros_parameter.hh
+
1
−
1
View file @
a24601af
...
@@ -5,5 +5,5 @@ namespace dynamicgraph {
...
@@ -5,5 +5,5 @@ namespace dynamicgraph {
bool
parameter_server_read_robot_description
();
bool
parameter_server_read_robot_description
();
}
;
}
#endif
/* _ROS_DYNAMIC_GRAPH_PARAMETER_ */
#endif
/* _ROS_DYNAMIC_GRAPH_PARAMETER_ */
This diff is collapsed.
Click to expand it.
src/ros_parameter.cpp
+
4
−
3
View file @
a24601af
#include
<sot/core/robot-utils.hh>
#include
"pinocchio/multibody/model.hpp"
#include
"pinocchio/multibody/model.hpp"
#include
"pinocchio/parsers/urdf.hpp"
#include
"pinocchio/parsers/urdf.hpp"
...
@@ -7,7 +9,6 @@
...
@@ -7,7 +9,6 @@
#include
<urdf_parser/urdf_parser.h>
#include
<urdf_parser/urdf_parser.h>
#include
<sot/core/robot-utils.hh>
#include
<ros/ros.h>
#include
<ros/ros.h>
#include
"dynamic_graph_bridge/ros_parameter.hh"
#include
"dynamic_graph_bridge/ros_parameter.hh"
...
@@ -30,7 +31,7 @@ bool parameter_server_read_robot_description()
...
@@ -30,7 +31,7 @@ bool parameter_server_read_robot_description()
// Search for the robot util related to robot_name.
// Search for the robot util related to robot_name.
sot
::
RobotUtilShrPtr
aRobotUtil
=
sot
::
getRobotUtil
(
model_name
);
sot
::
RobotUtilShrPtr
aRobotUtil
=
sot
::
getRobotUtil
(
model_name
);
// If does not exist then it is created.
// If does not exist then it is created.
if
(
aRobotUtil
!
=
sot
::
RefVoidRobotUtil
())
if
(
aRobotUtil
=
=
sot
::
RefVoidRobotUtil
())
aRobotUtil
=
sot
::
createRobotUtil
(
model_name
);
aRobotUtil
=
sot
::
createRobotUtil
(
model_name
);
// If the creation is fine
// If the creation is fine
...
@@ -50,4 +51,4 @@ bool parameter_server_read_robot_description()
...
@@ -50,4 +51,4 @@ bool parameter_server_read_robot_description()
}
}
}
;
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment