Manuscript Offprint
arXiv:2610.18479RTISSLAM: In-air Imaging Sonar SLAM using a Robust Pose Graph and Occupancy Grid Mapping
Jan Steckel
Abstract—Sonar was one of the first sensors with which mobile robots built maps, and in-air sonar keeps working where cameras and lidar fail, in darkness, smoke, dust and next to glass. Classical sonar SLAM, however, relied on geometric features or occupancy grids built from sparse range readings, and both struggle with the specular reflections that dominate indoor sonar. In this letter, we introduce RTISSLAM, a novel sonar-only SLAM system for an embedded 3D imaging sonar, which combines the robust pose graph of BatSLAM 2.0 as back-end wdfd ith an occupancy grid as map. Energyscapes from delay-multiply-and-sum beamforming with a range-wise CFAR serve as place descriptors for sequence-verified loop closures, acoustic odometry calibrates the wheel odometry online, recognized revisits are registered metrically, and the grid is stored per keyframe and anchored to the pose-graph nodes, so that it follows every loop closure. In simulated worlds with specular walls, RTISSLAM reduces the trajectory error of the wheel odometry from 8.2 m to 0.31 m in an office, while lidar-style grid SLAM on the same sonar data fails.
Index Terms—Sonar, SLAM, occupancy grid, pose graph, acoustic odometry, place recognition, imaging sonar.
I. INTRODUCTION
Sonar is one of the oldest sensors that was widely used in mobile robotics. The very first occupancy grids were built from the range readings of a ring of Polaroid sonars [1], [2], and the first feature-based localization and mapping systems tracked walls, corners and edges extracted from sonar data in an extended Kalman filter [3]–[5]. Underwater, sonar has remained the sensor of choice for SLAM [6]. In air, however, it was replaced by laser scanners and cameras as soon as these became widely available and affordable. Still, in-air sonar keeps working in exactly those conditions in which optical sensors fail (darkness, smoke, dust and fog, and next to glass), and ultrasonic sensors are cheap, small and robust [7]–[9].
While sonar sensing has its benefits in optically degraded conditions [9], the old and classical SLAM implementations for airborne sonar sensing has two main weaknesses. Firstly, it relied on transducers that measure only the range to the nearest reflector in a wide beam, so that a map had to be accumulated from many sparse and ambiguous readings, as explicit direction information was not available. Secondly, indoor surfaces reflect sound specularly: a wall is only seen near normal incidence, whereas corners, edges and door frames return echoes from almost every direction. Geometric features are therefore hard to extract, and occupancy grids built from such readings contain holes where walls were seen at grazing incidence, and phantom obstacles where multiple reflections were taken for direct ones [1], [10].
J. Steckel is with Cosys-Lab, Faculty of Applied Engineering, University of Antwerp, 2020 Antwerp, Belgium, and also with Flanders Make Strategic Research Centre, 3920 Lommel, Belgium (e-mail: jan.steckel@uantwerpen.be).
Recent developments in in-air sonar sensors make it worthwhile to revisit sonar SLAM. Firstly, embedded 3D imaging sonars such as the eRTIS [8], [9] beamform the signals of a N-channel microphone array into an energyscape, i.e., the reflected energy as a function of range and direction, for every pulse [7]. Nonlinear beamformers such as Delay-Multiply-And-Sum (DMAS) with a coherence factor have made these images considerably sharper, and can be efficiently implemented so they run in real time on embedded robotics GPUs [11]. Secondly, SLAM back-ends have matured into robust factor-graph optimizers [12], [13] that withstand wrong loop closures [14]–[16]. The recently proposed BatSLAM 2.0 [17] combined such a factor-graph back-end with sequence-verified place recognition on the echoes of a binaural bat-like sonar sensor, and produced reliable topological maps even in strongly aliased environments. While topological maps provide high-level path planning systems with useful information, access to a true metric map at some scales would be beneficial. Recently, in-air sonar has also been used to estimate odometry and maps with generative models [18], to map acoustic reflectors [19]–[21], alongside a lidar SLAM system [22], and for the navigation of palm-sized aerial robots [23]? Furthermore, learned models predict sonar images [24], reconstruct scenes [25] or estimate depth from echoes [26]–[28]. This wide and renewed domain of applications sparked the interest in revisiting the occupancy grid SLAM systems of the past, to see if the new techniques can improve the construction of such occupancy grid maps using modern techniques.
The question we address in this paper is how the spatial information of an imaging sonar is best combined with a robust pose graph. Our answer is a deliberate division of labor: the pose graph of BatSLAM 2.0 remains the back-end that estimates the trajectory of the robot, driven by place recognition on energyscapes. An occupancy grid map, anchored to the nodes of the pose graph, is the front-end that turns the energyscapes into a metric map. The pose estimate is thereby protected from the specular holes and phantom obstacles of sonar grids (due to the robust implementation of the pose graph using local view recognition), and the grid inherits the consistency of the pose graph after every loop closure. We deliberately use a pipeline without learned components, from the beamformer to the map, to make this system as widely applicable as possible.
The contributions of this paper are as follows:
- RTISSLAM, a sonar-only SLAM system for an embedded imaging sonar, which uses DMAS energyscapes with a range-wise CFAR as place descriptors in the pose graph of BatSLAM 2.0, and an occupancy grid that is stored per keyframe and rendered from the current pose graph.
PREPRINT
-
The use of acoustic odometry [7] with an exact flow warp to calibrate the wheel odometry online, which we show to be more effective than adding acoustic flow as an additional odometry factor.
-
The metric registration of recognized revisits on the echoes of both visits.
-
An evaluation in three simulated worlds with specular walls over five noise realizations, with an ablation and a comparison with lidar-style grid SLAM on the same sonar data.
A. Energyscapes
We consider an eRTIS-type sensor [8] with one emitter and microphones in the YZ-plane, at nominal positions . The emitter sends a broadband FM sweep, and each microphone signal is processed by a matched filter:
with the spectrum of the emitted signal [7]. For every direction of interest , with azimuth and elevation , the signals are delayed by :
with
and
where is the sample rate and c the speed of sound, which gives
Delay-And-Sum (DAS), a standard beamforming method, adds these signals. Third-order Delay-Multiply-And-Sum with Coherence Factor (DMAS3 + CF) [11] instead sums the products of all triplets of signed cube roots, and weights the result with the coherence of the array:
with
The triple sum is computed from power sums in operations, so that the beamformer runs in real time on the GPU of the sensor [11]. The envelope of , averaged in power over range cells of 2 cm, forms the energyscape . As RTISSLAM builds a 2D map, we restrict ourselves to the horizontal plane, with directions between and and 240 range cells from 0.2 m to 5 m.
The sidelobes of a strong reflector spread over all directions at its range, and raise the mean energy at that range. We therefore apply a Range-Wise CFAR (RW-CFAR), which is a method of the cell-averaging CFAR family [29] whose reference cells are all directions at the same range:
with
where and is a Gaussian kernel of three range cells. As is constant over the directions, this smoothing is equivalent to smoothing the threshold map with a symmetric 2D Gaussian. In what follows, is the energyscape at pose-graph node , and its range-compensated level in decibels:
B. Local Views and Place Recognition
In BatSLAM 2.0 [17], places are recognized by comparing local views, i.e., small images that summarize what the sensor perceives at a node, with the views stored as templates along the trajectory. There, the local view was a binaural cochleogram, which is a time-frequency representation from each ear. In this paper, we build this local view template from the energyscape. As a place should be recognized from the layout of its strongest reflectors rather than from the exact shape and strength of individual echoes, the view is made coarse and compressed in four steps.
Firstly, we compensate the range dependence of the echo strength and remove the noise floor. The energy of an echo decays with (spherical spreading on the way out and back), and multiplying by compensates one of these two factors, so that distant reflectors still contribute without dominating the view. As a side note, multiplying with is too aggressive and exaggerates noise contributions. The noise floor is removed by subtracting the median of the view:

