aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/libsurvive/survive.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/include/libsurvive/survive.h b/include/libsurvive/survive.h
index 03249e9..5f2d711 100644
--- a/include/libsurvive/survive.h
+++ b/include/libsurvive/survive.h
@@ -26,8 +26,8 @@ struct SurviveObject
//Pose Information, also "poser" field.
FLT PoseConfidence; //0..1
- SurvivePose OutPose;
- SurvivePose FromLHPose[NUM_LIGHTHOUSES]; //Optionally filled out by poser, contains computed position from each lighthouse.
+ SurvivePose OutPose; //Final pose? (some day, one can dream!)
+ SurvivePose FromLHPose[NUM_LIGHTHOUSES]; //Filled out by poser, contains computed position from each lighthouse.
void * PoserData; //Initialized to zero, configured by poser, can be anything the poser wants.
PoserCB PoserFn;
@@ -92,7 +92,6 @@ struct SurviveContext
//Calibration data:
BaseStationData bsd[NUM_LIGHTHOUSES];
-
SurviveCalData * calptr; //If and only if the calibration subsystem is attached.
SurviveObject ** objs;
@@ -140,7 +139,7 @@ void survive_default_angle_process( SurviveObject * so, int sensor_id, int acode
void RegisterDriver( const char * name, void * data );
#define REGISTER_LINKTIME( func ) \
- void __attribute__((constructor)) Register##func() { RegisterDriver( #func, &func ); }
+ void __attribute__((constructor)) LTRegister##func() { RegisterDriver( #func, &func ); }