Code Monkey home page Code Monkey logo

localization_by_apriltag's Introduction

Localization_by_Apriltag

HCC final project

Objective

Find position of the target objects

  • Pyrobot bag
    • orange bottle
    • green bottle
    • the tvmonitor/laptop closest to Tag1
    • backpack
    • teddy bear
  • Drone bag
    • umbrella
    • bike
    • teddy bear
    • the chair closest to teadybear

rosbag download link

https://drive.google.com/drive/folders/1RA0Xk5SDDXfxqrmRWHVzmDvLAmzPE7aW

Implementation

Step1

You need to finish the code below:

  • hcc_ws/src/estimation_pos/src/apriltag_localization.cpp
  • hcc_ws/src/estimation_pos/src/drone_object.py
  • hcc_ws/src/estimation_pos/src/pyrobot_object.py

Note that when you write something in the .cpp code, make sure to catkin_make

hcc_ws $ catkin_make

Step2

After finishing your code, you are ready to test the result. Please remember whenever opening a new terminal, you have to source the enviroment workspace.

hcc_ws $ source devel/setup.bash

Step3

Run ROS master on terminal(T1):

hcc_ws $ roscore

Run multiple roslaunch on terminal(T2):

hcc_ws $ source Run_All_"drone / pyrobot".sh

Generate final position by local outlier factor:

hcc_ws $ python output_generate.py

Step4

You can test your results with the groundtruth which I put it below:

https://drive.google.com/drive/folders/15XcuJK-Hy1i9Lcs3ROwv7FiOEAIghjZG

Evaluate the outcome:

$ python eval.py "ans.txt" "ours"

localization_by_apriltag's People

Contributors

jackie890621 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.