Fig. 1. Overview of the processing flow of RTISSLAM. Every pulse of the eRTIS is beamformed into an energyscape , which feeds the place recognition of BatSLAM 2.0 (local views, templates and the sequence verifier), the acoustic odometry and the keyframe evidence of the occupancy grid. The acoustic odometry calibrates the wheel odometry , whose corrected increments enter the pose graph. Committed recognitions are registered metrically on the echoes of both visits before they enter the pose graph as loop closure links. The occupancy grid is rendered from the keyframe evidence, placed with the current estimate of the pose graph, so that it follows every loop closure; it does not feed back into the pose estimate.
where is the median of over all cells of the energyscape of node .
Secondly, we pool the energyscape into a coarse grid of azimuth sectors of and range bins of 6 cm, up to 4.5 m:
where is the set of energyscape cells that fall into sector a and range bin b. The coarse sectors make the view insensitive to small changes of heading, which change the bearing of every reflector, and a similar point can be made for the range axis.
Thirdly, we smooth the pooled image and compress its dynamic range relative to its strongest bin:
where G is a Gaussian kernel with a standard deviation of 0.5 sectors and 0.7 range bins, and . As is an energy, the exponent raises the echo amplitude to the power . This strong compression keeps weak reflectors visible next to strong specular ones (i.e. walls). Finally, the local view is the zero-mean, unit-norm version of this image:
with the mean of . The choice for 20 sectors and were tuned on a separate development drive (section IV-A).
The view keeps range as its second axis, so that the similarity of BatSLAM 2.0 applies without change. The similarity between the view of a query node q and a template t is the highest correlation coefficient over small shifts in range:
where is the view of shifted by range bins and is the correlation coefficient. A revisit seldom happens at exactly the same position: if the robot is slightly further along the corridor than when the template was laid, all reflectors appear closer by the same amount. The winning shift therefore also estimates this forward offset, , which is used in the loop closure link (section II-C).
Templates are laid every 0.3 m of travel, and every node is compared with all templates laid more than 5 m of travel earlier. The best candidates are handed to the sequence verifier of BatSLAM 2.0, which only accepts a recognition when a consistent sequence of candidates supports it. To this end, every candidate contributes evidence according to its similarity:
where is the similarity at which a candidate is as likely to be correct as not, and the slope a sets how quickly the evidence grows with the similarity. A hypothesis is committed once its accumulated evidence exceeds the thresholds of BatSLAM 2.0, with stricter thresholds when the commit would correct the map strongly. As these thresholds are expressed in units of , the evidence curve has to be fitted for every descriptor. We describe the approach to perform this fit in section IV-A. The plausibility gate and the link management of BatSLAM 2.0 are used without change.
C. The Pose Graph
Every node holds the pose of the robot, connected to the previous node by the wheel odometry increment . A committed recognition adds a link between a query node and the anchor of the matched template, with measurement . With respect to BatSLAM 2.0, the odometry increments are corrected with a calibration matrix , and every
PREPRINT
link carries its own covariance :
(8)
where is the pose of node in the frame of node , is the set of links in the graph, is the Huber loss and (section II-D). An unregistered link has and the weak covariance settings of BatSLAM 2.0: (0.30 m, 0.20 rad). Equation 8 is solved incrementally with iSAM2 [12] in GTSAM [13], and the links of every committed hypothesis form a group that the link management of BatSLAM 2.0 can withdraw and re-admit.
D. Acoustic Odometry and Wheel Calibration
A static reflector at range and bearing moves through the image of a sensor that moves with linear velocity and angular velocity according to the acoustic flow [7], [30]: and . In [7], consecutive energyscapes were approximated as translated in , which underestimates the forward motion, as reflectors off the axis approach more slowly than the sensor moves. We therefore correlate after an exact warp: a point in the current sensor frame lies, in the previous one, at
with the rotation matrix, the mount of the sensor (0.1 m in front of the rotation center) and the chord of a circular arc. With the operator that resamples an image at these positions, the acoustic odometry between nodes and is
where is the level in a 25 dB window below the peak, between 1.5 m and 4.5 m and within , and is a window of range cells and around the wheel increment, searched coarse to fine with a parabolic peak fit. Estimates whose correlation peak is not clearly above the median of the window are rejected.
Using equation 10 as a second odometry factor would stiffen the odometry chain with the small, environment-dependent biases of the acoustic odometry. The errors of the wheels, on the other hand, are dominated by a scale error on the distance and a heading bias, which are hard to observe from the wheels but easy to observe from the environment. We therefore let the acoustic odometry calibrate the wheels, with the least-squares scale factors
with and the wheel increments, over the pairs with a sharp correlation peak (a factor 1.6 above the median). K is applied once 40 pairs and of rotation have been accumulated, and the search window stays centered on the raw wheel increment, as a broad correlation peak would otherwise lean towards a calibrated prediction and confirm it.
E. Metric Registration of Recognized Revisits
A link of BatSLAM 2.0 places the robot at the anchor pose, shifted along its heading, with a large covariance, as a binaural view says little about a lateral offset. An imaging sonar observes where its reflectors are, so that a revisit can be registered. For a committed pair , the echo detections (section II-F) of the nodes within 1.2 m of travel before q form a point set Q in the frame of q, and those within m around a set A in the frame of a, both composed with odometry. Following correlative scan matching [31], a relative pose z is scored by
with the rigid transformation of and , maximized over and around . If the maximum is high ( ) and distinct (at least twice the median score of the search), it replaces , with a tight covariance (6 cm, 0.03 rad) - otherwise the link keeps its uncertain BatSLAM2.0 form.
F. Occupancy Grid Anchored to the Pose Graph
The occupancy grid is not built from every pulse, but from keyframes, which are taken every 0.25 m of travel or 15° of rotation. Every keyframe is anchored to the pose-graph node at which it was taken, and stores its evidence in the frame of the robot, i.e., independent of where the pose graph currently places that node. In what follows, we first describe which evidence a keyframe stores, and then how the grid is rendered from it.
A cell of the energyscape is taken as a detection when its range-compensated level exceeds a threshold that adapts to the content of the view:
where is the median level and the peak level of the energyscape of keyframe . The first term keeps the threshold well above the noise floor of a sparse view, while the second one prevents the sidelobes of a very strong echo from being detected in a crowded one. Every detection becomes a point of occupied evidence, at range and direction as seen from the sensor. Each point is weighted by how far its level exceeds the threshold, from 0.4 at the threshold to 1 at 10 dB above it, so that strong echoes count more than marginal ones.
Free evidence is laid along every direction, from the sensor up to 12 cm before the first detection in that direction, with at most 3.5 m. In directions without any detection, however, free evidence is only laid up to 0.6 m. This rule is specific to sonar: a specular wall at grazing incidence returns no echo at all, so that the absence of an echo does not mean that the space is free [1]. Without it, every wall that is passed at a shallow angle would be erased from the map.
The grid is rendered from the evidence of all keyframes, each placed with the current pose estimate of its anchor node. For every cell of the grid, we count the occupied and free points that fall into it, and combine them into log-odds [10]:
(14) where is the weighted number of occupied points and the number of free points in cell , over all keyframes, and and are the log-odds increments of a single occupied and free point. The clipping keeps every cell able to change its state when new evidence arrives.
As the evidence is stored per keyframe in the frame of the robot, the grid is not updated incrementally, but rendered as a whole whenever the pose graph changes, which takes 0.16 s for 739 keyframes with 5 cm cells. A loop closure that corrects the pose graph therefore moves the evidence of every keyframe along with its anchor node, and a group of links that is withdrawn by the link management takes its effect on the map with it. This is the main difference with grid-based SLAM systems that write evidence into a single global grid [32] or into fixed submaps [33], in which a correction of the trajectory cannot be propagated into evidence that has already been written.
III. EXPERIMENTAL SETUP
We evaluated RTISSLAM in a closed-loop simulator, in which a differential-drive robot with an eRTIS drives through a floor plan while the sonar is simulated pulse by pulse.
Worlds: We built three floor plans with specular walls and few point reflectors (figure 2), as these are the conditions in which sonar mapping is hardest. The office (36 × 22 m) has a lobby with pillars, two corridors and 13 furnished rooms, with loops at very different scales. The warehouse (32 × 26 m, L-shaped) has eight double-sided rack rows, a cross aisle and a walled office. Its aisles are nearly identical, which makes it the most aliased world. The atrium is an octagonal hall (radius 12 m) around a round glass core, with planters, glass screens and two side rooms. This world is the most open world of the project. Walls are occluding boxes whose faces carry reflector points with a specular backscatter lobe, door openings carry door frames, every concave wall junction carries a corner reflector, and furniture (desks, cabinets, racks, tables and chairs with thin legs) is modeled with occluding boxes and cylinders.
Sensor: The eRTIS is simulated with the geometric, coherent echo synthesis paradigm of SonoTraceLab and SonoTraceUE [34], [35], which has been used to develop and validate sonar-based control and imaging before [36], [37]: perturbed microphone positions with gain and phase errors, a band-pass emitter with a misaligned, frequency-dependent directivity, spherical spreading, atmospheric absorption, occlusion and sensor noise. Figure 3 shows the energyscapes at three poses: walls are only seen near normal incidence, and door frames, corners and the edges of furniture are the dominant landmarks. DMAS3 + CF removes most of the sidelobes and range rings of DAS, and the RW-CFAR the remaining ones.
Robot and drives: The robot has a radius of 0.25 m, with the sensor 0.1 m in front of the axle and 0.4 m above the floor. Its wheel odometry has a scale error of 2 % on the traveled distance, a heading bias of 3 % of the rotation, as in BatSLAM 2.0 [17], and additive white Gaussian noise. The mapping drives follow a tour that visits most rooms and closes loops at several scales, driven twice (2.1 laps) with pure pursuit at up to 0.4 m s and a pulse rate of 10 Hz: 404 m in the office (3992 nodes), 330 m in the warehouse (2988 nodes) and 271 m in the atrium (2450 nodes). Every drive was repeated with five seeds, which change the sensor and odometry noise and the reflector sampling. The descriptor and its evidence curve were tuned on a separate single-lap office drive (the development drive), and ground truth is used for evaluation only.
Baseline: As a lidar-style alternative, we ran slam_toolbox [38], i.e., Karto's correlative scan matching with a pose graph and geometric loop closure, on the same data: a pseudo-scan with, per direction, the range of the first detection of equation 13, i.e., the same echoes as our grid, and the same wheel odometry. We report its stock parameters, and the best of 38 parameter sets tuned on the development drive.
IV. RESULTS
A. Place Recognition and the Evidence Curve
The local view was tuned on the development drive using templates every 0.3 m, and for every node the best candidate among the templates laid more than 5 m of travel earlier. A candidate is correct if its anchor lies within 0.6 m and 26° of the query. With the settings of BatSLAM 2.0 (60 sectors, ), 34 % of the revisit nodes are recognized at a precision of 95 %; coarser sectors and a stronger compression, which make the view less sensitive to the exact shape of the specular echoes, raise this to 54 % (20 sectors, , with an AUC of 0.97). The evidence curve was then fitted in the way of BatSLAM 2.0 on the five best candidates of every node: a monotone (isotonic) regression of the fraction of correct candidates against s gives , where half of them are correct, and the slope follows from where the logit of that fraction reaches +2, i.e., from the upper branch of the curve, where true revisits produce their candidates. The candidate floor is set where reaches -4 (0.807). This fit matters: with a slope taken from the whole curve (about 30), true revisits never accumulate the evidence that the risk-scaled commit rule requires for large corrections, and the first loop closure is never made.
B. SLAM Accuracy and Ablation
Table I summarizes the Absolute Trajectory Error (ATE) over the five seeds, and figure 4 shows the result of the first seed. RTISSLAM reduces the error of the wheel odometry from 8.2 m to 0.31 m in the office and from 5.1 m to 0.57 m in the warehouse. The online estimate, i.e., the pose of the current node at the moment it is added, is 0.79 m and 1.13 m. Out of on average 2090 and 1817 loop closure links per run, none and 14 over all five seeds (0.15 %) connected places more than 1 m apart, all in the nearly identical aisles of the warehouse; the robust kernel and the link management keep them from distorting the map.
The ablation shows how the elements contribute. The links of BatSLAM 2.0 alone already reduce the error by an order of magnitude, but without registration and calibration they include 8 false links in the office and 18 in the warehouse over the five seeds, and none in the atrium. Their metric registration helps where the geometry is distinctive (the office and the atrium, where 85 % and 66 % of the committed links are registered),
PREPRINT

