airo-ugent / airo-planner

Python package for single and dual robot arm motion planning.
MIT License
7 stars 0 forks source link

OMPL prints can appear after later Python prints #3

Open Victorlouisdg opened 5 months ago

Victorlouisdg commented 5 months ago

This is not a huge issue, but it's just a little annoying (and confusing) that OMPL prints seem to be flushed later than Python prints. See example below where the path's shape is printed before the Info: prints from during the path's solve. image I've unsuccessfully tried:

# My attempt to get the OMPL Info: messages to show up in the correct order between the loguru logs
# This however does not seems to work, so I don't know where those prints are buffered
sys.stdout.flush()