Looking Inside a Service

I am very new to MRL and programming in general, I have had alot of success borrowing and modifying examples to achieve my desired outcomes however my projects are getting more involved and I would like expand my scripting arsenal. 

Is there a way for me to open a service (Joystick for example) so i can see all the variables, methods and tags that excists within that service so I can use them? I know about the Joystick.map and Listener only becuase I saw them in an example. I would like to be able to find these things on my own.  

Forgive my complete lack of knowledge when it comes to programming terminology. 

 

Mats's picture

Look into a service

To be able to look into a service you need to download the sourcecode for MRL.

Under the Documentation tab. Click on Quick start.

Follow the procedure for a Developer.

Then you can use Eclipse to look at, and also make changes to any service you want.

Good luck.

 

 

beetlejuice's picture

Hi BrotherBrown831, You can

Hi BrotherBrown831,

You can look in the javadoc  : http://rawgit.com/MyRobotLab/myrobotlab/master/javadoc/index.html?overview-summary.html

I think it's that you're looking for . If you want to know more, you can see the code of each services here : 

https://github.com/MyRobotLab/myrobotlab/tree/master/src/org/myrobotlab/service

 

beetlejuice's picture

Lol Mats you're faster than

Lol Mats you're faster than me to write 

brotherbrown831's picture

The JavaDoc was exactly what

The JavaDoc was exactly what I was looking for, thanks for the quick response.