Fig. 2. The Three Simulated Worlds: the office, the warehouse and the atrium. Grey: walls and furniture footprints; blue: reflector points at sensor height; red triangles: concave corners; orange squares: door frames; purple: point objects; green: the mapping tour, starting at the circle.

Fig. 3. Energyscapes at Three Poses in the Office, in the sensor frame (forward up), range-compensated (+40 log₁₀ r) and normalized per image, with the colormap from −30 dB to 0 dB. Left: the scene; then Delay-And-Sum (DAS), third-order Delay-Multiply-And-Sum with Coherence Factor (DMAS3 + CF), and DMAS3 + CF with the Range-Wise CFAR used by RTISSLAM. Grid lines every 30° and 1 m.
and less in the warehouse (38 %). Without loop closures, the calibration of the wheels by the acoustic odometry reduces the dead-reckoning error by a factor of 3.5 in both indoor worlds, and on top of the links it gives the best result, a further 25 % and 37 %. Figure 7 shows why: the calibration converges within 1 % of the true correction factors after 23 m of travel in the office, after which the calibrated wheels combine the low noise of the wheels with the absence of bias of the acoustic odometry, whereas the acoustic odometry by itself performs a random walk in heading. In the atrium, however, the calibration fails: most reflectors are far away and peripheral, only 70 % of the node pairs yield an acoustic odometry estimate, and the estimated heading scale is biased (0.936 against the true 0.971), so that the calibrated dead reckoning is worse than the raw wheels, and RTISSLAM (1.78 m) is worse than the registered links without calibration (0.53 m). We come back to this in section V.
The baseline confirms the premise of RTISSLAM. With its stock parameters, slam_toolbox is worse than dead reckoning in every world, as Karto's scan matching turns the sparse, specular sonar scans into heading errors. Tuned on the development drive, it reaches 0.42 m on one office drive, but diverges on another (23.7 m), and it does not transfer: in the warehouse and the atrium, it is worse than dead reckoning on all ten drives, as scan matching slides along repetitive aisles and open space. Its loop closures rarely fire, so that its error is that of the scan-to-scan matching. The bottom rows of figure 4 show the consequence for the maps: the RTISSLAM grids resolve walls, doors, racks and furniture, whereas the slam_toolbox grids are smeared and doubled.
Office

