Commit 446c9c6
authored
Fix perception.velocity direction bug and perception frequency bug (#14634)
* Fix perception.velocity direction bug
The green arrow of obstacle velocity direction doesn't change in the Dreamview because the perception.velocity is not updated in the linear_project_perception function. Here we add a line of code to update the perception.velocity.
* fix(tools): modify sleep_time calculation from int to float
Modify the default value of period. sleep_time should be float and _s_delta_t should equal to sleep_time
fix(tools): change from float(1.0/period) to float(period)
squash 8a92f5b fix(tools): change period default value from 10 to 0.11 parent 39c3d76 commit 446c9c6
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
231 | 231 | | |
232 | 232 | | |
233 | 233 | | |
234 | | - | |
| 234 | + | |
235 | 235 | | |
236 | 236 | | |
237 | 237 | | |
| |||
272 | 272 | | |
273 | 273 | | |
274 | 274 | | |
275 | | - | |
| 275 | + | |
276 | 276 | | |
277 | | - | |
| 277 | + | |
278 | 278 | | |
279 | 279 | | |
280 | 280 | | |
| |||
0 commit comments