Functions | Variables
meshcat-viewer-solo Namespace Reference

Functions

def ground (xy)
 
def vizGround (viz, elevation_fn, space, name="ground", color=[1.0, 1.0, 0.6, 0.8])
 

Variables

 color
 
list colorrgb = [128, 149, 255, 200]
 
 loadModel
 
 model = robot.model
 
 q_ref
 
 robot = load("solo12")
 
 vizer = MeshcatVisualizer(model, robot.collision_model, robot.visual_model)
 

Function Documentation

◆ ground()

def meshcat-viewer-solo.ground (   xy)

Definition at line 43 of file meshcat-viewer-solo.py.

◆ vizGround()

def meshcat-viewer-solo.vizGround (   viz,
  elevation_fn,
  space,
  name = "ground",
  color = [1.0, 1.0, 0.6, 0.8] 
)

Definition at line 51 of file meshcat-viewer-solo.py.

Variable Documentation

◆ color

meshcat-viewer-solo.color

Definition at line 74 of file meshcat-viewer-solo.py.

◆ colorrgb

float meshcat-viewer-solo.colorrgb = [128, 149, 255, 200]

Definition at line 72 of file meshcat-viewer-solo.py.

◆ loadModel

meshcat-viewer-solo.loadModel

Definition at line 40 of file meshcat-viewer-solo.py.

◆ model

meshcat-viewer-solo.model = robot.model

Definition at line 38 of file meshcat-viewer-solo.py.

◆ q_ref

meshcat-viewer-solo.q_ref
Initial value:
1 = np.array(
2  [
3  [0.09906518],
4  [0.20099078],
5  [0.32502457],
6  [0.19414175],
7  [-0.00524735],
8  [-0.97855773],
9  [0.06860185],
10  [0.00968163],
11  [0.60963582],
12  [-1.61206407],
13  [-0.02543309],
14  [0.66709088],
15  [-1.50870083],
16  [0.32405118],
17  [-1.15305599],
18  [1.56867351],
19  [-0.39097222],
20  [-1.29675892],
21  [1.39741073],
22  ]
23 )

Definition at line 13 of file meshcat-viewer-solo.py.

◆ robot

meshcat-viewer-solo.robot = load("solo12")

Definition at line 11 of file meshcat-viewer-solo.py.

◆ vizer

meshcat-viewer-solo.vizer = MeshcatVisualizer(model, robot.collision_model, robot.visual_model)

Definition at line 39 of file meshcat-viewer-solo.py.



pinocchio
Author(s):
autogenerated on Tue Jun 25 2024 02:42:42