TopHillRobotics / quadruped-robot

An Open Source Quadruped-Robot for Simulating and Real Environment
152 stars 30 forks source link

Error with controllers #35

Closed HB-Liang closed 1 year ago

HB-Liang commented 1 year ago

Big Thanks for getting this project open source! I got started following the guide on https://quadruped-robot-docs.readthedocs.io/en/main/overview.html When I tried to run that helloworld demo, it launched without any errors but the problem occurs when I run the demo using "rosrun demo demo_helloworld sim" which is shown in the screenshot. Could you tell what I've got wrong? Thanks 2022-10-23 20-18-21 的屏幕截图

TopHillRobotics commented 1 year ago

We didn't have the problem you mentioned. Could you please tell us more details?

HB-Liang commented 1 year ago

Sorry for replying so late. Actually I don't know which message I can tell for fixing this problem. It's weird with controller spawner loaded controller with name "joint_state_controller" but the switch service didn't find this name. I reduced this problem with changing the reset function to ResetRobotByService, and helloworld demo works fine.