jrl-umi3218/mc_panda

pump surface problem in rsdf file

Closed this issue · 2 comments

In the file panda_pump.rsdf the line <planar_surface name="Pump" link="panda_pump"> causes an error when executing:
ctl.robot( robotName ).surfaceForceSensor( "Pump" )

Changing this line to <planar_surface name="Pump" link="panda_link7"> solves the problem.

@ndehio that's because the force sensor is attached to panda_link7 and not the pump. You can retrieve the force sensor via robot().indirectSurfaceForceSensor("Pump")

you are perfectly right, thanks!