projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Transmit computed ground pressure and acceleration values
[fw/altos]
/
aoview
/
aoview.h
diff --git
a/aoview/aoview.h
b/aoview/aoview.h
index a3214128b480b38720a1010eaf67355a90741ce6..4abbde88839ca0c8bdd4420dc3ff0c62824b9cde 100644
(file)
--- a/
aoview/aoview.h
+++ b/
aoview/aoview.h
@@
-58,6
+58,11
@@
struct aostate {
int batt;
int drogue;
int main;
int batt;
int drogue;
int main;
+ int flight_accel;
+ int ground_accel;
+ int flight_vel;
+ int flight_pres;
+ int ground_pres;
int nsat;
int locked;
struct {
int nsat;
int locked;
struct {
@@
-73,7
+78,7
@@
struct aostate {
void
aoview_monitor_disconnect(void);
void
aoview_monitor_disconnect(void);
-void
+gboolean
aoview_monitor_connect(char *tty);
struct aoview_serial *
aoview_monitor_connect(char *tty);
struct aoview_serial *
@@
-82,9
+87,11
@@
aoview_serial_open(const char *tty);
void
aoview_serial_close(struct aoview_serial *serial);
void
aoview_serial_close(struct aoview_serial *serial);
+typedef void (*aoview_serial_callback)(gpointer user_data, struct aoview_serial *serial, gint revents);
+
void
aoview_serial_set_callback(struct aoview_serial *serial,
void
aoview_serial_set_callback(struct aoview_serial *serial,
-
GSourceFunc
func,
+
aoview_serial_callback
func,
gpointer data,
GDestroyNotify notify);
gpointer data,
GDestroyNotify notify);
@@
-109,6
+116,9
@@
aoview_usbdev_free(struct usbdev *usbdev);
void
aoview_state_notify(struct aostate *state);
void
aoview_state_notify(struct aostate *state);
+void
+aoview_state_new(void);
+
void
aoview_state_init(GladeXML *xml);
void
aoview_state_init(GladeXML *xml);
@@
-142,6
+152,9
@@
aoview_log_get_serial(void);
void
aoview_log_printf(char *format, ...);
void
aoview_log_printf(char *format, ...);
+void
+aoview_log_new(void);
+
void
aoview_table_start(void);
void
aoview_table_start(void);
@@
-154,5
+167,7
@@
aoview_table_finish(void);
void
aoview_table_init(GladeXML *xml);
void
aoview_table_init(GladeXML *xml);
+void
+aoview_table_clear(void);
#endif /* _AOVIEW_H_ */
#endif /* _AOVIEW_H_ */