CoordsMarker¶
The CoordsMarker component displays 3D coordinate axis markers.
This is ideal for:
Visualizing coordinate frames and orientations
Debugging transformations and poses
Showing robot joint frames
Creating reference markers in scenes

Basic Usage¶
A minimal example that creates coordinate markers:
import asyncio
from vuer import Vuer
from vuer.schemas import DefaultScene, CoordsMarker, OrbitControls
app = Vuer()
n = 10
N = 1000
@app.spawn(start=True)
async def main(session):
markers = [
CoordsMarker(
position=[i % n, (i // n) % n, (i // n ** 2) % n],
scale=0.25,
)
for i in range(N)
]
session.set @ DefaultScene(
*markers,
bgChildren=[
OrbitControls(key="OrbitControls")
],
)
while True:
await asyncio.sleep(1.0)
Key Parameters¶
Parameter |
Type |
Default |
Description |
|---|---|---|---|
|
str |
- |
Unique identifier for the marker |
|
list |
|
Marker position in world coordinates |
|
list |
|
Marker rotation (Euler angles) |
|
list |
- |
4x4 transformation matrix (16 numbers). Overrides position and rotation |
|
float |
|
Overall marker size |
|
float |
|
Scale factor for the arrow heads |
|
int |
- |
Level of detail - number of segments for the cone and stem |