Running ruby code in telemetry screens after pressing a button #1378
-
Hello, I have been using Cosmos5 telemetry screens to try and run ruby code by pressing a button. I am hoping to get some insight/examples on how to actually run all sorts of ruby code (specifically running scripts in the directory) from within a telemetry screen. I'm trying to go off examples from Cosmos4 but haven't had success. I would like to run a script when pressing the button like this and that script would have code to send a command. Also, do the buttons execute javascript or ruby code now? The documentation on the website says JavaScript now? If you can share any examples of how to do this in Cosmos5 it would be greatly appreciated! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hello thank you for your interest in Cosmos and sorry for the very late reply. Yes the buttons on screens now run in Javascript. As to how to do this..... Well I don't have a good answer yet. |
Beta Was this translation helpful? Give feedback.
Hello thank you for your interest in Cosmos and sorry for the very late reply. Yes the buttons on screens now run in Javascript. As to how to do this..... Well I don't have a good answer yet.