Features in development - Telescope command

  • 4 Replies
  • 4786 Views
*

DaveMorton

  • Trusty Member
  • ********
  • Replicant
  • *
  • 636
  • Safe, Reliable Insanity, Since 1961
    • Geek Cave Creations
Features in development - Telescope command
« on: July 13, 2010, 09:03:53 pm »
One of the projects I'm currently working on for my chatbot, Morti, is the telescope command.

for those of you who don't know, Morti "lives" in a chatroom that I wrote, called pChat, which has a number of "rooms" themed around a rather large house (with no bedrooms... Go figure), and one of those rooms is an Observatory. The telescope command is only available in the Observatory, and it's intended purpose is to display a section of the sky that the user wishes to see. Currently, I have a "Proof of Concept" page for the telescope available at http://dmorton.no-ip.info/pChat/telescopeDivTest.php. The controls are still inoperative, as yet, but you can use the mouse within the viewer to "look around", and zoom in and out.

when finished, a user in the Observatory could type in "telescope m45", at which point the viewer would pop up and display the Pleiades star cluster. The viewer will be movable but not re-sizable, and can be "closed" like a regular window. This functionality is already in place on the P.O.C. page.
Comforting the Disturbed, Disturbing the Comfortable
Chat with Morti!
LinkedIn Profile
CAPTCHA4us

*

Freddy

  • Administrator
  • **********************
  • Colossus
  • *
  • 6860
  • Mostly Harmless
Re: Features in development - Telescope command
« Reply #1 on: July 15, 2010, 08:22:32 pm »
Nice idea and very original too.  8)

*

DaveMorton

  • Trusty Member
  • ********
  • Replicant
  • *
  • 636
  • Safe, Reliable Insanity, Since 1961
    • Geek Cave Creations
Re: Features in development - Telescope command
« Reply #2 on: July 18, 2010, 04:59:20 pm »
YAY! I finally got the telescope command integrated into Morti's code. Here's the rundown:

Morti's telescope command only works in the Observatory. If you try to use it anywhere else, Morti will let you know that you need to head there to use it.

The telescope uses the Google Earth plugin to display all sorts of information about certain celestial objects. The GE plugin is supported by IE 6+(supposedly), Mozilla browsers 2.0+ (I think), Google Chrome, and Flock 1.0+. I'm afraid the Google Earth plugin isn't supported by either Opera or Safari, but there's a "fallback option" available, and it automatically kicks in for folks who can't use the plugin, or who don't wish to install it.

If the object you're looking for can't be found in Google Earth, or if you didn't/can't install the plugin for your browser, you can still view images taken from NASA's APOD website, based on what you were searching for. Since Google Earth doesn't have any data at all on the planets, or their moons (their bad, not mine), all you can look at are the images, but the image feature is MUCH more flexible.

If for some reason the script can't find a suitable image for your search, you'll be notified of the fact, and asked to try other search terms.

I'm planning on adding an "auto-correct" feature, for commonly misspelled astronomy terms, so that you don't have to look up the spelling of, say, Betelgeuse. This feature, however, is slated for "down the road a bit", so don't expect it quite yet.

The telescope feature is a "private" viewing experience, meaning that if you and I are in the Observatory together, and I call up the telescope, it only pops up on my end. If you want to see what I'm seeing, you would have to type in the same command.

Some suggestions for the telescope command are:

1.) Google Earth:
Most of the Messier Objects (e.g. M1, the Crab Nebula, M45, the Pleiades, etc.)
Constellations
Certain named stars (Betelgeuse, Polaris, Sirius)

2.) Images:
SOHO comet or SOHO CME (Both are pretty cool. Er... hot? Um..)
Any/all of the planets and/or their moons
Hoags Object (try just "telescope Hoag")

There are 2 minor issues that I've noticed. One is that sometimes, the image viewer loads several images in rapid succession. I'm looking into this, and will have a solution soon. The other issue is that sometimes, the image doesn't seem to match the search terms. This is something that I may or may not be able to do anything about. It's not a rare occurrence, perhaps, but it's uncommon enough that I've placed a low priority on it.

I'm also planning on placing a "Refresh" button in the image viewer, to reduce the number of times you have to actually type the telescope command while searching for a specific image. Again, this is "down the road" stuff.

I think that pretty much covers it. Take a gander, and shoot me some feedback. I'd love to hear your thoughts. :)
Comforting the Disturbed, Disturbing the Comfortable
Chat with Morti!
LinkedIn Profile
CAPTCHA4us

*

Freddy

  • Administrator
  • **********************
  • Colossus
  • *
  • 6860
  • Mostly Harmless
Re: Features in development - Telescope command
« Reply #3 on: July 18, 2010, 05:36:17 pm »
Good stuff.  I don't get how to use the Google Earth bit though.  If I type in a place is it supposed to spin around to find it ?

I tried various things but like Betelgeuse, Crab Nebula etc but nothing happens in the GE window - it might revolve the globe a little but that's it.  I do get images in the image window though.

Also,

Show Telescope
Show Telescope Controls

Don't do anything in Google Chrome as far as I can tell.

Maybe it's a chrome thing ?  Or maybe I don't get it  :-\

*

DaveMorton

  • Trusty Member
  • ********
  • Replicant
  • *
  • 636
  • Safe, Reliable Insanity, Since 1961
    • Geek Cave Creations
Re: Features in development - Telescope command
« Reply #4 on: July 18, 2010, 06:43:56 pm »
I haven't actually added any auxiliary controls to the page, but I probably should. In the debug window (Lower right link), there's a means to show the telescope, however.

I'll see about adding a command to show the telescope, as well.

Thanks for the input, Freddy. :) Every little bit helps.
Comforting the Disturbed, Disturbing the Comfortable
Chat with Morti!
LinkedIn Profile
CAPTCHA4us

 


LLaMA2 Meta's chatbot released
by spydaz (AI News )
August 24, 2024, 02:58:36 pm
ollama and llama3
by spydaz (AI News )
August 24, 2024, 02:55:13 pm
AI controlled F-16, for real!
by frankinstien (AI News )
June 15, 2024, 05:40:28 am
Open AI GPT-4o - audio, vision, text combined reasoning
by MikeB (AI News )
May 14, 2024, 05:46:48 am
OpenAI Speech-to-Speech Reasoning Demo
by MikeB (AI News )
March 31, 2024, 01:00:53 pm
Say good-bye to GPUs...
by MikeB (AI News )
March 23, 2024, 09:23:52 am
Google Bard report
by ivan.moony (AI News )
February 14, 2024, 04:42:23 pm
Elon Musk's xAI Grok Chatbot
by MikeB (AI News )
December 11, 2023, 06:26:33 am

Users Online

311 Guests, 0 Users

Most Online Today: 353. Most Online Ever: 2369 (November 21, 2020, 04:08:13 pm)

Articles