Definition for the well-known ATRV robot, distributed by I-Robot.
You can :
You can set these properties in your scripts with <component>.properties(<property1>=..., <property2>=...).
Indicate if we want to consider the gravity for this robot If true, the behaviour is less realistic as the simulator will automatically compensate it. This setting is useful for non-realistic model flying or submarine robot
Indicate if the robot is a ground robot, i.e. basically if it has no way to control its position on the Z axis
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 *
# creates a new instance of the robot
atrv = ATRV()
# place your component at the correct location
atrv.translate(<x>, <y>, <z>)
atrv.rotate(<rx>, <ry>, <rz>)
# define one or several communication interface, like 'socket'
atrv.add_interface(<interface>)
env = Environment('empty')
(This page has been auto-generated from MORSE module morse.robots.atrv.)