본문 바로가기
  • 경제적 자유를 얻는 그날까지
728x90
반응형

엔지니어링126

728x90
반응형
Docker로 Ubuntu 18.04 + ROS melodic 개발환경 구축 1. docker hub에서 ubuntu 이미지 다운로드 osrf 재단에서 배포하는 이미지는 ROS와 함께 그 버전에 적합한 ubuntu를 함께 배포 swift@swift-MacBookPro:~/workspace$ docker pull osrf/ros:melodic-desktop-full-bionic melodic-desktop-full-bionic: Pulling from osrf/ros Digest: sha256:f9268872571969d1fa20a64d1a9225dd592451862b21c34d66e7b6be3541b8dd Status: Image is up to date for osrf/ros:melodic-desktop-full-bionic docker.io/osrf/ros:melodic-de.. 2022. 1. 8.
구글 Colab 환경 설정 및 Github에서 노트북 가져오기 1. 구글 드라이브로 접속하여 Colab설치 본인의 gmail.com 계정으로 접속한다. 새로만들기에서 더보기 -> 연결할 앱 더보기에서 Colaboratory를 찾아서 설치한다. 실행시에는 다시 새로만들기로 들어가면 앱중에 Colab이 나타난다. 2. Colab 설정 TPU 또는 GPU를 사용할 경우 chage runtime type에서 변경할 수 있다. 변경후 반드시 다시 접속해주어야 한다. (TPU나 GPU는 사용시간에 제약이 있음) 3. Github 를 이용한 노트북 사용 개인 github에 접속하여 노트북을 가져오려면 먼저 설정(톱니바퀴 모양)에서 github의 개인 접속에 체크를 하고 계정 접속을 최초 한번 인증해주어야 한다. 인증후에는 개인 github의 앞주소만 아래와 같이 https://.. 2021. 12. 31.
[ 머신러닝 ] 모두를 위한 머신러닝 도커환경설정 개발환경 OS: Mac Docker 모두를 위한 딥러닝 tensorflow 과정을 학습하기 위한 개발환경 구성 1. MacOS용 도커 다운로드 및 설치 다운받아서 설치하면 된다. docker 계정을 등록해야 한다. https://www.docker.com/get-started Get Started with Docker | Docker Learn about the complete container solution provided by Docker. Find information for developers, IT operations, and business executives. www.docker.com 설치가 완료되면 터미널에서 hello-world 이미지가 정상적으로 실행되는지 확인한다. (base) s.. 2021. 12. 28.
[ 머신러닝 예제 ] MacOS에 python 텐서플로우 설치환경 구축 1. 아나콘다를 설치한다. 아나콘다는 파이썬 개발환경이 구축이 되어 있는 라이브러리이다. 아나콘다를 사용하면 다양한 파이썬 라이브러리를 사용할 있다. 설치 사이트는 아래를 참고하여 설치 MacOS사용자는 MacOS용을 선택하고 Command로 설치하면 된다. https://www.anaconda.com/products/individual Anaconda | Individual Edition Anaconda's open-source Individual Edition is the easiest way to perform Python/R data science and machine learning on a single machine. www.anaconda.com 2. 텐서 플로우 설치 python을 실행하여.. 2021. 12. 17.
[ PX4 ] SITL OFFBOARD Control 1. PX4 SITL 및 Gazebo 실행 swift@swift-MacBookPro:~/workspace/catkin_ws/src/PX4-Autopilot$ make px4_sitl_default gazebo [0/4] Performing build step for 'sitl_gazebo' ninja: no work to do. [3/4] cd /home/swift/workspace/catkin_ws/src/...n_ws/src/PX4-Autopilot/build/px4_sitl_default SITL ARGS sitl_bin: /home/swift/workspace/catkin_ws/src/PX4-Autopilot/build/px4_sitl_default/bin/px4 debugger: none pro.. 2021. 9. 25.
[ ROS ] ROS CPP 패키지 생성하기 1. ROS 패키지 생성(CPP 의존성) swift@swift-MacBookPro:~/Desktop$ cd ~/workspace/catkin_ws/src/ swift@swift-MacBookPro:~/workspace/catkin_ws/src$ catkin_create_pkg roscpp_test roscpp Created file roscpp_test/package.xml Created file roscpp_test/CMakeLists.txt Created folder roscpp_test/include/roscpp_test Created folder roscpp_test/src Successfully created files in /home/swift/workspace/catkin_ws/src/ros.. 2021. 9. 25.
catkin 빌드 시스템 https://adioshun.gitbooks.io/ros_autoware/content/Fundamentals/catkin-make.html 빌드 시스템 · ROS adioshun.gitbooks.io 2021. 9. 25.
[ PX4 SITL ] MAVROS를 이용한 SITL OFFBOARD 제어 본 과정은 'PX4와 Mavlink를 연동하여 시뮬레이션 하는 방법;에서 이어지는 내용이므로, 환경설정 및 SITL 시뮬레이션 수행방법은 아래 과정을 통하여 미리 학습하시기 바랍니다. https://swiftcam.tistory.com/407 PX4와 Mavlink를 연동하여 시뮬레이션하는 방법 PX4와 Gazebo, MAVLink 연동 다이어그램 mavros 설치 swift@swift-System-Product-Name:~/catkin_ws/src$ sudo apt-get install ros-noetic-mavros [sudo] password for swift: Reading package lists... Done B.. swiftcam.tistory.com 환경설정 OS: Ubuntu 20.04 .. 2021. 9. 8.
Google Mediapipe Python 환경설정 및 제스쳐 인식 예제 실행 https://google.github.io/mediapipe/getting_started/python.html MediaPipe in Python Cross-platform, customizable ML solutions for live and streaming media. google.github.io 1. 파이선 기본 툴 설치하기 $ sudo apt install python3-dev $ sudo apt install python3-venv $ sudo apt install -y protobuf-compiler 2. 가상환경 구성하기 - 폴더명은 마음대로 정할 수 있다. 여기서는 mp_env로 설정하였다. $ python3 -m venv mp_env && source mp_env/bin/activa.. 2021. 9. 4.
Google Mediapipe C++ 환경설정 https://google.github.io/mediapipe/getting_started/install.html Installation Cross-platform, customizable ML solutions for live and streaming media. google.github.io 1. bazel 설치하기(from repositopy) // Step 1: Add Bazel distribution URI as a package source $ sudo apt install apt-transport-https curl gnupg $ curl -fsSL https://bazel.build/bazel-release.pub.gpg | gpg --dearmor > bazel.gpg $ sudo mv .. 2021. 9. 2.