-
Notifications
You must be signed in to change notification settings - Fork 192
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix Envision visualization issue in "near real time" mode #1766
Conversation
…ax elapsed time change to 100
msInSec * (elapsed_times[0] - prevElapsedTime) - | ||
(Date.now() - waitStartTime) | ||
); | ||
let delt_elapsed_time_in_sec = msInSec * (elapsed_times[0] - prevElapsedTime); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is in milliseconds I believe. Also, I think the style is snakeCase (even though not everything here follows it).
let delt_elapsed_time_in_sec = msInSec * (elapsed_times[0] - prevElapsedTime); | |
let deltaElapsedMs = msInSec * (elapsed_times[0] - prevElapsedTime); |
); | ||
let delt_elapsed_time_in_sec = msInSec * (elapsed_times[0] - prevElapsedTime); | ||
if (delt_elapsed_time_in_sec > 100) { | ||
delt_elapsed_time_in_sec = 100 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
After using Python, it's easy to forget about semicolons. Though not always necessary in js, they should be used to make sure statements stay separate from each other.
delt_elapsed_time_in_sec = 100 | |
delt_elapsed_time_in_sec = 100; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add a changelog entry.
@@ -15,6 +15,8 @@ Copy and pasting the git commit messages is __NOT__ enough. | |||
- Added new video record ultility using moviepy. | |||
- Added distance check between bubble and vehicle to avoid generating unnecessary cursors. | |||
- Added `ConfigurableZone` for `Zone` object to types which enable users to build bubble by providing coordinates of the polygon. | |||
- Added "SMARTS Performance Benchmark" development tool for evaluating the simulation performance. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Where did this entry come from?
No description provided.