Cant print anything from isStateValid()


In OMPL amazon warehous exercise im trying to print variables from the isStateValid() function that is used in planner but it doesnt show anyhting i dont know if it isnt running or if it is imposible to print there on the console.

Also my program is not solving the path and pdef.getSolutionPath() returns “None”

Hi @al_cab_mo ,

isStateValid() works fine and it can printed without any problem.

You can explore the theory at the exercise documentation and follow the OMPL tutorials (for instance this one). A good OMPL description is available here.

In this exercise only a basic planning is required. Just using the warehouse map and a geometrical path planning.

Now is working, it seems like the yaw variable of start and goal must be in radians, I had it on normal degrees