@ioai/robot_viewer 0.0.0-stage → 1.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +201 -0
- package/README.md +217 -2
- package/bin/cli.js +83 -0
- package/dist/assets/css/PlotPanel-3e7d7555.css +1 -0
- package/dist/assets/js/ColladaLoader-2a0c4638.js +1 -0
- package/dist/assets/js/GLTFLoader-7a7f40d7.js +1 -0
- package/dist/assets/js/MTLLoader-b6ce88b7.js +1 -0
- package/dist/assets/js/OBJLoader-7667aa01.js +1 -0
- package/dist/assets/js/PlotPanel-09f986c7.js +1 -0
- package/dist/assets/js/STLLoader-de0915d4.js +1 -0
- package/dist/assets/js/URDFLoader-a34b6917.js +1 -0
- package/dist/assets/js/USDZLoader-64197f74.js +7 -0
- package/dist/assets/js/__vite-browser-external-afb87ea8.js +1 -0
- package/dist/assets/js/codemirror-c3cec7b3.js +1 -0
- package/dist/assets/js/codemirror-themes-e6995a6a.js +1 -0
- package/dist/assets/js/d3-2e308866.js +1 -0
- package/dist/assets/js/index-56e94ce5.js +6 -0
- package/dist/assets/js/mujoco_wasm-345a2576.js +1 -0
- package/dist/assets/js/three-9c891de0.js +6 -0
- package/dist/camera-publish-worker.js +1 -0
- package/dist/favicon.svg +2 -0
- package/dist/heartbeat-worker.js +1 -0
- package/dist/index.html +4373 -0
- package/dist/models/mocap/blender_human.urdf +2319 -0
- package/dist/models/mocap/blender_human_skeleton_v4.urdf +1432 -0
- package/dist/models/mocap/blender_human_skeleton_v5.urdf +2717 -0
- package/dist/models/mocap/meshes/v4/L_base_link.STL +0 -0
- package/dist/models/mocap/meshes/v4/L_figer1_1.STL +0 -0
- package/dist/models/mocap/meshes/v4/L_figer1_2.STL +0 -0
- package/dist/models/mocap/meshes/v4/L_figer1_3.STL +0 -0
- package/dist/models/mocap/meshes/v4/L_figer1_4.STL +0 -0
- package/dist/models/mocap/meshes/v4/L_figer1_5.STL +0 -0
- package/dist/models/mocap/meshes/v4/L_figer1base.STL +0 -0
- package/dist/models/mocap/meshes/v4/L_figer2_1.STL +0 -0
- package/dist/models/mocap/meshes/v4/L_figer2_2.STL +0 -0
- package/dist/models/mocap/meshes/v4/L_figer2_3.STL +0 -0
- package/dist/models/mocap/meshes/v4/L_figer2_4.STL +0 -0
- package/dist/models/mocap/meshes/v4/L_figer2_5.STL +0 -0
- package/dist/models/mocap/meshes/v4/L_figer3_1.STL +0 -0
- package/dist/models/mocap/meshes/v4/L_figer3_2.STL +0 -0
- package/dist/models/mocap/meshes/v4/L_figer3_3.STL +0 -0
- package/dist/models/mocap/meshes/v4/L_figer3_4.STL +0 -0
- package/dist/models/mocap/meshes/v4/L_figer3_5.STL +0 -0
- package/dist/models/mocap/meshes/v4/L_figer4_1.STL +0 -0
- package/dist/models/mocap/meshes/v4/L_figer4_2.STL +0 -0
- package/dist/models/mocap/meshes/v4/L_figer4_3.STL +0 -0
- package/dist/models/mocap/meshes/v4/L_figer4_4.STL +0 -0
- package/dist/models/mocap/meshes/v4/L_figer4_5.STL +0 -0
- package/dist/models/mocap/meshes/v4/L_figer5_1.STL +0 -0
- package/dist/models/mocap/meshes/v4/L_figer5_2.STL +0 -0
- package/dist/models/mocap/meshes/v4/L_figer5_3.STL +0 -0
- package/dist/models/mocap/meshes/v4/L_figer5_4.STL +0 -0
- package/dist/models/mocap/meshes/v4/L_figer5_5.STL +0 -0
- package/dist/models/mocap/meshes/v4/L_handle.STL +0 -0
- package/dist/models/mocap/meshes/v4/L_handleseat.STL +0 -0
- package/dist/models/mocap/meshes/v4/L_mark.STL +0 -0
- package/dist/models/mocap/meshes/v4/L_markseat.STL +0 -0
- package/dist/models/mocap/meshes/v4/Lgamepadbase.STL +0 -0
- package/dist/models/mocap/meshes/v4/Link1.STL +0 -0
- package/dist/models/mocap/meshes/v4/Link2.STL +0 -0
- package/dist/models/mocap/meshes/v4/R_base_link.STL +0 -0
- package/dist/models/mocap/meshes/v4/R_figer1_1.STL +0 -0
- package/dist/models/mocap/meshes/v4/R_figer1_2.STL +0 -0
- package/dist/models/mocap/meshes/v4/R_figer1_3.STL +0 -0
- package/dist/models/mocap/meshes/v4/R_figer1_4.STL +0 -0
- package/dist/models/mocap/meshes/v4/R_figer1_5.STL +0 -0
- package/dist/models/mocap/meshes/v4/R_figer1base.STL +0 -0
- package/dist/models/mocap/meshes/v4/R_figer2_1.STL +0 -0
- package/dist/models/mocap/meshes/v4/R_figer2_2.STL +0 -0
- package/dist/models/mocap/meshes/v4/R_figer2_3.STL +0 -0
- package/dist/models/mocap/meshes/v4/R_figer2_4.STL +0 -0
- package/dist/models/mocap/meshes/v4/R_figer2_5.STL +0 -0
- package/dist/models/mocap/meshes/v4/R_figer3_1.STL +0 -0
- package/dist/models/mocap/meshes/v4/R_figer3_2.STL +0 -0
- package/dist/models/mocap/meshes/v4/R_figer3_3.STL +0 -0
- package/dist/models/mocap/meshes/v4/R_figer3_4.STL +0 -0
- package/dist/models/mocap/meshes/v4/R_figer3_5.STL +0 -0
- package/dist/models/mocap/meshes/v4/R_figer4_1.STL +0 -0
- package/dist/models/mocap/meshes/v4/R_figer4_2.STL +0 -0
- package/dist/models/mocap/meshes/v4/R_figer4_3.STL +0 -0
- package/dist/models/mocap/meshes/v4/R_figer4_4.STL +0 -0
- package/dist/models/mocap/meshes/v4/R_figer4_5.STL +0 -0
- package/dist/models/mocap/meshes/v4/R_figer5_1.STL +0 -0
- package/dist/models/mocap/meshes/v4/R_figer5_2.STL +0 -0
- package/dist/models/mocap/meshes/v4/R_figer5_3.STL +0 -0
- package/dist/models/mocap/meshes/v4/R_figer5_4.STL +0 -0
- package/dist/models/mocap/meshes/v4/R_figer5_5.STL +0 -0
- package/dist/models/mocap/meshes/v4/R_handle.STL +0 -0
- package/dist/models/mocap/meshes/v4/R_handleseat.STL +0 -0
- package/dist/models/mocap/meshes/v4/R_mark.STL +0 -0
- package/dist/models/mocap/meshes/v4/R_markseat.STL +0 -0
- package/dist/models/mocap/meshes/v4/Rgamepadbase.STL +0 -0
- package/dist/models/mocap/meshes/v4/base_link.STL +0 -0
- package/dist/models/mocap/meshes/v4/r_figer1_1.STL +0 -0
- package/dist/models/mocap/meshes/v5/L_handleseat.STL +0 -0
- package/dist/models/mocap/meshes/v5/R_handleseat.STL +0 -0
- package/dist/models/mocap/meshes/v5/link_LeftSkeletonBase.STL +0 -0
- package/dist/models/mocap/meshes/v5/link_LeftSkeletonIndex1.STL +0 -0
- package/dist/models/mocap/meshes/v5/link_LeftSkeletonIndex2.STL +0 -0
- package/dist/models/mocap/meshes/v5/link_LeftSkeletonIndex3.STL +0 -0
- package/dist/models/mocap/meshes/v5/link_LeftSkeletonIndex4.STL +0 -0
- package/dist/models/mocap/meshes/v5/link_LeftSkeletonMiddle1.STL +0 -0
- package/dist/models/mocap/meshes/v5/link_LeftSkeletonMiddle2.STL +0 -0
- package/dist/models/mocap/meshes/v5/link_LeftSkeletonMiddle3.STL +0 -0
- package/dist/models/mocap/meshes/v5/link_LeftSkeletonMiddle4.STL +0 -0
- package/dist/models/mocap/meshes/v5/link_LeftSkeletonPinky1.STL +0 -0
- package/dist/models/mocap/meshes/v5/link_LeftSkeletonPinky2.STL +0 -0
- package/dist/models/mocap/meshes/v5/link_LeftSkeletonPinky3.STL +0 -0
- package/dist/models/mocap/meshes/v5/link_LeftSkeletonPinky4.STL +0 -0
- package/dist/models/mocap/meshes/v5/link_LeftSkeletonRing1.STL +0 -0
- package/dist/models/mocap/meshes/v5/link_LeftSkeletonRing2.STL +0 -0
- package/dist/models/mocap/meshes/v5/link_LeftSkeletonRing3.STL +0 -0
- package/dist/models/mocap/meshes/v5/link_LeftSkeletonRing4.STL +0 -0
- package/dist/models/mocap/meshes/v5/link_LeftSkeletonThumb1.STL +0 -0
- package/dist/models/mocap/meshes/v5/link_LeftSkeletonThumb2.STL +0 -0
- package/dist/models/mocap/meshes/v5/link_LeftSkeletonThumb3.STL +0 -0
- package/dist/models/mocap/meshes/v5/link_LeftSkeletonThumb4.STL +0 -0
- package/dist/models/mocap/meshes/v5/link_LeftSkeletonThumbBase.STL +0 -0
- package/dist/models/mocap/meshes/v5/link_RightSkeletonBase.STL +0 -0
- package/dist/models/mocap/meshes/v5/link_RightSkeletonIndex1.STL +0 -0
- package/dist/models/mocap/meshes/v5/link_RightSkeletonIndex2.STL +0 -0
- package/dist/models/mocap/meshes/v5/link_RightSkeletonIndex3.STL +0 -0
- package/dist/models/mocap/meshes/v5/link_RightSkeletonIndex4.STL +0 -0
- package/dist/models/mocap/meshes/v5/link_RightSkeletonMiddle1.STL +0 -0
- package/dist/models/mocap/meshes/v5/link_RightSkeletonMiddle2.STL +0 -0
- package/dist/models/mocap/meshes/v5/link_RightSkeletonMiddle3.STL +0 -0
- package/dist/models/mocap/meshes/v5/link_RightSkeletonMiddle4.STL +0 -0
- package/dist/models/mocap/meshes/v5/link_RightSkeletonPinky1.STL +0 -0
- package/dist/models/mocap/meshes/v5/link_RightSkeletonPinky2.STL +0 -0
- package/dist/models/mocap/meshes/v5/link_RightSkeletonPinky3.STL +0 -0
- package/dist/models/mocap/meshes/v5/link_RightSkeletonPinky4.STL +0 -0
- package/dist/models/mocap/meshes/v5/link_RightSkeletonRing1.STL +0 -0
- package/dist/models/mocap/meshes/v5/link_RightSkeletonRing2.STL +0 -0
- package/dist/models/mocap/meshes/v5/link_RightSkeletonRing3.STL +0 -0
- package/dist/models/mocap/meshes/v5/link_RightSkeletonRing4.STL +0 -0
- package/dist/models/mocap/meshes/v5/link_RightSkeletonThumb1.STL +0 -0
- package/dist/models/mocap/meshes/v5/link_RightSkeletonThumb2.STL +0 -0
- package/dist/models/mocap/meshes/v5/link_RightSkeletonThumb3.STL +0 -0
- package/dist/models/mocap/meshes/v5/link_RightSkeletonThumb4.STL +0 -0
- package/dist/models/mocap/meshes/v5/link_RightSkeletonThumbBase.STL +0 -0
- package/dist/scripts/start-rosbridge.sh +77 -0
- package/dist/usd-iframe.html +41 -0
- package/dist/usd-viewer/bindings/.gitattributes +2 -0
- package/dist/usd-viewer/bindings/emHdBindings.data +19331 -0
- package/dist/usd-viewer/bindings/emHdBindings.js +12281 -0
- package/dist/usd-viewer/bindings/emHdBindings.wasm +0 -0
- package/dist/usd-viewer/bindings/emHdBindings.worker.js +124 -0
- package/dist/usd-viewer/environments/neutral.hdr +0 -0
- package/dist/usd-viewer/error-handler.js +57 -0
- package/dist/usd-viewer/hydra/HydraPrimitives.js +740 -0
- package/dist/usd-viewer/hydra/TextureRegistry.js +130 -0
- package/dist/usd-viewer/hydra/ThreeJsRenderDelegate.js +65 -0
- package/dist/usd-viewer/index.d.ts +1 -0
- package/dist/usd-viewer/main.js +1018 -0
- package/dist/usd-viewer/usd.html +36 -0
- package/dist/usd-viewer/usdUtils.js +67 -0
- package/package.json +70 -4
- package/server/package.json +14 -0
- package/server/static-server.js +106 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{E as e,H as t,s as o,t as a}from"./codemirror-c3cec7b3.js";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var a in o)({}).hasOwnProperty.call(o,a)&&(e[a]=o[a])}return e},r.apply(null,arguments)}var n=a=>{var{theme:r,settings:n={},styles:c=[]}=a,g={".cm-gutters":{}},l={};n.background&&(l.backgroundColor=n.background),n.backgroundImage&&(l.backgroundImage=n.backgroundImage),n.foreground&&(l.color=n.foreground),n.fontSize&&(l.fontSize=n.fontSize),(n.background||n.foreground)&&(g["&"]=l),n.fontFamily&&(g["&.cm-editor .cm-scroller"]={fontFamily:n.fontFamily}),n.gutterBackground&&(g[".cm-gutters"].backgroundColor=n.gutterBackground),n.gutterForeground&&(g[".cm-gutters"].color=n.gutterForeground),n.gutterBorder&&(g[".cm-gutters"].borderRightColor=n.gutterBorder),n.caret&&(g[".cm-content"]={caretColor:n.caret},g[".cm-cursor, .cm-dropCursor"]={borderLeftColor:n.caret});var i={};n.gutterActiveForeground&&(i.color=n.gutterActiveForeground),n.lineHighlight&&(g[".cm-activeLine"]={backgroundColor:n.lineHighlight},i.backgroundColor=n.lineHighlight),g[".cm-activeLineGutter"]=i,n.selection&&(g["&.cm-focused .cm-selectionBackground, & .cm-line::selection, & .cm-selectionLayer .cm-selectionBackground, .cm-content ::selection"]={background:n.selection+" !important"}),n.selectionMatch&&(g["& .cm-selectionMatch"]={backgroundColor:n.selectionMatch});var s=e.theme(g,{dark:"dark"===r}),d=t.define(c);return[s,o(d)]},c={background:"#ffffff",foreground:"#383a42",caret:"#000",selection:"#add6ff",selectionMatch:"#a8ac94",lineHighlight:"#99999926",gutterBackground:"#fff",gutterForeground:"#237893",gutterActiveForeground:"#0b216f",fontFamily:'Menlo, Monaco, Consolas, "Andale Mono", "Ubuntu Mono", "Courier New", monospace'},g=[{tag:[a.keyword,a.operatorKeyword,a.modifier,a.color,a.constant(a.name),a.standard(a.name),a.standard(a.tagName),a.special(a.brace),a.atom,a.bool,a.special(a.variableName)],color:"#0000ff"},{tag:[a.moduleKeyword,a.controlKeyword],color:"#af00db"},{tag:[a.name,a.deleted,a.character,a.macroName,a.propertyName,a.variableName,a.labelName,a.definition(a.name)],color:"#0070c1"},{tag:a.heading,fontWeight:"bold",color:"#0070c1"},{tag:[a.typeName,a.className,a.tagName,a.number,a.changed,a.annotation,a.self,a.namespace],color:"#267f99"},{tag:[a.function(a.variableName),a.function(a.propertyName)],color:"#795e26"},{tag:[a.number],color:"#098658"},{tag:[a.operator,a.punctuation,a.separator,a.url,a.escape,a.regexp],color:"#383a42"},{tag:[a.regexp],color:"#af00db"},{tag:[a.special(a.string),a.processingInstruction,a.string,a.inserted],color:"#a31515"},{tag:[a.angleBracket],color:"#383a42"},{tag:a.strong,fontWeight:"bold"},{tag:a.emphasis,fontStyle:"italic"},{tag:a.strikethrough,textDecoration:"line-through"},{tag:[a.meta,a.comment],color:"#008000"},{tag:a.link,color:"#4078f2",textDecoration:"underline"},{tag:a.invalid,color:"#e45649"}];!function(e){var{theme:t="light",settings:o={},styles:a=[]}=e||{};n({theme:t,settings:r({},c,o),styles:[...g,...a]})}();var l={background:"#1e1e1e",foreground:"#9cdcfe",caret:"#c6c6c6",selection:"#6199ff2f",selectionMatch:"#72a1ff59",lineHighlight:"#ffffff0f",gutterBackground:"#1e1e1e",gutterForeground:"#838383",gutterActiveForeground:"#fff",fontFamily:'Menlo, Monaco, Consolas, "Andale Mono", "Ubuntu Mono", "Courier New", monospace'},i=[{tag:[a.keyword,a.operatorKeyword,a.modifier,a.color,a.constant(a.name),a.standard(a.name),a.standard(a.tagName),a.special(a.brace),a.atom,a.bool,a.special(a.variableName)],color:"#569cd6"},{tag:[a.controlKeyword,a.moduleKeyword],color:"#c586c0"},{tag:[a.name,a.deleted,a.character,a.macroName,a.propertyName,a.variableName,a.labelName,a.definition(a.name)],color:"#9cdcfe"},{tag:a.heading,fontWeight:"bold",color:"#9cdcfe"},{tag:[a.typeName,a.className,a.tagName,a.number,a.changed,a.annotation,a.self,a.namespace],color:"#4ec9b0"},{tag:[a.function(a.variableName),a.function(a.propertyName)],color:"#dcdcaa"},{tag:[a.number],color:"#b5cea8"},{tag:[a.operator,a.punctuation,a.separator,a.url,a.escape,a.regexp],color:"#d4d4d4"},{tag:[a.regexp],color:"#d16969"},{tag:[a.special(a.string),a.processingInstruction,a.string,a.inserted],color:"#ce9178"},{tag:[a.angleBracket],color:"#808080"},{tag:a.strong,fontWeight:"bold"},{tag:a.emphasis,fontStyle:"italic"},{tag:a.strikethrough,textDecoration:"line-through"},{tag:[a.meta,a.comment],color:"#6a9955"},{tag:a.link,color:"#6a9955",textDecoration:"underline"},{tag:a.invalid,color:"#ff0000"}];var s=function(e){var{theme:t="dark",settings:o={},styles:a=[]}=e||{};return n({theme:t,settings:r({},l,o),styles:[...i,...a]})}(),d={background:"#fff",foreground:"#24292e",selection:"#BBDFFF",selectionMatch:"#BBDFFF",gutterBackground:"#fff",gutterForeground:"#6e7781"},m=[{tag:[a.standard(a.tagName),a.tagName],color:"#116329"},{tag:[a.comment,a.bracket],color:"#6a737d"},{tag:[a.className,a.propertyName],color:"#6f42c1"},{tag:[a.variableName,a.attributeName,a.number,a.operator],color:"#005cc5"},{tag:[a.keyword,a.typeName,a.typeOperator,a.typeName],color:"#d73a49"},{tag:[a.string,a.meta,a.regexp],color:"#032f62"},{tag:[a.name,a.quote],color:"#22863a"},{tag:[a.heading,a.strong],color:"#24292e",fontWeight:"bold"},{tag:[a.emphasis],color:"#24292e",fontStyle:"italic"},{tag:[a.deleted],color:"#b31d28",backgroundColor:"ffeef0"},{tag:[a.atom,a.bool,a.special(a.variableName)],color:"#e36209"},{tag:[a.url,a.escape,a.regexp,a.link],color:"#032f62"},{tag:a.link,textDecoration:"underline"},{tag:a.strikethrough,textDecoration:"line-through"},{tag:a.invalid,color:"#cb2431"}],f=(e=>{var{theme:t="light",settings:o={},styles:a=[]}=e||{};return n({theme:t,settings:r({},d,o),styles:[...m,...a]})})(),u={background:"#0d1117",foreground:"#c9d1d9",caret:"#c9d1d9",selection:"#003d73",selectionMatch:"#003d73",lineHighlight:"#36334280"},b=[{tag:[a.standard(a.tagName),a.tagName],color:"#7ee787"},{tag:[a.comment,a.bracket],color:"#8b949e"},{tag:[a.className,a.propertyName],color:"#d2a8ff"},{tag:[a.variableName,a.attributeName,a.number,a.operator],color:"#79c0ff"},{tag:[a.keyword,a.typeName,a.typeOperator,a.typeName],color:"#ff7b72"},{tag:[a.string,a.meta,a.regexp],color:"#a5d6ff"},{tag:[a.name,a.quote],color:"#7ee787"},{tag:[a.heading,a.strong],color:"#d2a8ff",fontWeight:"bold"},{tag:[a.emphasis],color:"#d2a8ff",fontStyle:"italic"},{tag:[a.deleted],color:"#ffdcd7",backgroundColor:"ffeef0"},{tag:[a.atom,a.bool,a.special(a.variableName)],color:"#ffab70"},{tag:a.link,textDecoration:"underline"},{tag:a.strikethrough,textDecoration:"line-through"},{tag:a.invalid,color:"#f97583"}];(e=>{var{theme:t="dark",settings:o={},styles:a=[]}=e||{};n({theme:t,settings:r({},u,o),styles:[...b,...a]})})();var h={background:"#282a36",foreground:"#f8f8f2",caret:"#f8f8f0",selection:"rgba(255, 255, 255, 0.1)",selectionMatch:"rgba(255, 255, 255, 0.2)",gutterBackground:"#282a36",gutterForeground:"#6D8A88",gutterBorder:"transparent",lineHighlight:"rgba(255, 255, 255, 0.1)"},p=[{tag:a.comment,color:"#6272a4"},{tag:a.string,color:"#f1fa8c"},{tag:a.atom,color:"#bd93f9"},{tag:a.meta,color:"#f8f8f2"},{tag:[a.keyword,a.operator,a.tagName],color:"#ff79c6"},{tag:[a.function(a.propertyName),a.propertyName],color:"#66d9ef"},{tag:[a.definition(a.variableName),a.function(a.variableName),a.className,a.attributeName],color:"#50fa7b"},{tag:a.atom,color:"#bd93f9"}];(e=>{var{theme:t="dark",settings:o={},styles:a=[]}=e||{};n({theme:t,settings:r({},h,o),styles:[...p,...a]})})();export{f as g,s as v};
|