26 #ifndef PANDA_HANDLER_H 27 #define PANDA_HANDLER_H 29 #include "panda/usb.h" 30 #include "panda/can.h" 31 #include "panda/gps.h" 32 #include "panda/gpsTime.h" 33 #include "panda/obd-pid.h" void addCanObserver(CanListener &can)
Add listeners to CAN packet updates.
A class that handles the Usb, GPS, and CAN data.
Definition: panda.h:50
Handles USB communication and parsing with a comma.ai Panda.
Definition: can.h:38
void addGpsObserver(GpsListener &gps)
Add listeners to GPS data updates.
An abstract class for new data notifications for new CAN data.
Definition: can.h:63
void initialize()
Start up USB, GPS, and decoding threads.
void stop()
Stop USB, GPS, and decoding threads This should be called after initialize() when done with data coll...
Gps & getGps()
Returns the in-use GPS parser.
A class that handles the GPS data.
Definition: gps.h:74
void addUsbObserver(UsbListener &usb)
Add listeners to USB data updates.
Can & getCan()
Returns the in-use CAN parser.
Usb & getUsb()
Returns the in-use USB handler.
An abstract class for new data notifications for new GPS data.
Definition: gps.h:50
A class that handles the CAN data.
Definition: can.h:103