Instruct the robot to move towards a given target
This actuator reads the coordinates of a destination point, and moves the robot in a straight line towards the given point, without turning. It provides a very simplistic movement, and can be used for testing or for robots with holonomic movement. The speeds provided are internally adjusted to the Blender time measure.
You can set these properties in your scripts with <component>.properties(<property1>=..., <property2>=...).
(no documentation available yet)
(no documentation available yet)
Kind of control, can be one of [‘Velocity’, ‘Position’]
This actuator reads these datafields at each simulation step:
X coordinate of the destination
Y coordinate of the destination
Z coordinate of the destination
Interface support:
Returns the properties of a component.
Return value
a dictionary of the current component’s properties
Returns the configurations of a component (parsed from the properties).
Return value
a dictionary of the current component’s configurations
The following examples show how to use this component in a Builder script:
from morse.builder import *
robot = ATRV()
# creates a new instance of the actuator
destination = Destination()
# place your component at the correct location
destination.translate(<x>, <y>, <z>)
destination.rotate(<rx>, <ry>, <rz>)
robot.append(destination)
# define one or several communication interface, like 'socket'
destination.add_interface(<interface>)
env = Environment('empty')
(This page has been auto-generated from MORSE module morse.actuators.destination.)