Warehouse
Atrium
x (m)
x (m)
x (m)
Fig. 4. RTISSLAM and slam_toolbox on the Three Worlds (First Seed). Top: ground truth (black), wheel odometry (red), slam_toolbox (green) and RTISSLAM (blue), with their ATE, on the floor plan (reference only). Middle: the RTISSLAM occupancy grid, rendered from the final pose graph, with the estimated trajectory, its template nodes (blue dots) and the nodes at which a revisit was recognized (orange). Bottom: the slam_toolbox grid and trajectory on the same sonar echoes and odometry. Grids: black is occupied, white is free and grey is unknown.
TABLE I ABSOLUTE TRAJECTORY ERROR AFTER THE TWO-LAP DRIVES (M, MEAN ± STANDARD DEVIATION OVER FIVE SEEDS).
| Variant | Office | Warehouse | Atrium |
|---|---|---|---|
| Wheel odometry | |||
| + AO calibration | |||
| BatSLAM 2.0 links | |||
| + registration | |||
| + AO calib. (RTISSLAM) | |||
| slam_toolbox, stock | |||
| slam_toolbox, tuned |
C. The Occupancy Grid
Figure 5 shows the online grid of the office just before and after a loop closure, at node 584, which reduces the error of the current node from to and moves earlier nodes by up to . Before the closure, the walls of the revisited part appear twice; after it, the keyframes of both visits are placed with their corrected anchors, and the double walls merge without a trace of the erroneous placement. Figure 6 compares the grids of DAS and DMAS3 + CF, with and without the RW-CFAR, in the three worlds, rendered from the same poses with the same inverse sensor model: without the RW-CFAR, the sidelobes and range rings of DAS are taken for obstacles, and the RW-CFAR removes most of them even for DAS; DMAS3 + CF with the RW-CFAR gives the cleanest walls and the fewest phantom detections.
V. DISCUSSION AND LIMITATIONS
An argument one could validly bring up is that RTISSLAM does not use its own map to its full extend: the occupancy grid is built from the pose graph, but it never constrains the pose estimate, whereas the accuracy of lidar SLAM stems precisely from matching scans against the occupancy map [32], [33]. This choice was made deliberately based on the observations shown in the baseline results: a single sonar scan is sparse, specular and view dependent, and matching it against the scans or the grid of earlier visits drives slam_toolbox into errors larger than those of the wheels. The raytracing approach that makes LIDAR scan matching successful in occupancy grid SLAM does not transfer to sonar sensing. By keeping the grid out of
PREPRINT
Before the Loop Closure (Node 580, Error 1.13 m)

