From: daniel c. <dan...@gm...> - 2012-04-21 08:42:50
|
Hello Ioan, Should I set it to space or SpaceInformation? like: si->setValidStateSamplerAllocator(boost::bind(&allocMyValidStateSampler, _1)); OR both way should work? If I set it to SpaceInformation then I can allocate sampler and state as given below, I don't know how to do these steps if I set it to StateSpace instead of SpaceInformation: ompl::base::ValidStateSamplerPtr sampler_ = si_->allocMyValidStateSampler(); ompl::base::State *state = si_->sllocState(); sampler_->sample(state); Thanks, Daniel |