-
Notifications
You must be signed in to change notification settings - Fork 503
Open
Description
Using
- Carla version 0.9.13.
- Ros bridge e9063d9
- Ubuntu 18.04
- ROS melodic
This issue is similar to issues that claim to be fixed
I am running the bridge in synchronous mode (default settings).
Using carla_spawn_objects with the following .json to spawn in stationary lidars:
{
"objects":
[
{
"type": "sensor.pseudo.objects",
"id": "objects"
},
{
"type": "sensor.pseudo.actor_list",
"id": "actor_list"
},
{
"type": "sensor.lidar.ray_cast",
"id": "lidar0",
"spawn_point": {"x": 1.0, "y": 2.0, "z": 3.0, "roll": 4.0, "pitch": 5.0, "yaw": 6.0},
"range": 75,
"channels": 64,
"points_per_second": 10000,
"upper_fov": 22.5,
"lower_fov": -22.5,
"rotation_frequency": 10,
"noise_stddev": 0.1
},
{
"type": "sensor.lidar.ray_cast",
"id": "lidar1",
"spawn_point": {"x": -1.0, "y": -2.0, "z": -3.0, "roll": -4.0, "pitch": -5.0, "yaw": -6.0},
"range": 75,
"channels": 64,
"points_per_second": 10000,
"upper_fov": 22.5,
"lower_fov": -22.5,
"rotation_frequency": 10,
"noise_stddev": 0.1
}
]
}
Expected behaviour
The /tf topic gives the same transforms as defined in the .json
Actual results
Transformations in /tf are all zeros. Sometimes the first lidar is correct. It appears that overall load of the simulation is a factor as high values in points_per_second reduces the amount of correct transforms.
Example output of rostopic echo /tf:
transforms:
-
header:
seq: 0
stamp:
secs: 349
nsecs: 220444330
frame_id: "map"
child_frame_id: "lidar0"
transform:
translation:
x: 1.0
y: 2.0
z: 3.0
rotation:
x: 0.0325370449297
y: 0.0453578232483
z: 0.0507341253023
w: 0.997150970068
---
transforms:
-
header:
seq: 0
stamp:
secs: 349
nsecs: 220444330
frame_id: "map"
child_frame_id: "lidar1"
transform:
translation:
x: 0.0
y: -0.0
z: 0.0
rotation:
x: 0.0
y: -0.0
z: 0.0
w: 1.0
---
Metadata
Metadata
Assignees
Labels
No labels