After the Loop Closure (Node 584, Error 0.13 m)
x (m)
Fig. 5. The Online Occupancy Grid of the Office Just Before and After a Loop Closure. Dashed black: ground truth (reference only); blue: online RTISSLAM estimate; magenta: current node. The keyframes are placed with the current estimate of their anchor nodes, so that the loop closure moves their evidence with them.
the estimator, the sequence verification and link management of BatSLAM 2.0 remain the controlling factor of the loop closures, rendering the grid consistent with the pose graph after every optimization. The same graph can render grids from other imaging methods afterwards (figure 6). The metric information of the sonar that is present in the RTISSLAM system is utilized, as it enters through the acoustic odometry and the registration of recognized revisits, which are local comparisons in which the artifacts of the physics driving sonar sensing are sufficiently small. The price is that geometric constraints between places that are not recognized as the same place are lost, such as a corridor driven in the opposite direction. Therefore, registering keyframes that the graph places close together, under the same link management, would be a natural extension.
An additional limitation of this paper can be found in the simulation-centered approach. The simulator follows a validated paradigm [34], [35], and the worlds were made deliberately hard, but floors, ceilings and multiple reflections are not modeled in our 2D slice, so that a real-world evaluation with a lidar reference is the obvious next step. Secondly, the calibration of the wheels relies on what is assumed to be an unbiased acoustic odometry method. In the open atrium, the heading scale of the acoustic odometry is actually biased due to the geometry of the scene, and the calibration then makes the map worse instead of better. Improvements can be found in a calibration method that is only applied when enough well-conditioned pairs support it, or that is estimated jointly in the pose graph. Thirdly, the descriptor that recognizes most revisits also produces a few false loop closures in strongly aliased environments. The robust back-end absorbed them in all our runs, but they remain a risk (as is a generally accepted risk in all SLAM systems that perform explicit loop closures). Finally, our wheel odometry has a constant bias, whereas the calibration of a real robot may have to follow slow changes of load, tire pressure or floor. The acoustic-odometry based calibration can naturally be extended to a continuous estimate of the calibration matrix.
VI. Conclusion
In this letter, we presented RTISSLAM, a novel sonar-only SLAM system for an embedded 3D imaging sonar, which combines the robust pose graph of BatSLAM 2.0 as back-end with an occupancy grid that is anchored to the pose-graph nodes. Energyscapes from DMAS beamforming with a range-wise CFAR serve as place descriptors for sequence-verified loop closures, acoustic odometry calibrates the wheel odometry online, and recognized revisits are registered metrically, without any learned component. Over two laps through an office and a warehouse with specular walls, RTISSLAM reduced the trajectory error of the wheel odometry from 8.2 m and 5.1 m to 0.31 m and 0.57 m (five seeds), and built grids in which walls, doors and furniture are clearly resolved, whereas a lidar-style grid SLAM system on the same sonar data did worse than the wheels in most runs. In an open atrium, the loop closures and their registration reduced the error to 0.53 m, but the calibration from acoustic odometry did not hold. In future work, we will validate RTISSLAM on a real robot with a lidar reference, make the calibration robust in open spaces. We have implemented a ROS 2 version of the full algorithm, compatible with the Nav2 stack, which is demonstrated in the accompanying video (https://youtu.be/OV5ceQ0kd-c). The full code is available at https://github.com/Cosys-Lab/RTISSLAM.
ACKNOWLEDGMENT
In accordance with the IEEE policy on the use of artificial intelligence, we disclose that the AI assistant Claude (Anthropic) was used in the preparation of this work: for the implementation of the simulation and SLAM software, for running the experiments, for generating the figures and the supplementary video, and for drafting parts of the text. All results were checked, and the text was reviewed and edited, by the author, who takes full responsibility for the content of this article.
REFERENCES
[1] H. Moravec and A. Elfes, “High resolution maps from wide angle sonar,” in Proceedings of the IEEE International Conference on Robotics and Automation (ICRA), 1985, pp. 116–121.
[2] A. Elfes, “Using occupancy grids for mobile robot perception and navigation,” Computer, vol. 22, no. 6, pp. 46–57, 1989.
[3] J. J. Leonard and H. F. Durrant-Whyte, “Mobile robot localization by tracking geometric beacons,” IEEE Transactions on Robotics and Automation, vol. 7, no. 3, pp. 376–382, 1991.
[4] L. Kleeman and R. Kuc, “Mobile robot sonar for target localization and classification,” The International Journal of Robotics Research, vol. 14, no. 4, pp. 295–318, 1995.
DAS
DAS + RW-CFAR
DMAS3 + CF
DMAS3 + CF + RW-CFAR

x (m)
x (m)
x (m)
x (m)
Fig. 6. Occupancy Grids per Imaging Method in the Three Worlds, rendered from the final RTISSLAM poses (first seed) with the same inverse sensor model: Delay-And-Sum (DAS) and DMAS3 + CF, each without and with the Range-Wise CFAR. The configuration of RTISSLAM is highlighted.
a) Wheel Calibration

