It talks!

2006-01-03 08:03 am
mdlbear: (hacker glider)

Finally got the software for the Y.D.'s talking compass sort-of working this morning. It's a kludge, of course: it involves having the little controller print out something like "say north" and piping that into /bin/bash, which runs a local script called "say".

It also required hacking Acroname's console application so that it doesn't use the curses library, thus making it useable in scripts. I wasn't totally successful -- as I said, it's a kludge -- but it works well enough. Now I just have to put it onto a laptop so she can run some user tests, and write it up (and hope she can explain at least a little of it).

Hopefully it's not due until next week, but I have my doubts. Yes, I should have started working on it two weeks ago. I was sick, even though I didn't realize it at the time.

mdlbear: (hacker glider)

Spent the entire afternoon working on the Y.D.'s science project (which, as readers may recall, is a talking compass. With surprisingly little trouble, I got the boards wired up and the sample application working. (This involved two trips to Fry's for parts, plus compiling the Console application on my Linux box.

But now I'm basically stuck: there appears to be no way to run the Console as a "dumb terminal" that I can embed into Linux scripts and pipelines, and there's no obvious alternative. The sample programs and documentation are, um, unhelpful. It looks like the only way to do it will be to hack the Console app itself so that it does generic character I/O and avoids the ncurses cursor-positioning stuff. Fortunately, I have the source, so I can do that.

The alternative (which I may well use for the user testing, especially if it's due this Friday) is to display on the regular console and have a human assistant (probably me) perform the text-to-speech function.

Most Popular Tags

Syndicate

RSS Atom

Style Credit

Page generated 2026-01-06 03:09 am
Powered by Dreamwidth Studios