粗大メモ置き場

個人用,たまーに来訪者を意識する雑記メモ

cpp

ROS tf and geometry_msgs mutual translation

tf::Quaternion to geometry_msgs::Pose geometry_msgs::PoseStamped to tf::Transform tf::Transform to tf::Matrix3x3 get each element of tf::Matrix3x3 Ref: I tried convert tf::Pose to geomtery_msgs and memorize it in here. But I don't think th…

Read yaml file with yaml-cpp in ROS C++ / yamlファイルをC++で開く

This article both contains both Japanese and English explanations. 需要とか考えた結果、英語と日本語で書きます。 Goal: Read .yaml calibration files and then publish camera info Method: Using yaml-cpp Installation ROS setup (Kinetic) Usage S…

How to split string using multiple delimeters / and convert to double array in C++

cpp

GOAL: get double array from "[1.1, 3.3]" Split string into string vector Give it try Convert string vector to vector of double try? Written as a Function GOAL: get double array from "[1.1, 3.3]" Unfortunately std::string do not have split …