projects
/
gazebo_ros_electrical.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
98cdc0d
)
Fix bug in initSim().
author
Walter Fetter Lages
<w.fetter@ieee.org>
Fri, 18 May 2018 15:08:16 +0000
(12:08 -0300)
committer
Walter Fetter Lages
<w.fetter@ieee.org>
Fri, 18 May 2018 15:08:16 +0000
(12:08 -0300)
src/dcmotor_robot_hw_sim.cpp
patch
|
blob
|
history
diff --git
a/src/dcmotor_robot_hw_sim.cpp
b/src/dcmotor_robot_hw_sim.cpp
index
cb32e9a
..
7dcbf7e
100644
(file)
--- a/
src/dcmotor_robot_hw_sim.cpp
+++ b/
src/dcmotor_robot_hw_sim.cpp
@@
-191,7
+191,7
@@
bool DCmotorRobotHWSim::initSim(
&joint_velocity_command_[j]);
vj_interface_.registerHandle(joint_handle);
}
- if(hardware_interface == "VoltageJointInterface")
+
else
if(hardware_interface == "VoltageJointInterface")
{
// Create voltage joint interface
joint_control_methods_[j] = VOLTAGE;