seed_search.h
Go to the documentation of this file.
00001 /*
00002  * Software License Agreement (Apache License)
00003  *
00004  * Copyright (c) 2015, Southwest Research Institute
00005  *
00006  * Licensed under the Apache License, Version 2.0 (the "License");
00007  * you may not use this file except in compliance with the License.
00008  * You may obtain a copy of the License at
00009  *
00010  * http://www.apache.org/licenses/LICENSE-2.0
00011  *
00012  * Unless required by applicable law or agreed to in writing, software
00013  * distributed under the License is distributed on an "AS IS" BASIS,
00014  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00015  * See the License for the specific language governing permissions and
00016  * limitations under the License.
00017  *
00018  */
00019 
00035 #ifndef SEED_SEARCH_H
00036 #define SEED_SEARCH_H
00037 
00038 #include <moveit/robot_state/robot_state.h>
00039 
00040 namespace descartes_moveit
00041 {
00042 namespace seed
00043 {
00055 std::vector<std::vector<double> > findSeedStatesByPairs(moveit::core::RobotState& state, const std::string& group_name,
00056                                                         const std::string& tool_frame,
00057                                                         const std::vector<std::pair<unsigned, unsigned> >& pairs);
00058 
00064 inline std::vector<std::vector<double> > findIndustrialSixDOFSeeds(moveit::core::RobotState& state,
00065                                                                    const std::string& group_name,
00066                                                                    const std::string& tool_frame)
00067 {
00068   return findSeedStatesByPairs(state, group_name, tool_frame, { { 1, 2 }, { 3, 5 } });
00069 }
00070 
00079 std::vector<std::vector<double> > findRandomSeeds(moveit::core::RobotState& state, const std::string& group_name,
00080                                                   unsigned n);
00081 
00082 }  // end namespace seed
00083 }  // end namespace descartes_moveit
00084 
00085 #endif  // SEED_SEARCH_H


descartes_moveit
Author(s): Shaun Edwards
autogenerated on Thu Jun 6 2019 21:36:08