libs
libuavcan
libuavcan
dsdl_compiler
pyuavcan
pyuavcan_v0
driver
Classes
|
Namespaces
|
Variables
timestamp_estimator.py File Reference
Go to the source code of this file.
Classes
class
pyuavcan_v0.driver.timestamp_estimator.SourceTimeResolver
class
pyuavcan_v0.driver.timestamp_estimator.TimestampEstimator
Namespaces
pyuavcan_v0.driver.timestamp_estimator
Variables
pyuavcan_v0.driver.timestamp_estimator.ax1
= fig.add_subplot(211)
pyuavcan_v0.driver.timestamp_estimator.ax2
= fig.add_subplot(212)
float
pyuavcan_v0.driver.timestamp_estimator.delay_max
= 0.02
float
pyuavcan_v0.driver.timestamp_estimator.delay_min
= 0.0001
pyuavcan_v0.driver.timestamp_estimator.delays
= numpy.random.uniform(delay_min, delay_max, size=num_samples)
pyuavcan_v0.driver.timestamp_estimator.est_real
=
estimator.update
(mono, real)
list
pyuavcan_v0.driver.timestamp_estimator.estimated_delays
= []
pyuavcan_v0.driver.timestamp_estimator.estimated_time
=
estimator.update
(source_clock % source_clock_range, target_clock)
list
pyuavcan_v0.driver.timestamp_estimator.estimated_times
= []
pyuavcan_v0.driver.timestamp_estimator.estimator
= TimestampEstimator()
pyuavcan_v0.driver.timestamp_estimator.fig
= plt.figure()
pyuavcan_v0.driver.timestamp_estimator.max_rate_error
= None
pyuavcan_v0.driver.timestamp_estimator.mono
= time.monotonic()
pyuavcan_v0.driver.timestamp_estimator.mono_to_real_offset
= est_real - mono
int
pyuavcan_v0.driver.timestamp_estimator.num_samples
= 200
list
pyuavcan_v0.driver.timestamp_estimator.offset_errors
= []
pyuavcan_v0.driver.timestamp_estimator.real
= time.time()
pyuavcan_v0.driver.timestamp_estimator.source_clock
= i
int
pyuavcan_v0.driver.timestamp_estimator.source_clock_range
= 10
list
pyuavcan_v0.driver.timestamp_estimator.source_clocks
= []
pyuavcan_v0.driver.timestamp_estimator.target_clock
= i + delay
pyuavcan_v0.driver.timestamp_estimator.x
= range(num_samples)
uavcan_communicator
Author(s):
autogenerated on Fri Dec 13 2024 03:10:03