Jump to content
Sign in to follow this  
hyphon

Suggestions for the command scripting interface

Recommended Posts

Hi. I played a bit using the command scripting interface (CSI). I'm not really happy with it, so here are some thoughts on it.

a) The syntax has to be changed from

- dothis param1 param2 [...] object

to

- object dothis param1 param2 [...]

b) Add a optional symbol to connect two commands, so it's possible to execute them at the same time. & or && would make sense. Good examples are movment of mast systems or advanced robotic arms from large lander.

c) Improve the syntax to select HUD mode, active camera or instrument.

d) Add commands to help keeping instruments within the borders of functionality. Especially with Zero-G probe.

e) Add commands to create waypoints.

f) Add commands to control of the Zero-G probe.

If someone has additional improvements I'll add them.

ToM team. You are really making an awesome job. Keep hanging into it.

Hyphon

Share this post


Link to post
Share on other sites

Cheers for the suggestions Hyphon. I definitely agree with point a). Linking two commands would be quite difficult, so that won't be done, but the rest are WIP.

Share this post


Link to post
Share on other sites

@Dram: Would it possible in the future to do some kind of if-then-else tree's?

Example:

if (distance==200 meter) {
forward 200 meter;
}

A additional suggestion is to make the topoint/topint command available to rover movement, to set a point the rover has to reach.

Edited by Hyphon

Share this post


Link to post
Share on other sites
@Dram: Would it possible in the future to do some kind of if-then-else tree's?

Example:

if (distance==200 meter) {
forward 200 meter;
}

A additional suggestion is to make the topoint/topint command available to rover movement, to set a point the rover has to reach.

The if/else tree would be possible, but would take quite a while to write, time we don't really have at the moment.

The TOPOINT command is planned for the rover as well :)

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×