Friday, January 17, 2020

Giving KITT Even More Of A Free Will

One of the things I liked most about KITT in Knight Rider was his ability to act entirely on his own. Many of you may know I have several scenarios where my KITT can do that... well, maybe you don't know?? I'm under the impression nobody reads my blog posts, they are more for me really anyways just so that I have a complete record of everything I am doing with this project from start to "finish," I like that word "finish" because it implies that I may actually be done with this project at some point, and I have to laugh at that because I'm constantly thinking of new things that I know are possible and I want to do them it always just comes down to that steep learning curve of self teaching myself "How to do it."... Anyways I kind of got off topic there, my mind does tend to wander ;) Anyways, as I was saying I always liked the idea that KITT could act on his own and in the past I have built in many scenarios where based on certain conditions KITT seems to do just that. I've come up with other ways to give KITT more of a free will based on numerous scenarios and conditions, even a bit of a "moral compass" if you will, based on simply "Is something moral or legal" as it's pretty much a black and white situation with little grey area, which also can be pretty clearly defined. So I kind of figure in our minds we have a list or lists of "Do's and Don'ts" just as an example, so giving KITT the same sort of list so to speak to check on any given scenarios gives KITT a little more information to not only better form a response but also act accordingly given a particular scenario.

A rough example would be something like:

"Hey KITT"
"What Michael?"
"Let's blow some red lights pal"
"That's illegal Michael"

KITT's normal response is pretty "Canned" in that although he responds from a random array, his response's have still been pretty much "Pre-determined." But giving KITT a list of things he can check on his own to see if something exist on that list now gives him the ability to make a more informed response instead of a "canned" one. On the outside you would never really notice much difference really, I just like the idea that he's responding based on more information than just a random response array ;) 

Friday, January 3, 2020

KITT's Custom Street Maps

Custom KITT Styled Maps

We all know K.I.T.T. could generate maps on his monitors, these maps were generated by KITT long before "Google Earth" or "Google maps" or any of the may other map request services we see pop up all over the Internet. KITT's maps were usually pre-programed in and KITT most likely had a data base of many maps depending on which area he was going to be working in. KITT's maps were mostly used for quick reference and to illustrate points of interest in a specific area.

Ever since I had seen KITT perform any kind of  map display feature I had wanted to be able to have my KITT do the same thing, only I did not want to use any of the typical map services we see all the time on the internet as they have a certain look to them, a look to me that was, well... Not quite what KITT had in the show for lack of a better description. I later on found that we can pars certain data from XML documents that have been converted into just plain text (.txt) and then use that data to render out a map in more of a "KITT-like style."

So far it's a work in progress, but is showing great promise as I can render out many different maps based on whatever data is in the XML files. I can then ask KITT something like: 
"Hey pal, where's a good place to get a burger around here?"
 and then KITT would be able to say open up a map of my St. James location and pin point on the map good locations to get a hamburger in true "KITT-like style" being completely independent of any connection to the Internet as all of the data is handled inside of KITT's software.