Toggle navigation
Toggle navigation
This project
Loading...
Sign in
arcs
/
arcs.js
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
3
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
Jean-Yves Didier
2017-07-16 20:45:25 +0200
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
75174019a5a0317d6d3ccc13ebd5789655e45e0f
75174019
1 parent
dde2fb6d
pipe network view developped, need testing
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
81 additions
and
2 deletions
components/arviewer.js
components/gpsinertialpose.js
tests/pipe/Conduites_UFRST.geojson
tests/pipe/arcsapp.json
components/arviewer.js
View file @
7517401
...
...
@@ -304,7 +304,12 @@ arcs_module(
},
/** @lends ARViewer.slots */
[
'setWidgets'
,
'setFocal'
,
'viewAll'
,
'setSize'
,
'addScene'
,
'resetCamera'
,
'removeScene'
,
'render'
,
'keepAspectRatio'
],
[
'setWidgets'
,
'setFocal'
,
'viewAll'
,
'setSize'
,
'addScene'
,
'resetCamera'
,
'removeScene'
,
'render'
,
'keepAspectRatio'
,
'setExtrinsics'
,
'setIntrinsics'
],
[]
);
return
{
ARViewer
:
ARViewer
};
...
...
components/gpsinertialpose.js
View file @
7517401
...
...
@@ -46,7 +46,7 @@ arcs_module(
this
.
emit
(
'sendPose'
,
[{
id
:
id
,
pose
:
pose
}]);
};
},
[
'setPosition'
,
'setOrientation'
],
[
'setPosition'
,
'setOrientation'
,
'setId'
],
[
'sendPose'
]
);
...
...
tests/pipe/Conduites_UFRST.geojson
0 → 100644
View file @
7517401
This diff could not be displayed because it is too large.
tests/pipe/arcsapp.json
View file @
7517401
{
"context"
:
{
"libraries"
:
[
"components/animator"
,
"components/arviewer"
,
"components/geojson"
,
"components/geolocator"
,
"components/gpsinertialpose"
,
"components/inertial"
,
"components/video"
,
"components/windowevent"
],
"components"
:
{
"viewer"
:
{
"type"
:
"ARViewer"
},
"animator"
:
{
"type"
:
"Animator"
},
"windowresize"
:
{
"type"
:
"WindowEvent"
},
"gps"
:
{
"type"
:
"GeoLocator"
},
"inertial"
:
{
"type"
:
"Inertial"
},
"fuser"
:
{
"type"
:
"GPSInertialPose"
},
"pipeNetwork"
:
{
"type"
:
"PipeNetwork"
,
"file"
:
"tests/pipe/Conduites_UFRST.geojson"
},
"video"
:
{
"type"
:
"VideoSource"
},
"statemachine"
:
{
"type"
:
"StateMachine"
,
"value"
:
{
"initial"
:
"init"
,
"transitions"
:
{
"init"
:
{
"next"
:
"start"
}
}
}
}
}
},
"controller"
:
"statemachine"
,
"sheets"
:
{
"init"
:
{
"preconnections"
:
[
{
"destination"
:
"video"
,
"slot"
:
"setWidgets"
,
"value"
:
[
"video"
,
"canvas"
]
},
{
"destination"
:
"viewer"
,
"slot"
:
"keepAspectRatio"
,
"value"
:
[
true
]
},
{
"destination"
:
"viewer"
,
"slot"
:
"setWidgets"
,
"value"
:
[
"container"
,
"video"
]},
{
"destination"
:
"viewer"
,
"slot"
:
"setFocal"
,
"value"
:
[
600
]},
{
"destination"
:
"fuser"
,
"slot"
:
"setId"
,
"value"
:
[
17
]
},
{
"destination"
:
"viewer"
,
"slot"
:
"setSceneId"
,
"value"
:
[
17
]
},
{
"destination"
:
"inertial"
,
"slot"
:
"start"
,
"value"
:
[]
},
{
"destination"
:
"gps"
,
"slot"
:
"watchPosition"
,
"value"
:
[]
},
],
"postconnections"
:
[
{
"destination"
:
"pipeNetwork"
,
"slot"
:
"init"
,
"value"
:
[]
}
],
"connections"
:
[
{
"destination"
:
"viewer"
,
"slot"
:
"addScene"
,
"source"
:
"pipeNetwork"
,
"signal"
:
"sendSceneGraph"
}
{
"destination"
:
"statemachine"
,
"slot"
:
"next"
,
"source"
:
"pipeNetwork"
,
"signal"
:
"sendSceneGraph"
}
],
"cleanups"
:
[
]
},
"start"
:
{
"preconnections"
:
[
{
"destination"
:
"viewer"
,
"slot"
:
"viewAll"
,
"value"
:
[]},
{
"destination"
:
"animator"
,
"slot"
:
"start"
,
"value"
:[]}
],
"postconnections"
:
[],
"connections"
:
[
{
"source"
:
"windowresize"
,
"signal"
:
"onResize"
,
"destination"
:
"viewer"
,
"slot"
:
"setSize"
},
{
"source"
:
"animator"
,
"signal"
:
"onAnimationFrame"
,
"destination"
:
"video"
,
"slot"
:
"grabFrame"
},
{
"source"
:
"animator"
,
"signal"
:
"onAnimationFrame"
,
"destination"
:
"viewer"
,
"slot"
:
"render"
},
{
"source"
:
"video"
,
"signal"
:
"onReady"
,
"destination"
:
"viewer"
,
"slot"
:
"resetCamera"
},
{
"source"
:
"gps"
,
"signal"
:
"sendCoordinates"
,
"destination"
:
"fuser"
,
"slot"
:
"setPosition"
},
{
"source"
:
"inertial"
,
"signal"
:
"sendOrientation"
,
"destination"
:
"fuser"
,
"slot"
:
"sendPosition"
},
{
"source"
:
"fuser"
,
"signal"
:
"sendPose"
,
"destination"
:
"viewer"
,
"slot"
:
"setExtrinsics"
}
],
"cleanups"
:
[]
}
}
}
\ No newline at end of file
...
...
Please
register
or
login
to post a comment