vincekurtz / quadruped_drake

Using Drake to Simulate and Control Quadrupedal Robots
Other
30 stars 8 forks source link

Error: lcm_handle read #4

Closed dvogureckiy99 closed 1 year ago

dvogureckiy99 commented 1 year ago

What is a problem with lcm, when I try run with lcm turn on simulation freezing on this line:

^CError: lcm_handle read: Interrupted system call
Traceback (most recent call last):
  File "./simulate.py", line 184, in <module>
    simulator.AdvanceTo(sim_time)
KeyboardInterrupt
vincekurtz commented 1 year ago

The sim is freezing on this line because it's waiting to receive an LCM message on the robot_current_state channel. The use_lcm flag is for communication with a different simulator or a real robot. You'd have to set up that other simulator or the robot to send and receive the appropriate LCM messages. If you're just running a Drake simulation you don't need to use LCM.

dvogureckiy99 commented 1 year ago

Thank you very much. Your work save my course works.