ADVRHumanoids / XBotGUI

XBot Graphical User Interface for XBot powered robots
3 stars 1 forks source link

XBotGUI does not load with all tasks! #45

Closed xinsongyan closed 6 years ago

xinsongyan commented 6 years ago

When we try to start XBotGUI with config file: /home/super/advr-superbuild/configs/ADVR_shared/user_example/walkman_all_task.yaml, XBotGUI freeze and never load!

xbotgui_issue As you see, we are running the stuff on a 16 core powerful desktop, it uses all of them more than 60%!!!

We believe that the problem is due to loading too many plugin at the same time.

XBotRTPlugins:
  plugins: ["HomingExample", "OpenSotIk", "IkRosSMPub", "Grasp",  "chengxu_walking", "DebrisRemovalTask", "DoorFinalDemo", "ValveTask", "Hose_Task"]

We have tried to with less plugin, it works. Something like:

XBotRTPlugins:
  plugins: ["HomingExample", "OpenSotIk", "IkRosSMPub", "Grasp",  "chengxu_walking", "DebrisRemovalTask"]
xinsongyan commented 6 years ago

Magically, this works with: taskset -c 0 XBotGUI which means you assign only one core to XBotGUI.