LINK Struct Reference

Structure that defines link properties. More...

#include <lowerleg_struct.h>

Data Fields

string label
int location [2]
 LINK position identification.
double P1 [3]
double P2 [3]
double P3 [3]
double P4 [3]
float left_axis [3]
float right_axis [3]
int angle_data
string angle_1_LINK
string angle_2_LINK
float angle_1 [2]
float angle_2 [2]

Detailed Description

Structure that defines link properties.

This structure contains data about the 4 main reference points on the link, and thus defines the link reference frame. It also contains data about both the link hinge axes.


Field Documentation

float LINK::angle_1[2]

Contains angle of the given LINK with the LINK specified in angle_1_LINK. If the angle is an interval, then the two elements of the array angle_1 give the limits of the interval. Otherwise, both elements are defined to be the same.

Referenced by read_LINK().

String that identifies the LINK with respect to which the angle is known.

Referenced by read_LINK().

float LINK::angle_2[2]

Contains angle of the given LINK with the LINK specified in angle_2_LINK. If the angle is an interval, then the two elements of the array angle_2 give the limits of the interval. Otherwise, both elements are defined to be the same.

Referenced by read_LINK().

Referenced by read_LINK().

If the LINK contains additional optional data (about angle with respect to successive LINK) then this flag is set to 1. if it contains data about angle with second neighboring LINK, then it is set to 2.

Referenced by read_LINK().

float LINK::left_axis[3]

Referenced by read_LINK().

LINK position identification.

To describe if LINK is in the right part of collar or left, and the physical location (position number). Set to location[1] is 1 if in right side, and set to 0 if in the left, while location[2] is the integer specifying location in the ordered list

Referenced by set_LINK_id().

double LINK::P1[3]

The points are numbered as follows:

Point 1: left top

Point 2: right top

Point 3: left bottom

Point 4: right bottom

At least 3 points need to be defined

Referenced by calc_pts_in_collar_base_frame(), and read_LINK().

double LINK::P2[3]
double LINK::P3[3]
double LINK::P4[3]
float LINK::right_axis[3]

Referenced by read_LINK().


The documentation for this struct was generated from the following file:
 All Data Structures Files Functions Variables Typedefs Defines