Enable samplerobot sample in kinetic #246
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
In kinetic, we have to set
use_velocity_feedback
tofalse
(because #245).After setting
use_velocity_feedback
tofalse
, we have other problems in simulating samplebot.[hrpEC][1576049965.454544] Timeover: processing time = 2.38[ms]
(but control rate is 200 Hz!)To solve 1, I set p-gain to smaller value. 3bcc726
To solve 2, I had to modify
/opt/ros/kinetic/share/hrpsys_ros_bridge/models/SampleRobot.RobotHardware.conf
(not included in this PR)from
exec_cxt.periodic.rate: 500
to
exec_cxt.periodic.rate: 200
(control rate is defined in 4 files
SampleRobot.RobotHardware.conf
(for execution and control of RobotHardware.rtc)
and
rtmros_gazebo/hrpsys_gazebo_general/launch/robot_hrpsys_bringup.launch
Line 23 in 7389a49
(for execution of other rtc)(default value)
and
rtmros_gazebo/hrpsys_gazebo_general/config/SampleRobot.conf
Line 2 in 7389a49
(for control of other rtc)
and
rtmros_gazebo/hrpsys_gazebo_general/src/IOBPlugin.cpp
Line 21 in 7389a49
(for IOBPlugin)(default value)
)
With these modification, the robot still cannot walk, so more debugging is needed.
![samplebot_walk](https://user-images.githubusercontent.com/32383525/70601443-5ef23f00-1c35-11ea-99f9-d36d5242633b.gif)