Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Coordinate cell handler doesn't work (or wrong docs) #20

Open
iz-sai opened this issue Sep 27, 2013 · 2 comments
Open

Coordinate cell handler doesn't work (or wrong docs) #20

iz-sai opened this issue Sep 27, 2013 · 2 comments
Labels

Comments

@iz-sai
Copy link
Contributor

iz-sai commented Sep 27, 2013

I seem to implement it just like in your example in README, but when I click on coordinates column at http://ocl.sai.msu.ru/catalog nothing happens with the Aladin and no SAMP message is seen in the SAMP hub debug log. Moreover, this Aladin script command which is sent by onclick event on the coordinates should be customizable like it was in samp-webtools.

@iz-sai
Copy link
Contributor Author

iz-sai commented Sep 28, 2013

It's quite strange, but on mouse click code sends 2 SAMP messages: Aladin script (generated script string is perfectly correct, I checked it) and coords point at sky, but in the SAMP hub only last one is seen. So the functionality still does not work as expected. Probably, you can't sent aladin script mtype with notifyAll, you have to send it directly to Aladin (but that's just a guess).

@iz-sai
Copy link
Contributor Author

iz-sai commented Feb 19, 2014

Just noticed that coord.pointAt.sky message has wrong coordinates. RA is 0...360 deg, Dec is -90…90 deg, whereas for the first row "SAI 1" at http://ocl.sai.msu.ru/catalog/ it sends the following message:

{ "samp.mtype": "coord.pointAt.sky",
  "samp.params": {
    "ra": "500.4",
    "dec": "186195" } }

Aladin script message is not seen in the hub still and hence not received by Aladin.

Could you please investigate this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant