sort by:
Revision Author Date Message Commit Date
774bae6 Fleshed out humanizeScript.py with lots more i/o ports ... all of them, I think, with the exception of a couple of "fictitious" i/o ports that I don't think were ever of interest to anybody but me. 17 December 2017, 18:28:28 UTC
2ea71c6 And another. 16 December 2017, 13:27:43 UTC
a531aff Corrected formatting of a warning message. 16 December 2017, 13:25:50 UTC
d6130d5 Fixed a missing "continue" in the maintenance menu, and eliminated a bunch of pointless "continues" that were already there. (Pointless because they would have fallen through to a "continue" anyway.) 16 December 2017, 13:19:18 UTC
b57005b There's now a mission-menu option to use an external AGC (i.e., one not on the Pi), such as connecting to NASSP), as well as a maintenance menu option for selection the IP address and port number for the external AGC. This has nothing to do with wireless setup, which is assumed to be handled differently somehow. 16 December 2017, 13:12:06 UTC
79edc81 Added the program humanizeScript.py for producing a relatively human-readable form of a DSKY playback-script. Probably still needs some work, but it seems to be useful. 16 December 2017, 13:10:16 UTC
395f7b5 There's now a maintenance-menu item for updating VirtualAGC (from github). 16 December 2017, 13:09:23 UTC
6fc6d57 Reversed sense of key-backlighting. (Now generally on as opposed to generally off, and temporarily goes off rather than on when a key is pressed as part of the playback.) 13 December 2017, 20:39:23 UTC
14b2659 This time for sure! 13 December 2017, 14:33:59 UTC
c021c94 Fixed graphic for Update icon. 13 December 2017, 14:32:28 UTC
d5c9daa Fixed a bug in the lamp control, I hope. Made the Update desktop icon update the entire virtualagc directory rather than just piPeripheral. 13 December 2017, 14:30:20 UTC
a9d3869 Changed Update icon to update the entire virtualagc directory, not just piPeripheral. 13 December 2017, 14:10:05 UTC
7a1f70d Added an Update desktop icon for Raspbian. (All it does is update the virtualagc/piPeripheral directory.) 13 December 2017, 14:06:57 UTC
3a9a412 Added Apollo 8 launch replay to mission menu. Apollo 11 landing also added, but the script doesn't exist as of yet, so it will simply give an apology message if selected right now. 13 December 2017, 14:02:14 UTC
4be828f Finished implementing the backlight-on-keypress feature for script playback in piDSKY2.py. I don't actually have a DSKY with wired-up backlighting (or keys, for that matter), but I think this is working or very close to it. 13 December 2017, 13:37:55 UTC
36d937f Recording/playback of AGC output-channel logs can now account for some input channels as well, specifically input channels 015 & 032 which carry DSKY keystrokes. The NASSP log converter and yaDSKY2 fully handle this, while piDSKY2.py presently only has hooks for it. The idea is that in playback of the scripts, the DSKY's keys visually indicate the keys the log data says were pressed. yaDSKY2 can now also handle recording of the logs, by clicking the TRACKER key to start and then again to finish. The logs are supposed to go into the documents directory, but they go into the home directory in Linux, so I don't know where they would go on other platforms. 12 December 2017, 21:50:49 UTC
69c2d19 Added to yaDSKY2 the same ability as piDSKY2.py to play back pre-recorded scripts of AGC output channels. These can be recorded either with piDSKY2.py or else with NASSP (and then converted using ConvertNasspLog.py). I've also added such a canned script, namely Apollo8-launch.canned. In piDSKY2.py the playback is done with the --playback CLI switch, but in yaDSKY2 it's done by clicking the PROG indicator lamp, which opens a file dialog. 12 December 2017, 00:09:02 UTC
1d2283a Added the aliases 'dsky' and 'all' for specific channel numbers. 11 December 2017, 19:38:30 UTC
b9f035a Nik pointed out that the conversion script also needed to account for initial conditions of the DSKY display that had been set up prior to the start of the simulation. 11 December 2017, 14:11:19 UTC
83bf83d Allowed piDSKY2.py to accept floating-point timestamp references in playback scripts, though I don't think we actually will ever need to use that for anything. Added a script to convert from the NASSP logging format Nik Beug has shown me a sample of to the playback format required by piDSKY2.py. It's more-convenient (for me!) to get the NASSP scripts as-is rather than to ask them to convert them. 11 December 2017, 12:59:16 UTC
87c36ac Added a Raspbian desktop icon for runPiDSKY2.sh. Got rid of the xterm window for piPeripheral.py (when run from runPiDSKY2.sh) except for the --debug case. 10 December 2017, 15:12:03 UTC
0e1072a Corrected the menu. 09 December 2017, 22:41:31 UTC
a55a0cc The --playback switch is now implemented, though primitively. It doesn't have a lot of stuff I thought would be cool, such as comments, blank lines, file-inclusion, or time-references other than simple event-to-event relative ones. But it's a start, and possibly a finish. 09 December 2017, 22:28:13 UTC
b6a8c33 Fixed up redundant log messages, particularly for channel 010, in which the check for redundancy didn't account for the presence of the relay-numbers in the output values. 09 December 2017, 21:13:23 UTC
9fc5ece Added --record options to piDSKY2.py and runPiDSKY2.sh. These record all DSKY-relevant output-channel events, timestamped, to a file, presumably for later playback by the --playback option (not implemented yet). The recorded log is a text file, with each line containing the time (integer milliseconds) since the preceding event, the channel number in octal, and the channel value in octal. A record is made only if when the value of a channel changes, so multiple outputs to the same channel with the same value do not produce multiple records. 09 December 2017, 18:53:09 UTC
b19a64e Corrected a program comment. 09 December 2017, 12:49:14 UTC
824fcc2 Pepped up the formatting of the time and date on the DSKY in the sample custom AGC program. Also, pepped up the generic routines in that program for displaying decimal numbers in registers, so that they properly display the sign now. 09 December 2017, 12:24:43 UTC
5782444 Changed runPiDSKY2.sh so that it builds piPeripheral.agc at runtime when its option is selected from the mission menu. 09 December 2017, 03:47:07 UTC
fd0b815 The sample Python template for creating AGC peripherals, piPeripheral.py, has been fleshed out so that it sends the AGC the current date&time on a set of AGC input channels it has defined. Similarly, the sample custom AGC program, piPeripheral.agc has been fleshed out to read those input channels, and to display the info on the DSKY. Finally, if runPiDSKY2.sh is run with the command-line switch --custom-bare, the mission menu adds a new selection which can be used to run piPeripheral.py and piPeripheral.agc. The executable for piPeripheral.agc, however, is not built by default, and so that has to be done explicitly before using this option. 09 December 2017, 03:41:23 UTC
7c43acf Added a demo AGC program, piPeripheral.agc, from a howto I'm writing (DIY.html). 07 December 2017, 20:34:50 UTC
27d5dd5 Save screenshot in home directory rather than on the ram disk. 07 December 2017, 13:22:42 UTC
0571b49 Added three support dots. 06 December 2017, 15:56:20 UTC
291df16 Worked around the problem that pressing NUM LOCK turns key-repeat on. Added a "maintenance menu" to runPiDSKY2.sh. 06 December 2017, 14:00:08 UTC
6507730 Fixed PIGPIO control of lamps in piDSKY2.py, I think. 05 December 2017, 02:46:54 UTC
b41411a Everything was offset by 1 row. 05 December 2017, 02:40:11 UTC
c2a81b6 Not updating properly for fictitious channel 0163 05 December 2017, 02:37:32 UTC
eb45aca The order still isn't right ... 05 December 2017, 02:32:26 UTC
79988cd Changed order of lamps. 05 December 2017, 02:24:42 UTC
20f691b Eliminated startup lamp test and fixed the shutdown configuration bit. 05 December 2017, 02:00:51 UTC
b546aba First, halting steps towards a piDEDA.py program. 04 December 2017, 21:06:57 UTC
e51d543 Slight cleanup in --help message. 04 December 2017, 21:06:31 UTC
6bc8e85 Added --ags option to piPeripheral.py, in expectation of starting to create a piDEDA.py program. Completely untested. 02 December 2017, 13:50:13 UTC
27d3d14 Backported various fixes from piDSKY2.py to piDSKY.py (actually, just replaced the one by the other and stripped out the unneeded gunk), and added a --piDSKY switch to runPiDSKY2.sh to allow running piDSKY.py from it. 02 December 2017, 13:24:50 UTC
891d787 Just documentation changes and code rearrangement for improved maintainability. 30 November 2017, 19:49:27 UTC
d16750b Corrected 7-segment mappings to actual lamps, I hope. 29 November 2017, 18:08:13 UTC
ff1ae53 More of the same. 29 November 2017, 16:25:08 UTC
21c8820 More of the same. 29 November 2017, 16:21:21 UTC
eb4cdf9 More of the same. 29 November 2017, 16:17:49 UTC
fa4514e More of the same. 29 November 2017, 16:15:59 UTC
7c867c0 First cut at PIGPIO code to replace 'led-panel' directly within piDSKY2.py. 29 November 2017, 16:12:34 UTC
c73b9d7 I have seen a few lost keystrokes in commands other than V35E with an interkey delay of 0.1 second, so I put it back to 0.25. I attribute them to AGC timing rather than to piDSKY2.py but we'll see! 28 November 2017, 20:24:10 UTC
44a220c Changed the automateV35 script to do a sequence of several operations, and not just V35E, since I don't seem to be about to detect any further errors with just V35E. 28 November 2017, 20:03:22 UTC
2415ac9 I think there may be a memory leak how I'm displaying the graphics. This is an attempt to fix that. 28 November 2017, 16:36:41 UTC
14e0cd4 Tweaked slightly to make sure that only psutil.NoSuchProcess exceptions were being taken care of. 28 November 2017, 15:59:37 UTC
3d477b5 Changed my approach to the psutil problem; I don't think it's reentrancy at all, but merely disappearance of some processes before their attributes can be determined. I've added try/excepts to get around that. 28 November 2017, 15:35:14 UTC
effa5f6 My mutexes didn't fix the psutil problem. Tried rearranging code to fix it. 28 November 2017, 14:59:05 UTC
4583c02 Added specific monitoring of piDSKY2.py to backgroundStatus.sh, in order to be able to see its memory usage. 28 November 2017, 14:48:22 UTC
165f66e Tried to fix a psutil bug with mutexes. Buffered GUI keystrokes/presses in a queue to avoid losing any. Reduced delays in automateV35.py. piDSKY2.py now prints out how many V35E's it has seen, for easy comparison with automateV35.py's corresponding messages. 28 November 2017, 14:27:27 UTC
fc34e14 Added automateV35.py. 27 November 2017, 19:02:29 UTC
22def11 Added a script, automateV35.py, which can feed V35E into piDSKY2.py every 10 seconds. 27 November 2017, 18:57:15 UTC
8c2eb59 Split load/clock/temperature monitoring window from --debug into a separate --monitor switch that's independent. Swapped BackSpace and Tab aliases (now for PRO and KEY REL) to allow PRO's alias to have key-release detection. The RRRRR exit hadn't been working for a while, apparently. 27 November 2017, 18:16:35 UTC
26b3168 Added vncserverui detection, with consequent trigger of a "hidden" lamp. 27 November 2017, 15:45:28 UTC
c50d574 Changed the DSKY separator-line graphic. Added another popup window for --debug that monitors temperature, load average, clock frequency. Eliminated the DSKY keypad backlighting. 27 November 2017, 13:24:05 UTC
6e912c9 Added correct detection of PRO-key release (except for TAB alias) rather than simply timing out. 26 November 2017, 19:57:29 UTC
bc9d3d2 Fixed dumb bugs in TEMP, UPLINK, and VEL indicators. 26 November 2017, 19:03:04 UTC
549005d Added a new cli option, --slow, which hopefully will make this work not as awfully on a Pi B+. 26 November 2017, 13:42:46 UTC
7289e35 I wasn't happy with the CPU utilization on the Pi for the last commit. 26 November 2017, 13:31:30 UTC
90aab44 Added some timing filters to try and work around design issues related to shelling out to the 'led-panel' program. 26 November 2017, 13:00:35 UTC
e314760 Fixes for piDSKY2.py similar to Mike Stewart's for yaDSKY2, for RESTART, STANDBY, OPR ERR, and KEY REL lamps. I may not have managed to capture all of them. 25 November 2017, 19:27:51 UTC
5a1b9fd At Sam Ammons's, piDSKY2 now shells out to the 'led-panel' program to control indicator lamps. runPiDSKY2.sh now has several improvements to the command-line structure, with the cli parameters no longer being positional, and with the addition of the new --led-panel and --debug options. 25 November 2017, 13:12:12 UTC
546196b Missed the delet key on the numeric keypad. 24 November 2017, 21:19:15 UTC
d2cf8cd Added stuff for numeric keypad. 24 November 2017, 21:02:45 UTC
1415c10 Added a splash-screen capability. 22 November 2017, 20:37:08 UTC
50f9da5 Added a dummy splash screen and blank screen. 22 November 2017, 20:13:57 UTC
387a209 Added alternate image directories. 22 November 2017, 19:29:42 UTC
3deb20c More of the same. 22 November 2017, 17:21:45 UTC
fcad1e0 Added screen-grab function 22 November 2017, 17:05:36 UTC
ec4800b Turned off mouse cursor in full-screen mode. 22 November 2017, 16:28:24 UTC
7694fc5 Added new option, w/ password, for exiting. 22 November 2017, 16:17:51 UTC
d0f331d When --window=1 is used, the display window is positioned at upper left rather than centered. 22 November 2017, 15:59:48 UTC
fe056fe Changed timeout from 10 seconds to 15. 22 November 2017, 15:53:51 UTC
205c9ae Drawing the widgets for piDSKY2.py is now "lazy", meaning that it won't bother to redraw any widget whose image hasn't changed. That is intended to reduce CPU load and temperature, and ultimately keep the clock speed on a Pi up in order to reduce drawing artifacts. 22 November 2017, 13:39:46 UTC
c1955df Various runPiDSKY2.sh fixes: I found that on some platforms, you can't execute a program from the /run/user/1000/ ramdisk, so now it runs them directly from their original locations rather than copying them. Actually, it no longer copies ANY file that it only needs to use once and can be used from its original location. It uses /run/user/$UID/ as the ramdisk instead of /run/user/1000/, in case the user isn't #1000. It falls back on the home directory if /run/user/$UID/ doesn't exist. It has a new CLI option: if $2=="--yaDSKY2", then it runs yaDSKY2 in addition to piDSKY2.py so that you can see them operate in parallel, although this is really only meaningful if $1=="--window=1" is used as well. 22 November 2017, 13:19:52 UTC
0e4e33c Eliminated some pre-menu messages from runPiDSKY2.sh. 21 November 2017, 20:47:23 UTC
9bd5f51 piDSKY2.py now treats 5 consecutive RST presses as if it were an 'X' ... i.e., it exits the simulation, thus allowing runPiDSKY2.sh to loop back to mission selection. 21 November 2017, 20:35:11 UTC
702d03e runPiDSKY2.sh now loops back to mission selection after exiting from the simulation. All of the extraneous messages have been cleaned up, as well the menu. Unfortunately, there's no actual 'X' key to press among the physical DSKY's buttons, so there's no way at present to do this loop in the actual hardware. 21 November 2017, 20:21:59 UTC
f03bcd4 Removed an unused graphic. 21 November 2017, 18:51:52 UTC
c11a6d0 Added large (8X) un anti-aliased versions of all of the piDSKY2 graphics, to make rescaling and and recoloring a lot easier. 21 November 2017, 14:32:11 UTC
f7a4b63 Ported the fixes to the NOUN and PRO buttons from piDSKY2.py into piDSKY.pi. 21 November 2017, 14:27:22 UTC
567cac8 Increased PRO timeout to 0.5 seconds. Replaced all the imagery with cleaned-up images, specifically having black backgrounds. Removed the bogus white borders that the widgets were being displayed with. 21 November 2017, 14:26:48 UTC
ba201ae Yikes! That didn't work. I changed it to an explicit cast. 21 November 2017, 02:14:02 UTC
1023892 Got rid of some compiler warnings that were thwarting me in Raspbian Stretch. 21 November 2017, 01:59:51 UTC
eabaddd Decided to make --window a parameter of runPiDSKY2.sh. 20 November 2017, 20:18:12 UTC
a346bae Whoops! Had temporarily left the --window switch turned on. 20 November 2017, 20:16:16 UTC
9cf8799 The NOUN and PRO keys turned out not to be working right, and the +/- weren't working right from the GUI. 20 November 2017, 20:09:07 UTC
b180822 The 'X' command no longer worked properly once the tkinter event loop was running. Fixed that. 20 November 2017, 19:09:50 UTC
6ad3fe9 Fixed lots of annoyances in piDSKY2.py and fleshed out runPiDSKY2.sh to the point of being very usable. 20 November 2017, 15:27:06 UTC
275c00c Added piDSKY2.py, which is a variation on piDSKY.py that relates to a certain specific Raspberry Pi setup. It's only partially working, and I'll document it more fully later. 19 November 2017, 17:00:52 UTC
089201b Forgot to account for the effect of cap-lock on the + and - keys. 18 November 2017, 17:37:27 UTC
d0d3935 I'd decided to split piPeripheral.py into two separate scripts, piPeripheral.py and piDSKY.py. piDSKY.py retains all of the simple DSKY code, whereas piPeripheral.py proper has been stripped back to its bare essentials, since I realized that all of the DSKY code had made it much harder to use if you wanted to create a peripheral other than a DSKY. 18 November 2017, 14:18:19 UTC
back to top