mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-08-21 00:03:45 +08:00
Update Python packages and pre-commit hooks (#30149)
* Update Python packages and pre-commit hooks * fixes * Update common/transformations/README.md Co-authored-by: Shane Smiskol <shane@smiskol.com> * fix --------- Co-authored-by: adeebshihadeh <adeebshihadeh@users.noreply.github.com> Co-authored-by: Shane Smiskol <shane@smiskol.com> old-commit-hash: 377722fd5ed13349acf99c71954f56e6ccd17c3c
This commit is contained in:
@@ -169,7 +169,7 @@ void ChartView::msgUpdated(MessageId id) {
|
||||
}
|
||||
|
||||
void ChartView::manageSignals() {
|
||||
SignalSelector dlg(tr("Mange Chart"), this);
|
||||
SignalSelector dlg(tr("Manage Chart"), this);
|
||||
for (auto &s : sigs) {
|
||||
dlg.addSelected(s.msg_id, s.sig);
|
||||
}
|
||||
|
||||
@@ -433,7 +433,7 @@ void Replay::stream() {
|
||||
long etime = (cur_mono_time_ - evt_start_ts) / speed_;
|
||||
long rtime = nanos_since_boot() - loop_start_ts;
|
||||
long behind_ns = etime - rtime;
|
||||
// if behind_ns is greater than 1 second, it means that an invalid segemnt is skipped by seeking/replaying
|
||||
// if behind_ns is greater than 1 second, it means that an invalid segment is skipped by seeking/replaying
|
||||
if (behind_ns >= 1 * 1e9 || speed_ != prev_replay_speed) {
|
||||
// reset event start times
|
||||
evt_start_ts = cur_mono_time_;
|
||||
|
||||
Reference in New Issue
Block a user