Hello, I am Daehyung.

I am using ompl source version (v0.13, v0.12.2)

Is there anybody knows why following first code is not working?  I read every related sources and confirmed the argument '7' is definitely input to the member variable 'dimension_' of RealVectorStateSpace class. Interestingly, the second code is working well...

1)

ompl::base::StateSpacePtr space(new ob::RealVectorStateSpace(7));

cout << space->as<ompl::base::RealVectorStateSpace>()->getDimension() << endl;

2)
ompl::base::RealVectorStateSpace space(7);

cout << space.getDimension() << endl;


Thanks
- Daehyung