Closed smihael closed 3 years ago
See https://github.com/justagist/panda_simulator/issues/25#issuecomment-781983730 first.
The EffortJointInterface now works as expected, after Gazebo gets initialized and before the controller is loaded robot moves weirdly. Wouldn't it be expected that the robot stays still before any controller is initialized?
This could be because the simulator still depends heavily on franka_ros_interface which requires gazebo to use the custom PandaRobotHWSim
hardware interface. By adding the flag use_gazebo_control:=true
, this is disabled and may provide weird behaviour. You could instead use gazebo_panda which does not depend on franka_ros_interface at all, and uses the default gazebo hw interface.
Also, I have noticed that sometimes in gazebo, starting some controllers when launching any robot simulation seems to cause weird motion in the beginning, but this does not happen when switching to this controller after the simulator is fully loaded.
I want to use this package for testing my own
ros_control
plugins before running them on the real robot.As the custom
panda_gazebo_ros_control_plugin
does not seem to provide a workingEffortJointInterface
(#25), I modified the panda_world.launch file so thatbecomes
Now instead of the custom
panda_gazebo_ros_control_plugin
the default gazebo control is loaded. TheEffortJointInterface
now works as expected, after Gazebo gets initialized and before the controller is loaded robot moves weirdly. Wouldn't it be expected that the robot stays still before any controller is initialized?