Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: quyettv/samples
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: hyokenmi/samples
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Able to merge. These branches can be automatically merged.
Loading
Showing 552 changed files with 114,676 additions and 242 deletions.
214 changes: 204 additions & 10 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,13 +1,207 @@
# Compiled Object files
*.slo
*.lo
##for Linux
*.o

# Compiled Dynamic libraries
*.so
*.dylib
*~

#eclipse
.settings/
.cproject
.project

*.dat
*.bak




## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.

# User-specific files
*.suo
*.user
*.sln.docstates

# Build results
[Dd]ebug/
[Dd]ebugPublic/
[Rr]elease/
x64/
build/
bld/
[Bb]in/
[Oo]bj/

# Roslyn cache directories
*.ide/

# MSTest test Results
[Tt]est[Rr]esult*/
[Bb]uild[Ll]og.*

#NUNIT
*.VisualState.xml
TestResult.xml

# Build Results of an ATL Project
[Dd]ebugPS/
[Rr]eleasePS/
dlldata.c

*_i.c
*_p.c
*_i.h
*.ilk
*.meta
*.obj
*.pch
*.pdb
*.pgc
*.pgd
*.rsp
*.sbr
*.tlb
*.tli
*.tlh
*.tmp
*.tmp_proj
*.log
*.vspscc
*.vssscc
.builds
*.pidb
*.svclog
*.scc

# Chutzpah Test files
_Chutzpah*

# Visual C++ cache files
ipch/
*.aps
*.ncb
*.opensdf
*.sdf
*.cachefile

# Visual Studio profiler
*.psess
*.vsp
*.vspx

# TFS 2012 Local Workspace
$tf/

# Guidance Automation Toolkit
*.gpState

# ReSharper is a .NET coding add-in
_ReSharper*/
*.[Rr]e[Ss]harper
*.DotSettings.user

# JustCode is a .NET coding addin-in
.JustCode

# TeamCity is a build add-in
_TeamCity*

# DotCover is a Code Coverage Tool
*.dotCover

# NCrunch
_NCrunch_*
.*crunch*.local.xml

# MightyMoose
*.mm.*
AutoTest.Net/

# Web workbench (sass)
.sass-cache/

# Installshield output folder
[Ee]xpress/

# DocProject is a documentation generator add-in
DocProject/buildhelp/
DocProject/Help/*.HxT
DocProject/Help/*.HxC
DocProject/Help/*.hhc
DocProject/Help/*.hhk
DocProject/Help/*.hhp
DocProject/Help/Html2
DocProject/Help/html

# Click-Once directory
publish/

# Publish Web Output
*.[Pp]ublish.xml
*.azurePubxml
## TODO: Comment the next line if you want to checkin your
## web deploy settings but do note that will include unencrypted
## passwords
#*.pubxml

# NuGet Packages Directory
packages/*
## TODO: If the tool you use requires repositories.config
## uncomment the next line
#!packages/repositories.config

# Enable "build/" folder in the NuGet Packages folder since
# NuGet packages use it for MSBuild targets.
# This line needs to be after the ignore of the build folder
# (and the packages folder if the line above has been uncommented)
!packages/build/

# Windows Azure Build Output
csx/
*.build.csdef

# Windows Store app package directory
AppPackages/

# Others
sql/
*.Cache
ClientBin/
[Ss]tyle[Cc]op.*
~$*
*~
*.dbmdl
*.dbproj.schemaview
*.pfx
*.publishsettings
node_modules/

# RIA/Silverlight projects
Generated_Code/

# Backup & report files from converting an old project file
# to a newer Visual Studio version. Backup files are not needed,
# because we have git ;-)
_UpgradeReport_Files/
Backup*/
UpgradeLog*.XML
UpgradeLog*.htm

# SQL Server files
*.mdf
*.ldf

# Business Intelligence projects
*.rdl.data
*.bim.layout
*.bim_*.settings

# Microsoft Fakes
FakesAssemblies/

# LightSwitch generated files
GeneratedArtifacts/
_Pvt_Extensions/
ModelManifest.xml


# Compiled Static libraries
*.lai
*.la
*.a
7 changes: 0 additions & 7 deletions README.md

This file was deleted.

Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#include "Controller.h"
#include "Logger.h"
#include "sigverse/commonlib/Controller.h"
#include "sigverse/commonlib/Logger.h"
#include <math.h>

//Coverts angles to radians
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
#include <string> //include string header files
#include "Controller.h"
#include "Logger.h"
#include "ControllerEvent.h"
#include "sigverse/commonlib/Controller.h"
#include "sigverse/commonlib/Logger.h"
#include "sigverse/commonlib/ControllerEvent.h"

#include <string>
#include <math.h>

#define DEG2RAD(DEG) ( (M_PI) * (DEG) / 180.0 )
@@ -53,5 +54,5 @@ void AgentController::onRecvMessage(RecvMessageEvent &evt)

extern "C" Controller * createController ()
{
return new AgentController;
return new AgentController;
}
File renamed without changes.
File renamed without changes.
45 changes: 45 additions & 0 deletions controllers/AgentController/KinectV2/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.

# Exception for unchangeable libs.

# User-specific files
Release/
Debug/
packages/
lib/
include/
*.suo
*.user
*.sln.docstates

# MSTest test Results
[Tt]est[Rr]esult*/
[Bb]uild[Ll]og.*

# Specific file formats
*.ilk
*.meta
*.obj
*.pch
*.pdb
*.pgc
*.pgd
*.rsp
*.sbr
*.tlb
*.tli
*.tlh
*.vspscc
*.vssscc
*.pidb
*.log
*.scc
*.aps
*.ncb
*.opensdf
*.sdf
*.cachefile
*.psess
*.vsp
*.vspx
14 changes: 14 additions & 0 deletions controllers/AgentController/KinectV2/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#sigverse header
INCLUDE_PATH = $(SIGVERSE_PATH)/include

#Target
OBJS = kinectController.so

all: $(OBJS)

#compile
./%.so: ./%.cpp
g++ -DCONTROLLER -DNDEBUG -DUSE_ODE -DdDOUBLE -I$(INCLUDE_PATH) -fPIC -shared -o $@ $<

clean:
rm -f ./*.so *~
47 changes: 47 additions & 0 deletions controllers/AgentController/KinectV2/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
Name
====
KinectV2

## Overview
Server side controller program of the Sample project to move avator with KinectV2, as C++ project.

## Description
Server side controller program of the Sample project to move avator with KinectV2, as C++ project.
This is a sample project to move avator in SIGVerse with KinectV2.
When you move in front of KinectV2 sensor, an avator in the SIGVerse
moves along with your movement.

## Demo

## VS.

## Requirement

You can download from below:
SIGViewer-2.2.0 or later , SIGVerse-2.2.0 or later
<http://sourceforge.net/projects/sigverse/>

Please install it as below:
<http://www.sigverse.com/wiki/en/index.php?Tutorial>


## Usage
1. start SIGServer on Linux. SIGVerse must be SIGVerse-2.2.0 or later.
$ cd /KinectV2
$ sigserver.sh -w ./kinectWorld.xml(filename) -p 9000(port number)
3. start SIGViewer on Windows8 or later.
4. push start button on SIGViewer to start simulation.
5. edit KinectV2_2013.bat, set your IP adress and port number of Linux machine
6. execute KinectV2_2013.bat.
7. move your body in front of KinectV2 sensor.

## Install
set any place.

## Contribution

## Licence

## Author
National Institute of Informatics

Loading