    def set_state_sampler(self, state_sampler):
        '''
        Optional, Set custom state sampler.
        '''
        self.state_sampler = state_sampler
Optional, Set custom state sampler.
pybullet_ompl/pb_ompl.py