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

엔지니어링/드론58

728x90
반응형
pyulog를 이용한 ULog 파일 그래프 그리기 pyulog는 python 기반의 Ulog 분석프로그램이다. https://github.com/PX4/pyulog GitHub - PX4/pyulog: Python module & scripts for ULog files Python module & scripts for ULog files. Contribute to PX4/pyulog development by creating an account on GitHub. github.com pyulog를 이용해서 매트랩으로 그림을 그려주는 유용한 자료가 있어서 사용방법을 확인하였다. 참고로 한 사이트는 plotUlog 이며, 링크는 아래와 같다. https://github.com/kyuhyong/plotulog GitHub - kyuhyong/plotulog.. 2022. 10. 20.
Docker를 이용한 PX4 개발 환경 구축하기(px4-dev-ros-melodic) PX4 개발환경을 갖추기 위해서는 Ubuntu, ROS, catkin tools, 컴파일러등 설치할 것들이 매우 많다. 필자는 이전에 Ubuntu 18.04에서 개발환경을 갖추고 사용하여 왔지만 Docker를 대부분의 과정들이 Docker의 이미지 형태로 만들어져 있기 때문에 소스코드만 컴파일하면 된다. 매우 사용하기 편리하며, 필요에 따라서 저장한 코드를 다시 Docker환경에서 작업할 수도 있다. 따라서 오늘은 복잡한 PX4 개발환경을 Docker를 이용하여 쉽게 구축하는 방법을 다루고자 한다. 1. Docker 설치는 아래 참고한다. 먼저, Ubuntu환경에서 Docker가 PC에 설치되어 있어야 한다. 설치하는 방법은 아래 링크를 참조하면 된다. https://swiftcam.tistory.com.. 2022. 8. 18.
Inshight 데이터링크 자료 정리 보호되어 있는 글 입니다. 2022. 4. 5.
[ 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.
[ 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.
[ PX4 ] 조이스틱으로 PX4 시뮬레이션 조종하기 실제드론은 RC 조종기를 사용하여 조종하지만 시뮬레이션 상황에서는 컴퓨터를 이용하기 때문에 조이스틱을 사용하여 드론을 제어하는 것도 좋은 방법입니다. QGroundControl이 Mavlink와 연동할 때 RC 조종기 대신 Joystick을 이용할 수 있기 때문에 오늘 방법을 살펴보겠습니다. 시뮬레이터를 구성하는 블럭도입니다. PX4는 SITL을 빌드하여 사용합니다. PX4 SITL과 QGC는 14550포트를 이용하여 udp로 연결됩니다. 조이스틱은USB를 통하여 QGC와 연결됩니다. Gazebo와 연결은 TCP 4560으로 연결됩니다. Joystick을 통하여 Mavlink로 메시지를 PX4 SITL로 보내면 SITL은 명령을 수행하고 Mavlink 데이터를 Gazebo에게도 보내어 가상환경에서 상태를.. 2021. 8. 31.
PX4와 Mavlink로를 연동하여 군집드론 시뮬레이션하는 방법 이 과정은 px4의 공식문서를 참고해서 작성하였다. https://docs.px4.io/master/en/simulation/multi_vehicle_simulation_gazebo.html Multi-Vehicle Simulation with Gazebo | PX4 User Guide Multi-Vehicle Simulation with Gazebo This topic explains how to simulate multiple UAV vehicles using Gazebo and SITL (Linux only). A different approach is used for simulation with and without ROS. Multiple Vehicle with Gazebo (No ROS) To.. 2021. 8. 23.
PX4와 Mavlink를 연동하여 시뮬레이션하는 방법 개발환경 Ubuntu 20.04 ROS noetic PX4_SITL 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 Building dependency tree Reading state information... Done The following package was automatically installed and is no longer required: libllvm11 Use 'sudo apt autoremove' to .. 2021. 8. 22.
SWaP-C? 자료를 검색하다가 우연히 만난단어 SWap-C? 구글링해보니 Size, Weight, Power and Cost 라는 단어들의 줄임말이다. 소형, 경량, 저전력, 저비용... 딱 내가 생각한 단어의 느낌이 왔다. 이제 Direction을 정해보자! 2021. 8. 11.
[ VOXL ] VOXL-DFS-SERVER 컴파일 완료 voxl-docker 를 최신버전으로 업데이트하고 문제가 해결됨 swift@swift-HP-Pavilion-dv6-Notebook-PC:~/git/voxl-dfs-server$ voxl-docker -l | grep "voxl" voxl-cross V1.1 77af6063e492 39 minutes ago 999MB voxl-cross latest 77af6063e492 39 minutes ago 999MB voxl-emulator V1.7 55d4f01b7bcd 7 weeks ago 3.33GB voxl-emulator latest 55d4f01b7bcd 7 weeks ago 3.33GB voxl-hexagon latest 8509f4e31f56 2 months ago 5.24GB voxl-emulat.. 2021. 7. 17.