bridgedp/hunter_bipedal_control

Questions about replacing the hunter.urdf with my own robot urdf

BIT-XLJ opened this issue · 1 comments

Hi, thanks for your great job!
But when I tried to replace the hunter.urdf with my own robot urdf file, I met with some problems.
The detailed error message is as follows:
Exception thrown while initializing controller 'controllers/legged_controller'.
[loadEigenMatrix] Loading empty matrix "defaultJointState" is not allowed.
[ERROR] [1711528030.095693963]: Initializing controller 'controllers/legged_controller' failed.

Except for the urdf file, I also replaced the reference.info and task.info. I changed the 'defaultJointState' in reference.info and the 'initialState' in task.info to make sure that the default joint state is what I want.
Can you give me some advice on how to fix this problem?

It's possible that the file didn't load correctly. You can try printing out some variables to debug it.