b) Heading Drift
Distance Traveled (m)
Fig. 7. Acoustic Odometry on the Office Drive (First Seed). a) Convergence of the wheel calibration (dotted: the true correction factors). b) Accumulated heading error of the raw wheel odometry, the acoustic odometry (wheel increments where an estimate was rejected) and the calibrated wheel odometry.
[5] J. D. Tardós, J. Neira, P. M. Newman, and J. J. Leonard, “Robust mapping and localization in indoor environments using sonar data,” The International Journal of Robotics Research, vol. 21, no. 4, pp. 311–330,
[6] D. Ribas, P. Ridao, J. D. Tardós, and J. Neira, “Underwater SLAM in man-made structured environments,” Journal of Field Robotics, vol. 25, no. 11-12, pp. 898–921, 2008.
[7] J. Steckel, A. Boen, and H. Peremans, “Broadband 3-D sonar system using a sparse array for indoor navigation,” IEEE Transactions on Robotics, vol. 29, no. 1, pp. 161–171, 2013.
[8] R. Kerstens, D. Laurijssen, and J. Steckel, “eRTIS: A fully embedded real time 3D imaging sonar sensor for robotic applications,” in Proceedings of the IEEE International Conference on Robotics and Automation (ICRA), 2019, pp. 1438–1443.
[9] D. Laurijssen, W. Jansen, A. Aerts, W. Daems, and J. Steckel, "Ruggedized Embedded Ultrasound Sensing in Harsh Conditions: eRTIS in the Wild," IEEE Sensors Journal, vol. 26, no. 1, pp. 975–985, 2026. [Online]. Available: https://arxiv.org/abs/2509.10029
[10] S. Thrun, W. Burgard, and D. Fox, Probabilistic Robotics. Cambridge, MA: MIT Press, 2005.
[11] W. Jansen, W. Daems, and J. Steckel, “Delay-Multiply-and-Sum Beamforming for Real-Time In-Air Acoustic Imaging,” IEEE Access, vol. 14, pp. 14470–14480, 2026. [Online]. Available: https://arxiv.org/abs/2511.09165
[12] M. Kaess, H. Johannsson, R. Roberts, V. Ila, J. J. Leonard, and F. Dellaert, “iSAM2: Incremental smoothing and mapping using the Bayes tree,” The International Journal of Robotics Research, vol. 31, no. 2, pp. 216–235, 2012.
[13] F. Dellaert, “Factor graphs and GTSAM: A hands-on introduction,” Georgia Institute of Technology, Tech. Rep. GT-RIM-CP&R-2012-002, 2012.
[14] N. Sünderhauf and P. Protzel, “Switchable constraints for robust pose graph SLAM,” in Proceedings of the IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS), 2012, pp. 1879–1884.
[15] P. Agarwal, G. D. Tipaldi, L. Spinello, C. Stachniss, and W. Burgard, “Robust map optimization using dynamic covariance scaling,” in Proceedings of the IEEE International Conference on Robotics and Automation (ICRA), 2013, pp. 62–69.
[16] H. Yang, P. Antonante, V. Tzoumas, and L. Carlone, “Graduated non-convexity for robust spatial perception: From non-minimal solvers to global outlier rejection,” IEEE Robotics and Automation Letters, vol. 5, no. 2, pp. 1127–1134, 2020.
PREPRINT
[17] J. Steckel, “BatSLAM 2.0: Sequence-verified sonar place recognition in a robust pose graph,” IEEE Access, 2026, submitted, arXiv:2609.40085.
[18] F. Jia, X. Yang, M. Yang, Y. Li, H. Xu, A. Rushworth, S. Ijaz, H. Yu, and T. Cui, “End-to-end Generative Spatial-Temporal Ultrasonic Odometry and Mapping Framework,” 2024. [Online]. Available: https://arxiv.org/abs/2412.17343
[19] W. Qiu and G. Wang, “An echolocation method for mapping using parametric acoustic array,” Measurement, p. 116734, 2025. [Online]. Available: https://doi.org/10.1016/j.measurement.2025.116734
[20] U. Saqib, L. Marchegiani, and J. R. Jensen, “A machine learning framework for acoustic reflector mapping,” 2024. [Online]. Available: https://arxiv.org/abs/2409.12094
[21] U. Saqib, M. G. Christensen, and J. R. Jensen, “Robust acoustic reflector localization using a modified EM algorithm,” EURASIP Journal on Audio, Speech, and Music Processing, vol. 2024, p. 22, 2024. [Online]. Available: https://doi.org/10.1186/s13636-024-00340-y
[22] A. Schenck, W. Daems, and J. Steckel, “Toward Automated Air Leak Localization: A Machine Learning-Enhanced Ultrasonic and LiDAR-SLAM Framework for Industrial Environments,” IEEE Access, vol. 13, pp. 66492–66504, 2025. [Online]. Available: https://doi.org/10.1109/ACCESS.2025.3558361
[23] M. Velmurugan, P. Brush, C. Balfour, R. J. Przybyla, and N. J. Sanket, "Milliwatt ultrasound for navigation in visually degraded environments on palm-sized aerial robots," Science Robotics, vol. 11, no. 112, p. eadz9609, 2026. [Online]. Available: https://arxiv.org/abs/2603.24699
[24] J. Steckel, W. Jansen, and N. Huebel, “EchoPT: A Pretrained Transformer Architecture That Predicts 2D In-Air Sonar Images for Mobile Robotics,” Biomimetics, vol. 9, no. 11, p. 695, 2024. [Online]. Available: https://arxiv.org/abs/2405.12573
[25] W. Jansen and J. Steckel, “SonoNERFs: Neural Radiance Fields Applied to Biological Echolocation Systems Allow 3D Scene Reconstruction through Perceptual Prediction,” Biomimetics, vol. 9, no. 6, p. 321, 2024. [Online]. Available: https://doi.org/10.3390/biomimetics9060321
[26] J. Honma, A. Kimura, and G. Irie, “Estimating Indoor Scene Depth Maps from Ultrasonic Echoes,” in 2024 IEEE International Conference on Image Processing (ICIP), 2024, pp. 2069–2073. [Online]. Available: https://arxiv.org/abs/2409.03336
[27] G. Liu, W. Cui, Y. Xi, L. Yang, P. Hu, H. Kong, and Z. Wang, “SAGENet: Binaural Echo-Based 3D Depth Estimation with Sparse Angular Queries and Refined Geometric Cues,” in 2025 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS), 2025, pp. 6113–6120. [Online]. Available: https://github.com/zjuersdsd/SAGENet
[28] W. Zhang, J. Yin, L. Ma, P. Yu, X. Jiang, Z. Tian, and M. Xu, "EchoDiffusion: Waveform Conditioned Diffusion Models for Echo-Based Depth Estimation," in Proceedings of the AAAI Conference on Artificial Intelligence, vol. 39, no. 21, 2025, pp. 22578–22586. [Online]. Available: https://ojs.aaai.org/index.php/AAAI/article/view/34416
[29] M. A. Richards, Fundamentals of Radar Signal Processing, 2nd ed. New York: McGraw-Hill Education, 2014.
[30] J. Steckel and H. Peremans, “Acoustic flow-based control of a mobile platform using a 3D sonar sensor,” IEEE Sensors Journal, vol. 17, no. 10, pp. 3131–3141, 2017.
[31] C. F. Olson, “Probabilistic self-localization for mobile robots,” IEEE Transactions on Robotics and Automation, vol. 16, no. 1, pp. 55–66, 2000.
[32] G. Grisetti, C. Stachniss, and W. Burgard, “Improved techniques for grid mapping with Rao-Blackwellized particle filters,” IEEE Transactions on Robotics, vol. 23, no. 1, pp. 34–46, 2007.
[33] W. Hess, D. Kohler, H. Rapp, and D. Andor, “Real-time loop closure in 2D LIDAR SLAM,” in Proceedings of the IEEE International Conference on Robotics and Automation (ICRA), 2016, pp. 1271–1278.
[34] W. Jansen and J. Steckel, “SonoTraceLab—a raytracing-based acoustic modeling system for simulating echolocation behavior of bats,” IEEE Access, vol. 12, pp. 69371–69382, 2024.
[35] —, “Hardware-accelerated geometrical simulation of biological and engineered in-air ultrasonic systems,” arXiv:2602.19652, 2026.
[36] W. Jansen, D. Laurijssen, and J. Steckel, “Real-time sonar fusion for layered navigation controller,” Sensors, vol. 22, no. 9, p. 3109, 2022.
[37] J. Steckel, “Self-supervised deconvolution of in-air sonar images using sensor ego-motion,” IEEE Signal Processing Letters, 2026, submitted, arXiv:2610.09682.
[38] S. Macenski and I. Jambrecic, “SLAM toolbox: SLAM for the dynamic world,” Journal of Open Source Software, vol. 6, no. 61, p. 2783, 2021.