]>
git.gag.com Git - fw/quantimotor/log
Bdale Garbee [Fri, 30 May 2025 04:04:03 +0000 (22:04 -0600)]
pull in favicon.ico from altusmetrum.org
Bdale Garbee [Fri, 30 May 2025 00:52:47 +0000 (18:52 -0600)]
fixed continuity sense to work with armed switch in either position
Bdale Garbee [Wed, 28 May 2025 03:02:41 +0000 (21:02 -0600)]
generation of a plotly.html file is working on the server
Bdale Garbee [Wed, 28 May 2025 02:30:28 +0000 (20:30 -0600)]
Revert "not actually using pandas"
This reverts commit
ca342ec404d2c557e86606ee1e1d6cd7c5d1f4d2.
Bdale Garbee [Wed, 28 May 2025 00:36:12 +0000 (18:36 -0600)]
improve looks of what's working so far
Bdale Garbee [Wed, 28 May 2025 00:20:00 +0000 (18:20 -0600)]
not actually using pandas
Bdale Garbee [Tue, 27 May 2025 23:29:09 +0000 (17:29 -0600)]
working CSV writer using volts with 3 digits after the decimal
Bdale Garbee [Tue, 27 May 2025 23:16:59 +0000 (17:16 -0600)]
first rought cut at making a CSV file after each test
Bdale Garbee [Tue, 27 May 2025 22:35:30 +0000 (16:35 -0600)]
a few visual tweaks to the header
Bdale Garbee [Tue, 27 May 2025 21:53:06 +0000 (15:53 -0600)]
go back to just delivering fontawesome.min.css in this package
Bdale Garbee [Tue, 27 May 2025 18:40:18 +0000 (12:40 -0600)]
need to import shlex to use it
Bdale Garbee [Tue, 27 May 2025 18:31:37 +0000 (12:31 -0600)]
add a table containing current test metadata pulled from server as json
Bdale Garbee [Tue, 27 May 2025 18:17:06 +0000 (12:17 -0600)]
use smarter approach to escaping command strings for os.system
Bdale Garbee [Tue, 27 May 2025 18:12:26 +0000 (12:12 -0600)]
use proper syntax for fetching jquery from packaged location
Bdale Garbee [Tue, 27 May 2025 18:11:39 +0000 (12:11 -0600)]
arrange for cherrypy to serve /usr/share/javascript content at /javascript
Bdale Garbee [Tue, 27 May 2025 17:53:55 +0000 (11:53 -0600)]
ugh
Bdale Garbee [Tue, 27 May 2025 17:52:45 +0000 (11:52 -0600)]
and again
Bdale Garbee [Tue, 27 May 2025 17:52:10 +0000 (11:52 -0600)]
try again
Bdale Garbee [Tue, 27 May 2025 17:51:09 +0000 (11:51 -0600)]
clean up build deps, just use packaged fontawesome on target
Bdale Garbee [Tue, 27 May 2025 17:46:51 +0000 (11:46 -0600)]
it would help if dh knew what was going on
Bdale Garbee [Tue, 27 May 2025 17:45:19 +0000 (11:45 -0600)]
make sure we capture Python 3 dependencies
Bdale Garbee [Tue, 27 May 2025 17:43:08 +0000 (11:43 -0600)]
switch to packaged version of jquery
Bdale Garbee [Tue, 27 May 2025 17:35:42 +0000 (11:35 -0600)]
arrange for fontawesome.min.css to be available
Bdale Garbee [Tue, 27 May 2025 07:14:13 +0000 (01:14 -0600)]
disable the Disarm button while a test is running .. just use End Test
Bdale Garbee [Tue, 27 May 2025 07:10:11 +0000 (01:10 -0600)]
this appears to have fixed the problem running more than one test?
Bdale Garbee [Tue, 27 May 2025 04:36:51 +0000 (22:36 -0600)]
don't whine about trigger already existing during restart
Bdale Garbee [Tue, 27 May 2025 00:17:23 +0000 (18:17 -0600)]
working enough to run one test and get raw data
Bdale Garbee [Mon, 26 May 2025 22:29:32 +0000 (16:29 -0600)]
force system to disarm at end of a test
Bdale Garbee [Mon, 26 May 2025 22:22:47 +0000 (16:22 -0600)]
arrange for system data update through iio low speed to pause during testing
Bdale Garbee [Mon, 26 May 2025 22:18:16 +0000 (16:18 -0600)]
fix missing global, make start test button responsive, skeleton stop endpoint
Bdale Garbee [Mon, 26 May 2025 22:00:25 +0000 (16:00 -0600)]
handle possibility that gpio interface is busy during pyro sensing function
Bdale Garbee [Mon, 26 May 2025 21:22:45 +0000 (15:22 -0600)]
turn off console logging of arm/disarm button clicks
Bdale Garbee [Mon, 26 May 2025 21:15:12 +0000 (15:15 -0600)]
add rudimentary management of LED and alarm outputs
Bdale Garbee [Mon, 26 May 2025 19:53:21 +0000 (13:53 -0600)]
only allow tests to start if system is fully armed
Bdale Garbee [Mon, 26 May 2025 19:35:38 +0000 (13:35 -0600)]
toggling ability to start test to only be when system is armed
Bdale Garbee [Mon, 26 May 2025 18:07:47 +0000 (12:07 -0600)]
add endpoint and button to arm system, more to do to make it a toggle
Bdale Garbee [Mon, 26 May 2025 16:58:00 +0000 (10:58 -0600)]
use words for pyro status, decorate pressure and battery with units
Bdale Garbee [Mon, 26 May 2025 16:45:11 +0000 (10:45 -0600)]
add button and endpoint for starting a test
Bdale Garbee [Mon, 26 May 2025 04:57:11 +0000 (22:57 -0600)]
change color on hover over submit button
Bdale Garbee [Mon, 26 May 2025 04:54:48 +0000 (22:54 -0600)]
arrange for metadata modal to close on submit
Bdale Garbee [Mon, 26 May 2025 03:00:30 +0000 (21:00 -0600)]
so it turns out the jsonification script has to be *after* the html that
defines the table for this to work at all
Bdale Garbee [Mon, 26 May 2025 02:59:58 +0000 (20:59 -0600)]
switch from PUT to POST for metadata method
Bdale Garbee [Sun, 25 May 2025 23:41:11 +0000 (17:41 -0600)]
add an endpoint to store user-provided test metadata
Bdale Garbee [Sun, 25 May 2025 23:39:43 +0000 (17:39 -0600)]
have the postinst ensure our data directory exists
Bdale Garbee [Sun, 25 May 2025 19:03:35 +0000 (13:03 -0600)]
run through all 8 ADC inputs, even though we're only using 4 for now
Bdale Garbee [Sun, 25 May 2025 19:00:38 +0000 (13:00 -0600)]
define a modal to capture test metadata before running a test
Bdale Garbee [Sun, 25 May 2025 19:00:13 +0000 (13:00 -0600)]
display pressure in psi
Bdale Garbee [Sun, 25 May 2025 03:20:48 +0000 (21:20 -0600)]
drop the irrelevant icons
Bdale Garbee [Sun, 25 May 2025 03:20:25 +0000 (21:20 -0600)]
trim floats to 3 digits after the decimal
Bdale Garbee [Sat, 24 May 2025 22:45:12 +0000 (16:45 -0600)]
convert current status variable display to a css row
Bdale Garbee [Sat, 24 May 2025 21:57:01 +0000 (15:57 -0600)]
fix path to css files
Bdale Garbee [Sat, 24 May 2025 21:54:36 +0000 (15:54 -0600)]
start css work
Bdale Garbee [Sat, 24 May 2025 19:29:56 +0000 (13:29 -0600)]
have the startup script configure the trigger, we'll do the rest in the app
Bdale Garbee [Wed, 7 May 2025 22:54:45 +0000 (16:54 -0600)]
arrange for the page to update itself every second
Bdale Garbee [Wed, 7 May 2025 22:46:02 +0000 (16:46 -0600)]
now displaying UTC date and time too
Bdale Garbee [Wed, 7 May 2025 22:34:23 +0000 (16:34 -0600)]
showing current iio voltages and safe/armed on each ajax call
Bdale Garbee [Wed, 7 May 2025 21:36:45 +0000 (15:36 -0600)]
turn triggered buffers off for now since it's not working as expected
Bdale Garbee [Wed, 7 May 2025 21:28:15 +0000 (15:28 -0600)]
successfully sensing armed input bit and including in status display
Bdale Garbee [Wed, 7 May 2025 20:36:04 +0000 (14:36 -0600)]
added pyro and battery values to ajax call
Bdale Garbee [Wed, 7 May 2025 20:31:41 +0000 (14:31 -0600)]
successfully counting calls and updating value based on call count
Bdale Garbee [Wed, 7 May 2025 20:24:33 +0000 (14:24 -0600)]
slowly figuring out ajax
Bdale Garbee [Mon, 21 Apr 2025 08:48:22 +0000 (08:48 +0000)]
need to import signal, too
Bdale Garbee [Mon, 21 Apr 2025 08:46:46 +0000 (08:46 +0000)]
add signal handler to put hardware back in a safe configuration on exit
Bdale Garbee [Mon, 21 Apr 2025 08:41:18 +0000 (08:41 +0000)]
need sys
Bdale Garbee [Mon, 21 Apr 2025 08:38:18 +0000 (08:38 +0000)]
initialize gpio lines
Bdale Garbee [Mon, 21 Apr 2025 08:31:39 +0000 (08:31 +0000)]
enable serving static files so jquery can be locally loaded
Bdale Garbee [Mon, 21 Apr 2025 08:25:04 +0000 (02:25 -0600)]
try using local copy of jquery
Bdale Garbee [Mon, 21 Apr 2025 08:14:19 +0000 (08:14 +0000)]
test jquery 3.7.1
Bdale Garbee [Mon, 21 Apr 2025 07:26:41 +0000 (07:26 +0000)]
make app available remotely
Bdale Garbee [Mon, 21 Apr 2025 07:21:00 +0000 (07:21 +0000)]
eliminate duplicate config section
Bdale Garbee [Mon, 21 Apr 2025 05:46:21 +0000 (23:46 -0600)]
switch to simple ajax example to start building real application
Bdale Garbee [Sun, 20 Apr 2025 00:13:23 +0000 (00:13 +0000)]
switch to 0.n version number so I can count up until product release -> 1.0
Bdale Garbee [Sat, 19 Apr 2025 23:57:38 +0000 (17:57 -0600)]
configure GPIO 12 with pull-up to make the 'armed' signal work right
Bdale Garbee [Sat, 19 Apr 2025 03:10:53 +0000 (03:10 +0000)]
remove a lot of the iio_readdev.py remnants we don't actually need
Bdale Garbee [Fri, 18 Apr 2025 06:34:11 +0000 (00:34 -0600)]
first apparently-working hard-coded command line program to run a test, logging
acquistion data to binary file 'testdata'
Bdale Garbee [Sat, 5 Apr 2025 23:15:46 +0000 (17:15 -0600)]
clean things up, prepare to flesh out application with css work, et al
Bdale Garbee [Sat, 5 Apr 2025 07:02:51 +0000 (01:02 -0600)]
arrange for systemd to trigger graceful shutdown without CherryPy involved
Bdale Garbee [Sat, 5 Apr 2025 06:18:12 +0000 (00:18 -0600)]
working skeletal web app using cherrypy and plotly
Bdale Garbee [Sat, 5 Apr 2025 05:42:51 +0000 (23:42 -0600)]
plotly in the mode I want to use it needs pandas installed
Bdale Garbee [Sat, 5 Apr 2025 05:08:54 +0000 (23:08 -0600)]
add an initial cherrypy + plotly application fragment
Bdale Garbee [Sat, 5 Apr 2025 05:01:38 +0000 (23:01 -0600)]
flesh out the startup script to do all the necessary ADS8688 initialization
Bdale Garbee [Sat, 5 Apr 2025 05:00:44 +0000 (23:00 -0600)]
don't allow enable_ads to raise the health line, that should come later
Bdale Garbee [Sat, 5 Apr 2025 04:37:10 +0000 (22:37 -0600)]
eliminate obsolete option
Bdale Garbee [Sat, 5 Apr 2025 04:35:56 +0000 (22:35 -0600)]
forgot to include the systemd service file
Bdale Garbee [Sat, 5 Apr 2025 04:35:03 +0000 (22:35 -0600)]
turn on systemd support, delivery a service, startup file, and module loader
Bdale Garbee [Sat, 5 Apr 2025 03:35:01 +0000 (21:35 -0600)]
add a postinst to force running our kernel postinst hook on package update
Bdale Garbee [Sat, 5 Apr 2025 03:02:10 +0000 (21:02 -0600)]
craft raspi-firmware-custom and arrange to deliver it
Bdale Garbee [Sun, 19 Jan 2025 02:43:41 +0000 (19:43 -0700)]
updated application, now configuring chip here so setup.sh obsolete
Bdale Garbee [Sun, 19 Jan 2025 02:41:23 +0000 (19:41 -0700)]
fresh backup of target work to date on Python code, etc
Bdale Garbee [Sun, 19 Jan 2025 02:40:29 +0000 (19:40 -0700)]
capture kernel config with working iio_readdev on ADS8688
Bdale Garbee [Wed, 8 Jan 2025 04:19:57 +0000 (21:19 -0700)]
work to date on an application to run QuantiMotor
Bdale Garbee [Wed, 8 Jan 2025 04:18:42 +0000 (21:18 -0700)]
add dependency on iio python bindings
Bdale Garbee [Mon, 6 Jan 2025 09:35:48 +0000 (02:35 -0700)]
try simpler approach to updating kernel cmdline
Bdale Garbee [Mon, 6 Jan 2025 09:15:05 +0000 (02:15 -0700)]
see if this is actually a typo?
Bdale Garbee [Mon, 6 Jan 2025 09:09:24 +0000 (02:09 -0700)]
add build depend on the device-tree-compiler package
Bdale Garbee [Mon, 6 Jan 2025 09:07:10 +0000 (02:07 -0700)]
add devicetree overlay to append cmdline, use it to make gpio commands persist
Bdale Garbee [Sun, 5 Jan 2025 23:55:59 +0000 (16:55 -0700)]
make postinst fragment more brutal about always putting our dtb in place
Bdale Garbee [Sun, 5 Jan 2025 23:37:08 +0000 (16:37 -0700)]
add runtime dependency on python3-libgpiod
Bdale Garbee [Sun, 5 Jan 2025 19:04:15 +0000 (12:04 -0700)]
deliver script to force our dtb to be the one used
Bdale Garbee [Sun, 5 Jan 2025 18:53:08 +0000 (11:53 -0700)]
capture the .dts source for my dtb, and start a Notebook file with ToDo list