Skip to content

Commit

Permalink
Added IMU to proto File
Browse files Browse the repository at this point in the history
  • Loading branch information
jkerpe committed Oct 29, 2023
1 parent e8bdf4a commit 75f27cd
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions webots/protos/Zumo32U4.proto
Original file line number Diff line number Diff line change
Expand Up @@ -441,6 +441,47 @@ PROTO Zumo32U4 [
}
]
}
DEF IMU Group {
children [
Accelerometer {
name "accelerometer"
xAxis TRUE
yAxis TRUE
zAxis TRUE
resolution 0.001
lookupTable [
-19.62 -32768 0
0 0 0
19.62 32767 0
]
}
Gyro {
name "gyro"
xAxis TRUE
yAxis TRUE
zAxis TRUE
resolution 0.001
lookupTable [
-4.276 -32768 0
0 0 0
4.276 32767 0
]
}
Compass {
name "magnetometer"
xAxis TRUE
yAxis TRUE
zAxis TRUE
resolution 0.001
lookupTable [
-1 -32000 0
0 0 0
1 32000 0
]
}
]
}

DEF LEDS Group {
children [
LED {
Expand Down

0 comments on commit 75f27cd

Please sign in to comment.