40 : start_state_(robot_model)
51 for (
auto& thread_state : thread_states_)
53 delete thread_state.second;
60 std::unique_lock<std::mutex> slock(lock_);
61 std::map<std::thread::id, moveit::core::RobotState*>::const_iterator it =
62 thread_states_.find(std::this_thread::get_id());
63 if (it == thread_states_.end())
66 thread_states_[std::this_thread::get_id()] = st;
Representation of a robot's state. This includes position, velocity, acceleration and effort.
void setToDefaultValues()
Set all joints to their default positions. The default position is 0, or if that is not within bounds...
moveit::core::RobotState * getStateStorage() const
TSStateStorage(const moveit::core::RobotModelPtr &robot_model)