Commit 7199b2d
committed
Add density parameter to target APIs
Introduce a ray density parameter for targets: update the C++ bindings (includes/radarsimc.pxd) to add a density argument to AddTarget signatures (0.0 uses global density), and pass density from Python-side target dict (default 0.0) in cp_radarsimc.pyx and simulator_lidar.pyx. Also update the radarsimcpp submodule pointer to the new commit. This enables per-target ray density control while keeping skip_diffusion behavior unchanged.1 parent bbba964 commit 7199b2d
File tree
4 files changed
+11
-6
lines changed- src
- radarsimpy
- includes
- lib
4 files changed
+11
-6
lines changedSubmodule radarsimcpp updated from 88d8ebe to ca406c1
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
143 | | - | |
| 143 | + | |
| 144 | + | |
144 | 145 | | |
145 | 146 | | |
146 | 147 | | |
| |||
150 | 151 | | |
151 | 152 | | |
152 | 153 | | |
153 | | - | |
| 154 | + | |
| 155 | + | |
154 | 156 | | |
155 | 157 | | |
156 | 158 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
677 | 677 | | |
678 | 678 | | |
679 | 679 | | |
680 | | - | |
| 680 | + | |
| 681 | + | |
681 | 682 | | |
682 | 683 | | |
683 | 684 | | |
| |||
763 | 764 | | |
764 | 765 | | |
765 | 766 | | |
766 | | - | |
| 767 | + | |
| 768 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
146 | | - | |
| 146 | + | |
| 147 | + | |
147 | 148 | | |
148 | 149 | | |
149 | 150 | | |
| |||
0 commit comments