Skip to content

Commit

Permalink
feat: Placed sensors in reasonable positions
Browse files Browse the repository at this point in the history
  • Loading branch information
JulianTrommer committed Jul 3, 2024
1 parent 223195b commit 17dae8e
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 20 deletions.
36 changes: 20 additions & 16 deletions code/agent/config/dev_objects.json
Original file line number Diff line number Diff line change
Expand Up @@ -126,12 +126,12 @@
"type": "sensor.other.radar",
"id": "RADAR",
"spawn_point": {
"x": 0.7,
"y": 0.4,
"z": 1.60,
"x": 2.0,
"y": 0.0,
"z": 0.7,
"roll": 0.0,
"pitch": 0.0,
"yaw": -45.0
"yaw": 0.0
},
"horizontal_fov": 30.0,
"vertical_fov": 30.0,
Expand All @@ -144,7 +144,7 @@
"spawn_point": {
"x": 0.0,
"y": 0.0,
"z": 1.60
"z": 0.0
},
"noise_alt_stddev": 0.000005,
"noise_lat_stddev": 0.000005,
Expand All @@ -157,9 +157,9 @@
"type": "sensor.other.imu",
"id": "IMU",
"spawn_point": {
"x": 0.7,
"y": 0.4,
"z": 1.60,
"x": 0.0,
"y": 0.0,
"z": 0.0,
"roll": 0.0,
"pitch": 0.0,
"yaw": 0.0
Expand All @@ -186,7 +186,7 @@
"spawn_point": {
"x": 0.0,
"y": 0.0,
"z": 1.60
"z": 0.0
},
"noise_alt_stddev": 0.0,
"noise_lat_stddev": 0.0,
Expand All @@ -199,9 +199,9 @@
"type": "sensor.other.imu",
"id": "Ideal_IMU",
"spawn_point": {
"x": 0.7,
"y": 0.4,
"z": 1.60,
"x": 0.0,
"y": 0.0,
"z": 0.0,
"roll": 0.0,
"pitch": 0.0,
"yaw": 0.0
Expand All @@ -217,17 +217,21 @@
"type": "sensor.other.radar",
"id": "Ideal_RADAR",
"spawn_point": {
"x": 0.7,
"y": 0.4,
"z": 1.60,
"x": 2.0,
"y": 0.0,
"z": 0.7,
"roll": 0.0,
"pitch": 0.0,
"yaw": 45.0
"yaw": 0.0
},
"horizontal_fov": 30.0,
"vertical_fov": 30.0,
"points_per_second": 1500,
"range": 100.0
},
{
"type": "sensor.pseudo.odom",
"id": "odometry"
}
]
}
Expand Down
8 changes: 4 additions & 4 deletions code/agent/src/agent/agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,19 +60,19 @@ def sensors(self):
{
'type': 'sensor.other.radar',
'id': 'RADAR',
'x': 0.7, 'y': -0.4, 'z': 1.60,
'roll': 0.0, 'pitch': 0.0, 'yaw': -45.0,
'x': 2.0, 'y': 0.0, 'z': 0.7,
'roll': 0.0, 'pitch': 0.0, 'yaw': 0.0,
'horizontal_fov': 30, 'vertical_fov': 30
},
{
'type': 'sensor.other.gnss',
'id': 'GPS',
'x': 0.7, 'y': -0.4, 'z': 1.60
'x': 0.0, 'y': 0.0, 'z': 0.0
},
{
'type': 'sensor.other.imu',
'id': 'IMU',
'x': 0.7, 'y': -0.4, 'z': 1.60,
'x': 0.0, 'y': 0.0, 'z': 0.0,
'roll': 0.0, 'pitch': 0.0, 'yaw': 0.0
},
{
Expand Down

0 comments on commit 17dae8e

Please sign in to comment.