sbpl / sbpl

Search-Based Planning Library
321 stars 177 forks source link

How to use SBPL_PRINTF #59

Open DingFeng0103 opened 5 years ago

DingFeng0103 commented 5 years ago

Hi,

I am trying to print some debug information to see what is happening during search phase. I found there is already many sprintf functions but they didn't print anything. So how can I get them to work?

Thanks Feng

shaoshuaizyk commented 5 years ago

Hi,

I am trying to print some debug information to see what is happening during search phase. I found there is already many sprintf functions but they didn't print anything. So how can I get them to work?

Thanks Feng

@DingFeng0103 Try this one: Open /sbpl/src/include/sbpl/config.h and change #define DEBUG 0 in line 53 to #define DEBUG 1. Then save and compile it.