mirror of
https://github.com/brendanhaines/ECEN5458_Project.git
synced 2024-12-26 10:57:55 -07:00
finish? fixing signal names
This commit is contained in:
parent
fc3a4cd4ff
commit
4cb989e722
|
@ -176,7 +176,7 @@ def update_plots(attrname=None, old=None, new=None):
|
||||||
global control_thread_run
|
global control_thread_run
|
||||||
if control_thread_run:
|
if control_thread_run:
|
||||||
brightness_plot_source.data = dict(sensor=brightness_idx, brightness=brightness)
|
brightness_plot_source.data = dict(sensor=brightness_idx, brightness=brightness)
|
||||||
time_plot_source.data = dict(t=time_data[:,0], e=time_data[:,1], c=time_data[:,2])
|
time_plot_source.data = dict(t=time_data[:,0], e=time_data[:,1], u=time_data[:,2])
|
||||||
else:
|
else:
|
||||||
brightness = np.clip([get_normalized_reflectivity(c) for c in range(8)], 0, 1)
|
brightness = np.clip([get_normalized_reflectivity(c) for c in range(8)], 0, 1)
|
||||||
brightness_plot_source.data = dict(sensor=brightness_idx, brightness=brightness)
|
brightness_plot_source.data = dict(sensor=brightness_idx, brightness=brightness)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user