RocketLogger  1.1
ambient.h
Go to the documentation of this file.
1 
31 #ifndef AMBIENT_H_
32 #define AMBIENT_H_
33 
34 #include <stdint.h>
35 
36 #include "log.h"
37 #include "rl_file.h"
38 #include "types.h"
39 #include "util.h"
40 
41 #define AMBIENT_SAMPLING_RATE 1 // Sps
42 #define AMBIENT_DATA_BLOCK_SIZE 1
43 
44 void ambient_store_data(FILE* ambient_file,
45  struct time_stamp* timestamp_realtime,
46  struct time_stamp* timestamp_monotonic,
47  struct rl_conf* conf);
48 void ambient_set_file_name(struct rl_conf* conf);
49 void ambient_setup_lead_in(struct rl_file_lead_in* lead_in,
50  struct rl_conf* conf);
51 void ambient_setup_channels(struct rl_file_header* file_header,
52  struct rl_conf* conf);
53 void ambient_setup_header(struct rl_file_header* file_header,
54  struct rl_conf* conf, char* comment);
55 
56 #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:42
void ambient_setup_channels(struct rl_file_header *file_header, struct rl_conf *conf)
Definition: ambient.c:134
void ambient_set_file_name(struct rl_conf *conf)
Definition: ambient.c:77
Definition: types.h:246
void ambient_setup_lead_in(struct rl_file_lead_in *lead_in, struct rl_conf *conf)
Definition: ambient.c:100
void ambient_setup_header(struct rl_file_header *file_header, struct rl_conf *conf, char *comment)
Definition: ambient.c:159