Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add oak-d lite device #78

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions RobotServer/objects/HttpRobotTemplate.wbo
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ DEF RobotTemplate Robot {
translation 0 0.4953 0.5
rotation 0 0 -1 -1.5708
}
OakDLite {
translation 0 0.49135 0.6
rotation 0 0 -1 -1.5708
}
Elevator {
translation 0 -0.47 0.32
}
Expand Down
43 changes: 43 additions & 0 deletions RobotServer/protos/vision/OakDLite.proto
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
#VRML_OBJ R2022a utf8

PROTO OakDLite [
field SFString name "oakDLite"
field SFVec3f translation 0 0 0
field SFRotation rotation 1 0 0 0
]
{
Solid {
name IS name
translation IS translation
rotation IS rotation
children [
Camera {
name "oakDLiteColor"
width 1920
height 1080
fieldOfView 1.20428
}
RangeFinder {
name "oakDLiteDepth"
width 640
height 480
fieldOfView 1.27409
minRange 0.065
maxRange 100.0
}
Shape {
appearance Appearance {
material Material {
diffuseColor 0.1 0.1 0.1
}
}
geometry Box {
size 0.0175 0.091 0.028
}
}
]
boundingObject Box {
size 0.0175 0.091 0.028
}
}
}