f8506300d2322dc7008af15bd91a655bfe2fa3c1
The add, get and remove sensor functions spelled their first argument five different ways - map_name, laser_scan_name, point_cloud_name, point_cloud2_name, odometry_name - each reading like a free-form label. It is not one. It is the key that has to match the topic a costmap layer names in observation_sources and the entry in sensor_store_params.yaml, and a key that matches nothing is accepted in silence: an empty costmap with no error anywhere. The parameter is now called topic everywhere, and addStaticMap carries the note about what silence costs. addDepthCameraData keeps its ConstPtr and gains the reasoning, because the asymmetry invites being tidied up. Every other sensor is reduced by the host first - a scan is 5.5 KB, a depth cloud is voxel-filtered from 3.26 MB to 24 KB - and copying all of them measures about 25 microseconds per second of runtime. A depth image arrives whole at 398 KB because the voxel layer needs the full frame for its clearing frustum, which costs roughly 250 times the other four together. That is what earns a pointer, and the price is a contract nothing enforces: the caller must not touch the data afterwards. Parameter names and documentation only. No signature, no behaviour, no ABI; this header now matches the one in the development tree byte for byte.
pnkx_nav_core
Phần mềm quản lý việc di chuyển navigation
Description
Languages
C++
84%
CMake
7.9%
C
5.5%
Python
1.5%
MATLAB
0.9%
Other
0.2%