franka_ros2 icon indicating copy to clipboard operation
franka_ros2 copied to clipboard

No movement while using fake_hardware

Open luiscoelho23 opened this issue 9 months ago • 4 comments

Hi, I was trying to use the example controllers using fake_hardware but I get no movement on Rviz, changed the command interface on config\controllers.yaml to match the type of controller but still get no results.

Command exmaple: ros2 launch franka_bringup joint_position_example_controller.launch.py robot_ip:=dont-care use_fake_hardware:=true use_rviz:=true

image

image

luiscoelho23 avatar May 16 '24 10:05 luiscoelho23

You could use the gazebo simulator examples instead. They should work

BarisYazici avatar Jul 18 '24 18:07 BarisYazici

Hello everybody,

I get the same behavior with ros2 launch franka_fr3_moveit_config moveit.launch.py use_fake_hardware:=true robot_ip:=yyy.yyy.yyy.yyy The planning works but the faked robot just remains at its initial joint positions.

Is there any solution to this? Or could anybody point me to where I need to look for bugs? I observed that on the /joint_states topic, the position does not change as the robot "moves" when executing a planned motion with the MoveIt plugin. However, the efforts change during motion execution. Any help is much appreciated.

rraetz avatar Aug 19 '24 11:08 rraetz

Hello everybody,

I get the same behavior with ros2 launch franka_fr3_moveit_config moveit.launch.py use_fake_hardware:=true robot_ip:=yyy.yyy.yyy.yyy The planning works but the faked robot just remains at its initial joint positions.

Is there any solution to this? Or could anybody point me to where I need to look for bugs? I observed that on the /joint_states topic, the position does not change as the robot "moves" when executing a planned motion with the MoveIt plugin. However, the efforts change during motion execution. Any help is much appreciated.

If you change the command interface here to position. That would solve your issue probably.

BarisYazici avatar Aug 19 '24 18:08 BarisYazici

If you change the command interface here to position. That would solve your issue probably.

Awesome, this solved it! Thank you very much for your help.

rraetz avatar Aug 22 '24 08:08 rraetz