GithubHelp home page GithubHelp logo

peterzhousz / aog_ar Goto Github PK

View Code? Open in Web Editor NEW

This project forked from xiaozhuchacha/aog_ar

0.0 1.0 0.0 12.87 MB

Code for ICRA 2018 paper - Interactive Robot Knowledge Patching using Augmented Reality

Home Page: http://www.yzhu.io/projects/icra18_arpatching/index.html

License: MIT License

ShaderLab 4.14% C# 93.67% HLSL 1.22% CMake 0.29% C++ 0.68%

aog_ar's Introduction

AOG_AR

Code for ICRA 2018 paper - Interactive Robot Knowledge Patching using Augmented Reality

ROS Package : send_to_hololens/

Library Used

source files

TCPPackageConstants.h

Defines constants for the format of the packets transmitted between ROS and Hololens.

send_to_hololens.cpp

Establishes TCP connection with Hololens. Listens to different types of ROS messages (TF, image etc.) , and does some processing specific to the robot(Baxter) and gripper used in this application. Send updates on robot states to Hololens, and also listens to commands and updates sent by user from Hololens.

Unity Application : Assets/ ProjectSettings/

Development Platform

  • Microsoft Hololens
  • Unity 5.6
  • Visual Studio 2017

Library Used

Overview

This application receives real-time updates on robot states(e.g. TF, kinect images, gripper force) from ROS, and displays those information as hololens to users through Microsoft Hololens platform. The user can also see the knowledge base of the robot represented as an and-or graph, and interactively patch the knowledge structure.

Scripts

TCPManager.cs

Listens for a TCP connection first. Once connection established, try to fetch data every frame, and stores them in the buffer for other scripts to access.

SensorDisplay.cs

Controls the visibility and position of the holograms and the buttons. Convert data from the frame of the robot to world frame of the Hololens application.

Node.cs

Class to represent a node in the and-or graph.

SimpleTree.cs

Class to represent the and-or graph structure. Provide function to go to the next end node(action) from any end node.

SlotPanel.cs, Slot.cs, NodeChange.cs, DragHandler.cs, Inventory.cs

Implements drag and drop on canvas to enable and-or graph patching. Parse the and-or graph to generate action sequence.

OnScreenKeyboard.cs

Helper class to use TouchScreenKeyboard class to edit new action name. (Requires building in XMAL instead of D3D)

HandDraggableCustom.cs, GripperNewPoseControl.cs, EditAction.cs

Allow user to edit an end node, and set new pose for the action by dragging a gripper hologram with hand gesture.

Wiki

https://github.com/xiaozhuchacha/AOG_AR/wiki

aog_ar's People

Contributors

xiaozhuchacha 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.