summaryrefslogtreecommitdiff
path: root/simulation/protos/BallCandy.proto
diff options
context:
space:
mode:
authorAbel Tim <abel.tim.t@gmail.com>2024-07-27 12:56:13 +0200
committerAbel Tim <abel.tim.t@gmail.com>2024-07-27 12:56:13 +0200
commit3d4f59f1a32b86f0193d7dea9a59a6ad7f90b16e (patch)
tree5f1f6bb0bd5f73bcefeab5b0bb46fe835f433ab9 /simulation/protos/BallCandy.proto
parentbee143bfbc078a07af52cf8ca675e80a7b30fb6c (diff)
downloadrobotica-3d4f59f1a32b86f0193d7dea9a59a6ad7f90b16e.tar.gz
robotica-3d4f59f1a32b86f0193d7dea9a59a6ad7f90b16e.zip
PCB schemas
Diffstat (limited to 'simulation/protos/BallCandy.proto')
-rw-r--r--simulation/protos/BallCandy.proto38
1 files changed, 38 insertions, 0 deletions
diff --git a/simulation/protos/BallCandy.proto b/simulation/protos/BallCandy.proto
new file mode 100644
index 0000000..08438fc
--- /dev/null
+++ b/simulation/protos/BallCandy.proto
@@ -0,0 +1,38 @@
+#VRML_SIM R2024a utf8
+# license: Copyright Cyberbotics Ltd. Licensed for use only with Webots.
+# license url: https://cyberbotics.com/webots_assets_license
+# documentation url: https://webots.cloud/run?url=https://github.com/cyberbotics/webots/blob/released/projects/robots/softbank/nao/protos/BallCandy.proto
+# keywords: robot/accessory
+
+PROTO BallCandy [
+ field SFVec3f translation 0 0 0.0162
+ field SFRotation rotation 0 0 1 0
+ field SFString name "ball candy"
+ field SFColor color 0.9 0.1 0.1
+]
+{
+Solid {
+ translation IS translation
+ rotation IS rotation
+ children [
+ Shape {
+ appearance PBRAppearance {
+ baseColor IS color
+ roughness 0.3
+ metalness 0
+ }
+ geometry DEF CANDY_BALL_SHAPE Sphere {
+ radius 0.0325
+ subdivision 3
+ }
+ }
+ ]
+ name IS name
+ model "ball candy"
+ boundingObject USE CANDY_BALL_SHAPE
+ physics Physics {
+ density -1
+ mass 0.16
+ }
+}
+}