Derek-TH-Wang / quadruped_ctrl

MIT mini cheetah quadruped robot simulated in pybullet environment using ros.
MIT License
304 stars 73 forks source link

启动图像和点云传输之后,机器人行走速度变得非常慢,请问这是什么原因呢 #19

Open dbdxnuliba opened 1 year ago

dbdxnuliba commented 1 year ago

启动默认的程序,即不传输图像和点云 walking_simulation.py程序中包含阻塞代码(达到不运行cameraupdate函数的目的) for in range(200): self.run() # TODO: THIS IS BLOCKING!! p.stepSimulation self.cpp_gait_ctrller.set_robot_mode(self.convert_type(0)) 此时机器人行走速度很快(不卡顿),效果如下gif quad_ctrl_without_image

启动点云和图像传输参照(https://github.com/eborghi10/quadruped_ctrl),把阻塞代码注释掉

for _ in range(200):

    #     self.run()  # TODO: THIS IS BLOCKING!!
    #     p.stepSimulation
    # self.cpp_gait_ctrller.set_robot_mode(self.__convert_type(0))

启动图像和点云传输之后,机器人行走速度变得非常慢(感觉很卡),效果如下gif: quad_ctrl_with_camera 请问这是什么原因呀。

Kakakakku commented 7 months ago

我也遇到了同样的问题,请问可以怎么解决呢? @Derek-TH-Wang

Kakakakku commented 7 months ago

您好,请问您解决这个问题了吗 @dbdxnuliba