37 #define ROS_ERROR_EXIT(...) do {ROS_ERROR(__VA_ARGS__); exit(-1); } while (0) 40 int main(
int argc,
char **argv)
49 std::vector<std::string> joint_names;
53 printf(
"Joint names: ");
55 std::copy(joint_names.begin(), joint_names.end(), std::ostream_iterator<std::string>(s,
", "));
56 std::string out = s.str();
57 std::cout <<
"[" << out.erase(out.size()-2) <<
"]" << std::endl;
bool findChainJointNames(const urdf::LinkConstSharedPtr &link, bool ignore_fixed, std::vector< std::string > &joint_names)
URDF_EXPORT bool initFile(const std::string &filename)
#define ROS_ERROR_EXIT(...)
int main(int argc, char **argv)