diff options
author | cnlohr <lohr85@gmail.com> | 2016-12-19 02:00:08 -0500 |
---|---|---|
committer | cnlohr <lohr85@gmail.com> | 2016-12-19 02:00:08 -0500 |
commit | bc65f5ce142ed203e91d8b35a1e61009ef4fb098 (patch) | |
tree | fb51a5f0052f89dd267e8222ed0e3cc95f1c0a61 /include/survive.h | |
parent | 948b07fe3849bd1a574d7e4b6c56b0a594bac7c1 (diff) | |
download | libsurvive-bc65f5ce142ed203e91d8b35a1e61009ef4fb098.tar.gz libsurvive-bc65f5ce142ed203e91d8b35a1e61009ef4fb098.tar.bz2 |
allow for easy config dumping
Diffstat (limited to 'include/survive.h')
-rw-r--r-- | include/survive.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/include/survive.h b/include/survive.h index b574711..f64091f 100644 --- a/include/survive.h +++ b/include/survive.h @@ -24,19 +24,17 @@ struct SurviveObject int8_t charging:1; int8_t ison:1; int8_t additional_flags:6; - int8_t sensors; - int8_t nr_locations; SV_FLOAT * sensor_locations; - SV_FLOAT * sensor_normals; + int8_t nr_locations; //Flood info, for calculating which laser is currently sweeping. + int8_t oldcode; + int16_t total_photos; int32_t last_photo_time; int32_t total_photo_time; int32_t total_pulsecode_time; - int16_t total_photos; - int8_t oldcode; }; typedef void (*text_feedback_fnptr)( struct SurviveContext * ctx, const char * fault ); @@ -54,7 +52,7 @@ void survive_install_imu_fn( struct SurviveContext * ctx, imu_process_func fbp void survive_close( struct SurviveContext * ctx ); int survive_poll(); - +struct SurviveObject * survive_get_so_by_name( struct SurviveContext * ctx, const char * name ); //Utilitiy functions. int survive_simple_inflate( struct SurviveContext * ctx, const char * input, int inlen, char * output, int outlen ); |