HAPTIX API

Data Fields
hxsModel Struct Reference

Information about a model. More...

#include <haptix_sim.h>

Data Fields

int gravity_mode
 1 if the model is affected by gravity, 0 otherwise. More...
 
int joint_count
 Number of joints in the model. More...
 
hxsJoint joints [50]
 Array of joints in the model. More...
 
int link_count
 Number of links in the model. More...
 
hxsLink links [100]
 Array of links in the model. More...
 
char name [100]
 Model name. More...
 
hxsTransform transform
 The position and orientation of the model, relative to the global coordinate frame. More...
 

Detailed Description

Information about a model.

Field Documentation

int hxsModel::gravity_mode

1 if the model is affected by gravity, 0 otherwise.

int hxsModel::joint_count

Number of joints in the model.

This defines the range of elements in the "joints" array.

hxsJoint hxsModel::joints[50]

Array of joints in the model.

See also
joint_count
int hxsModel::link_count

Number of links in the model.

This defines the range of elements in the "links" array.

hxsLink hxsModel::links[100]

Array of links in the model.

See also
link_count
char hxsModel::name[100]

Model name.

hxsTransform hxsModel::transform

The position and orientation of the model, relative to the global coordinate frame.


The documentation for this struct was generated from the following file: