Link Search Menu Expand Document

ARENA-py Documentation and Tutorials

Tutorials

Part 1

Part 2

Part 3

Part 4

Code for these can be found here

General Documentation

See ARENA Documentation: Python.

A simple program

from arena import *

# create library
scene = Scene(host="mqtt.arenaxr.org", scene="example")

@scene.run_once # make this function a task that runs once at startup
def main():
    # make a box
    box = Box(object_id="myBox", position=(0,3,-3), scale=(2,2,2))

    # add the box to ARENA
    scene.add_object(box)

# start tasks
scene.run_tasks()

Table of contents