목록분류 전체보기 (245)
일상 코딩
#include #include #include // std::forward using namespace std; struct MyStruct {}; void func(MyStruct &s) { cout
출처-https://github.com/ros/ros-overlay/issues/138#issuecomment-955662349 RQT Image View Plugin Won't Load · Issue #138 · ros/ros-overlay ERROR] [1501718751.026417745]: Failed to load nodelet [rqt_image_view/ImageView_1] of type [rqt_image_view/ImageView] : Failed to load library /opt/ros/lunar/lib//librqt_image_view.so. Make sure th... github.com $ sudo apt purge mysql-* $ sudo apt purge ros-noet..
https://www.samontab.com/web/2020/11/installing-opencv-4-5-0-in-ubuntu-20-04-lts/ Installing OpenCV 4.5.0 in Ubuntu 20.04 LTS – Sebastian Montabone OpenCV was initially released about 20 years ago. It’s one of the most well established computer vision libraries in the world, with thousands of algorithm implementations ready to be used in commercial and research applications. In this guide I’ll s..
#include #include #include #include #include using namespace std; int main() { const string filename = "my_file.txt"; // make a file { ofstream ofs(filename); for (char i = 'a'; i
#include #include // file I/O library #include #include #include using namespace std; int main() { // writing if(true) { ofstream ofs("my_first_file.dat", ios::binary); // ios::app - append mode, ios::binary // ofs.open("my_first_file.dat") if (!ofs) { cerr
1번 터미널 창 명령어 $ roscore 2번 터미널 창 명령어 라즈베리파이 SSH 진입 $ ssh ubuntu@192.168.0.45 $ roslaunch turtlebot3_bringup turtlebot3_robot.launch 3번 터미널 창 명령어 어떤 topic이 전달된건지 터미널 상에 출력하기 $ rostopic echo /cmd_vel 4번 터미널 창 명령어 Master 컴퓨터에서 터틀봇 조종하는 명령어 $ roslaunch turtlebot3_teleop turtlebot3_teleop_key.launch
C++ 온라인 컴파일러 사이트 https://replit.com/~ https://www.onlinegdb.com/online_c++_compiler https://cpp.sh/ https://www.tutorialspoint.com/compile_cpp_online.php #include #include #include #include using namespace std; int main() { // regex re("\\d+"); // \d - digit인지? // regex re("[ab]"); // regex re("[[:digit:]]{3}"); // regex re("[A-Z]+"); // regex re("[A-Z]{1,5}"); // 최소 1개, 최대 5개 regex re("([0-9]{1..
#include #include #include #include using namespace std; void printCharacterClassification(const int &i) { cout
#include #include using namespace std; int main(int argc, char const *argv[]) { { stringstream os; os : extraction operator // os.str("Hello, World!"); os str; // 빈칸을 만나면 끊기게됨. str = os.str(); // 문자열 전체 출력됨 cout > str2; cout