G General

Simple Robot Version 1.0

Simple Robot
Details
Features
Contents
Reviews

An easy way to move an object with a simple notecard and a script.

--------------------------------------------------------------------------------------
Features
--------------------------------------------------------------------------------------
* translate on a line with various speed
* rotate in all axis with various speed
* combine translation and rotation to get curves with various speed
* stop movement with timer
* send linked command to trigger another script
* set alpha
* come back to start, resume...

--------------------------------------------------------------------------------------
How to do ?
--------------------------------------------------------------------------------------

Create a notecard "configrobot" with your commands. There is a "configrobot base" in the box with all commands.

Commands are :

GO | length | speed -> length in meters and speed in meters per seconds
ROT | angleX | angleY | angleZ | speed -> angle in degrees and speed in degrees per seconds
GO_ROT | length | angleX | angleY | angleZ | speed -> same than GO and ROT, speed in meters per seconds
SEND_CMD | channel | name -> send linked command "name" on channel "channel"
STOP | time -> time in seconds
ALPHA | value -> set primitive alpha (0 to 1, 0 is transparent, 1 is visible)
BACK -> jump to start position and rotation and stop
RESUME -> new start from current position and rotation
RESUME_BACK -> jump to start position and rotation and start again

So you can create your own movement !

Set the trigger parameters that you need :

Go Parameters :
@GO_CHAT | channel | cmd -> triggered on message "cmd" on channel "channel"
@GO_LINK_CHAN | channel -> triggered on channel "channel"
@GO_TOUCH | filter -> go on touch, filter = ALL, GROUP or OWNER
@GO_SIT -> go on sit
@GO_UNSIT -> go on unsit

Stop parameters
@STOP_CHAT | channel | cmd -> triggered on message "cmd" on channel "channel"
@STOP_LINK_CHAN | channel -> triggered on channel "channel"
@STOP_TOUCH | filter -> stop on touch, filter = ALL, GROUP or OWNER
@STOP_SIT -> stop on sit
@STOP_UNSIT -> stop on unsit

Stop Back parameters
@STOP_BACK_CHAT | channel | cmd -> triggered on message "cmd" on channel "channel"
@STOP_BACK_LINK_CHAN | channel -> triggered on channel "channel"
@STOP_BACK_TOUCH | filter -> stop on touch, filter = ALL, GROUP or OWNER
@STOP_BACK_SIT -> stop on sit
@STOP_BACK_UNSIT -> stop on unsit

So you can activate movement as you want !

Just drop in object :

* notecard "configrobot"
* script "simple robot"

Wait for the script to read the notecard. Robot is ready !

  • translate on a line with various speed
  • rotate in all axis with various speed
  • combine translation and rotation to get curves with various speed
  • stop movement with timer
  • send linked command to trigger another script