forked from cyberbotics/webots
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRadio.wrl
36 lines (34 loc) · 2.46 KB
/
Radio.wrl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Experimental Radio node.
# parent: Solid
Radio {
#fields that inherit from the Solid node:
w3dField SFVec3f translation 0 0 0
w3dField SFRotation rotation 0 0 1 0
w3dField MFNode children [] # shape and solids fixed to that solid
field SFString name "radio" # used by wb_robot_get_device()
field SFString model "" # generic name (eg: "chair")
field SFString description "" # a short (1 line) of description
field SFString contactMaterial "default" # see ContactProperties node
field MFNode immersionProperties [] # see ImmersionProperties node
field SFNode boundingObject NULL # for collision detection
field SFNode physics NULL # physics props (Physics node)
field SFBool locked FALSE # to avoid moving objects with the mouse
field SFFloat translationStep 0.01 # step size used by translation manipulator
field SFFloat rotationStep 0.261799387 # step size used by rotation manipulator (PI/12)
field SFFloat radarCrossSection 0.0 # radar cross section of this solid
field MFColor recognitionColors [] # colors returned for this Solid by Cameras with a Recognition node
#fields specific to the Radio node:
field SFString protocol "802.11b" # other types include "ZigBee" etc.
field SFFloat txPowerMin -10 # minimum transmission power (in dBm)
field SFFloat txPowerMax 10 # maximum transmission power (in dBm)
#privates that should be modifiable by software at runtime
field SFString address "" # uniquie identifier (IP, MAC, id...)
field SFFloat rxSensitivity -100 # transmission power (in dBm)
field SFFloat txPower 5 # current transmission power (in dBm)
field SFFloat frequency 2400000000 # frequency band (Hz)
field SFInt32 channel 0 # for multi-channel bands (ISM has 16)
field SFInt32 bitrate 1000000 # speed expressed in bits/sec
# hidden fields
hiddenField SFVec3f linearVelocity 0 0 0 # (m/s) Solid's initial linear velocity
hiddenField SFVec3f angularVelocity 0 0 0 # (rad/s) Solid's initial angular velocity
}