GitHub basic tutorial
  • Introduction
  • Khởi động hệ thống Ground station computer - Companion computer (Odroid) - Pixhawk
  • Tao 1 private Folder tu public Folder
  • Tạo folder dev PX4 code
  • PX4 modification
  • MAVROS modification
  • Tạo node I3S_receiver
  • Kết nối đọc dữ liệu trong Pixhawk
  • Terminal Linux Ubuntu
  • Kết nối ROS hai máy tính
  • Build ros package in Odroid
  • Pressure sensor
  • Kết nối camera oCAM trên ROS
  • Cài đặt và sử dụng Matlab 2017b trên Linux Ubuntu
  • Một vài vấn đề trên Windows 7
  • Terminator
  • Upload compiled firmware of Pixhawk from odroid
  • Kết nối internet và Ethernet với Odroid (qua Switch) và 1 card mạng kết nối internet
  • IMU, Camera, Pixhawk connection to odroid
  • Kết nối ssh
  • Tham khao code homography cua Ninad
  • Matlab_2017b_problems
  • Eigen library - Mathematical toolbox for C++
  • Kinh nghiệm chuẩn bị presentation
  • Tap lenh lam viec voi Pixhawk px4
  • Offboard mode in PX4
  • P51 Lenovo, trackpad and trackpoint
  • P51 Lenov, Install Quadro M2200 graphic card
  • Gilab
  • Tao 1 private Folder tu public Folder
  • Ubuntu tips: show desktop by pressing Super + D
  • Install eclipse
  • Windows error
  • How to update Sublime Text 3 in ubuntu 16.04
  • PX4 Pixhawk hardfault
  • Install CUDA for computer with NVIDIA graphic card
  • Install openCV after installing CUDA
  • Meld - tool for file or folder comparison
  • GIT - move a full git repository from one remote sever to another one
  • Jetson Nano Installation
  • Working in Jetson Nano
  • Backup and Restore micro sd card
Powered by GitBook
On this page

Was this helpful?

Tham khao code homography cua Ninad

Ninad thiet ke chuong trinh bao gom:

  • Chuong trinh chinh: main.cpp, trong do

     \#include "algorithmhom.h" la header cua algorithmhom.cpp, chua class algorithmhom
    
     Trong than chuong trinh chinh, tao 1 object 
    
     algorithmhom hom
    
     Thuc hien load parameter va spin, la cac ham ben trong class algorithmhom
  • file header algorithmhom.h, khai cac ham

      void process\(\)
    
      virtual void spin\(\) 
    
      va virtual void loadparameters\(\)
  • file code algorithmhom.cpp, chua code

     void process\(\), sau nay se chua code chuong trinh chinh, cac module tinh toan
    
     void spin\(\), de chay lap lai spinOnce theo dieu kien rosOk
    
    void loadparameters\(\), dung libconfig, can sudo apt-get install libconfig de cai them, ham nay co tac dung load tham so tu file .conf
PreviousKết nối sshNextMatlab_2017b_problems

Last updated 5 years ago

Was this helpful?