Estimated Time can't be before observation time.
terminate called after throwing an instance of 'std::runtime_error'
what(): Estimated Time can't be before observation time.
Thread 11 "QThread" received signal SIGABRT, Aborted.
[Switching to Thread 0x7fffd37fe700 (LWP 20962)]
__GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
51 ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) bt
#0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
#1 0x00007ffff2c3c3fa in __GI_abort () at abort.c:89
#2 0x00007ffff35530ad in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#3 0x00007ffff3551066 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#4 0x00007ffff35510b1 in std::terminate() () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#5 0x00007ffff35512c9 in __cxa_throw () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#6 0x00007ffff7a2491c in debugThrow<std::runtime_error, 0> (e=...) at ../common/Utils.hpp:37
#7 debugThrow (string="Estimated Time can't be before observation time.") at ../common/Utils.hpp:42
#8 0x00007ffff7aa3d38 in Ball::predict (this=<optimized out>, estimateTime=...) at /home/jay/Code/robocup-software/soccer/SystemState.cpp:66
#9 0x00007ffff7a2136b in BallFilter::predict (this=<optimized out>, time=..., velocityUncertainty=velocityUncertainty@entry=0x0) at /home/jay/Code/robocup-software/soccer/modeling/BallFilter.cpp:27
#10 0x00007ffff7a219b4 in BallTracker::run (this=0x555555814ac0, obs=std::vector of length 1, capacity 1 = {...}, state=state@entry=0x5555557cb2f8)
at /home/jay/Code/robocup-software/soccer/modeling/BallTracker.cpp:140
#11 0x00007ffff7a7afac in Processor::runModels (this=this@entry=0x5555557cb260, detectionFrames=std::vector of length 3, capacity 4 = {...}) at /home/jay/Code/robocup-software/soccer/Processor.cpp:265
#12 0x00007ffff7a7ec76 in Processor::run (this=0x5555557cb260) at /home/jay/Code/robocup-software/soccer/Processor.cpp:430
#13 0x00007ffff6680da8 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#14 0x00007ffff5f4b494 in start_thread (arg=0x7fffd37fe700) at pthread_create.c:333
#15 0x00007ffff2cf0aff in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97
(gdb)
There’s an if in the DebugThrow function you can turn off at comp.
On Sun, Jun 3, 2018, 5:20 PM Will Stuckey notifications@github.com wrote:
I’m making a workaround that logs a critical error instead of crashing for now so if we don’t have to worry about forgetting about this and crashing at comp
Here are the lines referenced in the stack trace. debugThrow<std::runtime_error, 0> (e=…) Ball::predict (this=<optimized out>, estimateTime=…) BallFilter::predict (this=<optimized out>, time=…, velocityUncertainty=velocityUncertainty@entry=0x0) BallTracker::run (this=0x555555814ac0, obs=std::vector of length 1, capacity 1 = {…}, state=state@entry=0x5555557cb2f8)