RocketLogger  1.1.4
ambient.h
Go to the documentation of this file.
1 
32 #ifndef AMBIENT_H_
33 #define AMBIENT_H_
34 
35 #include <stdint.h>
36 
37 #include "log.h"
38 #include "rl_file.h"
39 #include "types.h"
40 #include "util.h"
41 
42 #define AMBIENT_SAMPLING_RATE 1 // Sps
43 #define AMBIENT_DATA_BLOCK_SIZE 1
44 
45 void ambient_store_data(FILE* ambient_file,
46  struct time_stamp* timestamp_realtime,
47  struct time_stamp* timestamp_monotonic,
48  struct rl_conf* conf);
49 void ambient_set_file_name(struct rl_conf* conf);
50 void ambient_setup_lead_in(struct rl_file_lead_in* lead_in,
51  struct rl_conf* conf);
52 void ambient_setup_channels(struct rl_file_header* file_header,
53  struct rl_conf* conf);
54 void ambient_setup_header(struct rl_file_header* file_header,
55  struct rl_conf* conf, char* comment);
56 
57 #endif /* AMBIENT_H_ */
void ambient_store_data(FILE *ambient_file, struct time_stamp *timestamp_realtime, struct time_stamp *timestamp_monotonic, struct rl_conf *conf)
Definition: ambient.c:43
void ambient_setup_channels(struct rl_file_header *file_header, struct rl_conf *conf)
Definition: ambient.c:135
void ambient_set_file_name(struct rl_conf *conf)
Definition: ambient.c:78
Definition: types.h:247
void ambient_setup_lead_in(struct rl_file_lead_in *lead_in, struct rl_conf *conf)
Definition: ambient.c:101
void ambient_setup_header(struct rl_file_header *file_header, struct rl_conf *conf, char *comment)
Definition: ambient.c:160