code:json
no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
Previous revisionNext revision | |||
— | code:json [2016/11/28 02:35] – added information on a couple more commands jtello | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | |||
+ | The following commands are available with the JSON API: | ||
+ | |||
+ | |change_constraints|change_script|[[# | ||
+ | |cnst_time|consts|create_target|dec|devbytype| | ||
+ | |deviceinfo|[[# | ||
+ | |hasimage|inc|labellist|labels|lastimage| | ||
+ | |messages|night|obytid|plan|runscript| | ||
+ | |satisfied|script|selval|[[# | ||
+ | |sunalt|taltitudes|tbydistance|tbyid|tbylabel| | ||
+ | |tbyname|tbystring|tlabs_add|tlabs_delete|tlabs_set| | ||
+ | |[[# | ||
+ | |||
+ | |||
+ | |||
+ | ====== cmd ====== | ||
+ | This can be used to send commands to the different devices in RTS2. | ||
+ | For example to observe the target 8 next: | ||
+ | http:// | ||
+ | note the URL code %20 is used to pass on the space between the command and the parameters. | ||
+ | |||
+ | |||
+ | ====== devices ====== | ||
+ | This will list the devices connected to rts2 | ||
+ | |||
+ | ====== set ====== | ||
+ | This will allow you to set values in rts2 devices. Modifiers are: | ||
+ | ' | ||
+ | |||
+ | |||
+ | ====== update_target ====== | ||
+ | This can be used to change values in a target including its coordinates | ||
+ | http:// | ||
code/json.txt · Last modified: 2017/02/07 00:00 (external edit)