Cartographer is a system that provides real-time simultaneous localization and mapping (SLAM) in 2D and 3D across multiple platforms and sensor configurations.
Apache License 2.0
7.02k
stars
2.24k
forks
source link
Map is not being built_3D, Trajectories: two points are required for a LINE_STRIP marker. Constraints: inter constraints, different trajectories/4 -- Points should not be empty #1960
I'm new to ROS and Cartographer, and I'm trying to build a 3D system that is mainly formed of a VLP16-LiDAR and a PhidgetSpatial IMU.
I was able to build all the required files: backpack_3D.launch, backpack_3D.lua, and VLP16-imu.urdf
I was able to get a display and visualize the rellationship between the frames of references (base_link, velodyne, imu_link).
However, the map is not being built. The whole display moves when the system moves instead of building up the map as it should be. I attached a photo below to show my display.
Results
Also I get a bunch of errors from the trajectories, and constraints in Rviz:
Trajectory 0/0 -- At least two points are required for a LINE_STRIP marker.
Inter constraints, different trajectories/4 -- Points should not be empty for specified marker type. Marker is fully transparent (color.a is 0.0).
Inter residuals, different trajectories/5 -- Points should not be empty for specified marker type. Marker is fully transparent (color.a is 0.0).
Also some warnings I get in the terminal. I think it's more related to Velodyne as follows:
Hello all,
I'm new to ROS and Cartographer, and I'm trying to build a 3D system that is mainly formed of a VLP16-LiDAR and a PhidgetSpatial IMU.
I was able to build all the required files: backpack_3D.launch, backpack_3D.lua, and VLP16-imu.urdf I was able to get a display and visualize the rellationship between the frames of references (base_link, velodyne, imu_link).
However, the map is not being built. The whole display moves when the system moves instead of building up the map as it should be. I attached a photo below to show my display.
Results
Also I get a bunch of errors from the trajectories, and constraints in Rviz:
Trajectory 0/0 -- At least two points are required for a LINE_STRIP marker. Inter constraints, different trajectories/4 -- Points should not be empty for specified marker type. Marker is fully transparent (color.a is 0.0). Inter residuals, different trajectories/5 -- Points should not be empty for specified marker type. Marker is fully transparent (color.a is 0.0).
Also some warnings I get in the terminal. I think it's more related to Velodyne as follows:
Would you please recommend what i should do? I'd appreciate any help/guidance to fix this.
I attached below my configuration and launch files I used:
Launch file
Lua file
URDF file