Open Naoki-Hiraoka opened 4 years ago
This PR does NOT work on kinetic. This PR is just a bug report , so we don't have to merge this. I'm sorry for the confusion.
@k-okada
In my understanding, this PR is a trial to use the same configuration as indigo (use_velocity_feedback: true
) on kinetic and melodic.
Finally, @Naoki-Hiraoka gave up using the same configuration.
On #250 , he changed the configuration (use_velocity_feedback: false
and adjusting gains).
@Naoki-Hiraoka Is my understanding correct?
I created #253 to reconstruct old configuration.
@k-okada In my understanding, this PR is a trial to use the same configuration as indigo (
use_velocity_feedback: true
) on kinetic and melodic. Finally, @Naoki-Hiraoka gave up using the same configuration. On #250 , he changed the configuration (use_velocity_feedback: false
and adjusting gains). @Naoki-Hiraoka Is my understanding correct?
Yes.
We use use_velocity_feedback: false
on kinetic and melodic now, and samplerobot can walk.
In kinetic, https://github.com/start-jsk/rtmros_gazebo/blob/7389a49529be6d373581779f0aa88563c6e6d2bf/hrpsys_gazebo_general/config/SampleRobot.yaml#L3 if
use_velocity_feedback
istrue
, the robot blows off withroslaunch hrpsys_gazebo_general gazebo_samplerobot_no_controllers.launch
.From http://answers.gazebosim.org/question/8371/kobukiturtlebot-doesnt-move-when-given-velocity-commands-in-gazebo-5/?answer=8377#post-id-8377 , I tried using
joint->SetParam("vel")
and joint->SetParam("max_force")
. (https://github.com/start-jsk/rtmros_gazebo/commit/e4b8b59ee45a3c05370a4d72ff5def91734747e2) However, the robot was not actuated.Then, from http://gazebosim.org/tutorials?tut=set_velocity&cat= , I tried using
joint->SetParam("vel")
and joint->SetParam("fmax")
. (https://github.com/start-jsk/rtmros_gazebo/commit/4747e0362ad46ba1582aeb9a48515f8a7fa1bc16) Though the robot was actuated and not blew off, the robot was not controlled as intended.For now, we have to set
use_velocity_feedback
tofalse
in kinetic.