Artemis Teensy Flight Software
The software on the Teensy in the Artemis cubesat.
Constants defining Part types.

Enumerations

enum  PIECE {
  PIECE_TYPE_EXTERNAL_PANEL =0 , PIECE_TYPE_INTERNAL_PANEL =1 , PIECE_TYPE_BOX =2 , PIECE_TYPE_CYLINDER =3 ,
  PIECE_TYPE_SPHERE =4 , PIECE_TYPE_DIMENSIONLESS =5 , PIECE_TYPE_CONE =6 , PIECE_TYPE_COUNT ,
  PIECE_TYPE_NONE =UINT16_MAX
}
 

Detailed Description

These constants define the different Part types that a Node can be made of.

Enumeration Type Documentation

◆ PIECE

enum PIECE
Enumerator
PIECE_TYPE_EXTERNAL_PANEL 

External Panel: n vertices and a thickness, subject to external forces.

PIECE_TYPE_INTERNAL_PANEL 

Internal Panel: n vertices and a thickness.

PIECE_TYPE_BOX 

Box: 8 vertices defining 2 parallel sides and a wall thickness, first set curled pointing out, second set pointing in.

PIECE_TYPE_CYLINDER 

Cylinder: 3 points and a wall thickness, first end, second end, point on radius of second end.

PIECE_TYPE_SPHERE 

Sphere: 2 points and a wall thickness; center and point on surface.

PIECE_TYPE_DIMENSIONLESS 

Dimensionless:

PIECE_TYPE_CONE 

Cone: same as Cylinder except first end is a point.