此博文主要是用来记录ROS-Kinetic 中,用于机器人轨迹规划的MoveIt功能包的学习记录。
引: MoveIt RobotModel Robot_State这个教程主要是用来检查URDF+SRDF文件内容,查看机器人关节限制,设置坐标,检测机器人是否能够通过正解和逆解的方式,达到预设坐标点;虽然在这个教程里,这些功能用来做测试,但是,在以后的项目中,可以用其作为参考,进行运动学正逆解规划测试等,很有学习必要。
注:MoveIt教程基本上都是通过官方案例程序,展示具体实现的过程和代码信息,所以本博文采用在官方程序中,添加中文注解的方式,进行学习和记录。
/*********************************************************************
* Software License Agreement (BSD License)
*
* Copyright (c) 2012, Willow Garage, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* * Redistributions in binary form must reproduce the above
* copyright notice, this list of conditions and the following
* disclaimer in the documentation and/or other materials provided
* with the distribution.
* * Neither the name of Willow Garage nor the names of its
* contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
*
* THI