summaryrefslogtreecommitdiff
path: root/simulation/protos/soccer_ball.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/soccer_ball.proto
parentbee143bfbc078a07af52cf8ca675e80a7b30fb6c (diff)
downloadrobotica-3d4f59f1a32b86f0193d7dea9a59a6ad7f90b16e.tar.gz
robotica-3d4f59f1a32b86f0193d7dea9a59a6ad7f90b16e.zip
PCB schemas
Diffstat (limited to 'simulation/protos/soccer_ball.proto')
-rw-r--r--simulation/protos/soccer_ball.proto29
1 files changed, 29 insertions, 0 deletions
diff --git a/simulation/protos/soccer_ball.proto b/simulation/protos/soccer_ball.proto
new file mode 100644
index 0000000..629df1a
--- /dev/null
+++ b/simulation/protos/soccer_ball.proto
@@ -0,0 +1,29 @@
+#VRML_SIM R2024a utf8
+# Describe the functionality of your PROTO here.
+
+EXTERNPROTO "/home/abel/Documents/robotica/simulation/protos/Ball.proto"
+
+PROTO soccer_ball [
+ field SFVec3f translation 0 0 0.1625
+ field SFRotation rotation 0 0 1 0
+ field SFString name "soccer_ball"
+ field SFString controller ""
+]
+{
+ Ball {
+ translation IS translation
+ rotation IS rotation
+ name IS name
+ children [
+ Emitter {
+ channel 1 # Assign an appropriate channel number
+ range -1 # Setting range to -1 makes it unlimited
+ aperture 6.28319 # 2 * PI radians for omnidirectional
+ beamWidth 6.28319 # 2 * PI radians for omnidirectional
+ dataSize 1 # Size of the data packet
+ dataRate 1 # Rate of data emission in bits per second
+ }
+ ]
+ controller IS controller
+ }
+}