Display-ORTE bridge.
More...
#include <string.h>
#include <orte.h>
#include <roboorte_robottype.h>
#include <time.h>
#include "uoled.h"
#include "displayd.h"
#include <poll.h>
#include <unistd.h>
#include <stdlib.h>
#include <signal.h>
#include <stdbool.h>
Functions |
int | timespec_subtract (struct timespec *result, struct timespec *x, struct timespec *y) |
| Subtract the `struct timespec' values X and Y, storing the result in RESULT (result = x - y).
|
bool | miliseconds_elapsed_since (struct timespec *t, unsigned miliseconds) |
void | rcv_pwr_voltage_cb (const ORTERecvInfo *info, void *vinstance, void *recvCallBackParam) |
void | rcv_odo_data_cb (const ORTERecvInfo *info, void *vinstance, void *recvCallBackParam) |
void | rcv_robot_cmd_cb (const ORTERecvInfo *info, void *vinstance, void *recvCallBackParam) |
void | rcv_robot_swicthes_cb (const ORTERecvInfo *info, void *vinstance, void *recvCallBackParam) |
void | rcv_motion_status_cb (const ORTERecvInfo *info, void *vinstance, void *recvCallBackParam) |
void | rcv_vidle_status_cb (const ORTERecvInfo *info, void *vinstance, void *recvCallBackParam) |
void | rcv_camera_result_cb (const ORTERecvInfo *info, void *vinstance, void *recvCallBackParam) |
void | rcv_hokuyo_scan_cb (const ORTERecvInfo *info, void *vinstance, void *recvCallBackParam) |
void | rcv_est_pos_best_cb (const ORTERecvInfo *info, void *vinstance, void *recvCallBackParam) |
void | rcv_fsm_main_cb (const ORTERecvInfo *info, void *vinstance, void *recvCallBackParam) |
void | rcv_fsm_act_cb (const ORTERecvInfo *info, void *vinstance, void *recvCallBackParam) |
void | rcv_fsm_motion_cb (const ORTERecvInfo *info, void *vinstance, void *recvCallBackParam) |
int | main (int argc, char *argv[]) |
Variables |
struct sercom_data * | sercom |
int | interrupt = 0 |
Detailed Description
Display-ORTE bridge.
- Date:
- 10/04/19
Copyright: (c) 2010 CTU Dragons CTU FEE - Department of Control Engineering License: GNU GPL v.2
Function Documentation
int main |
( |
int |
argc, |
|
|
char * |
argv[] | |
|
) |
| | |
bool miliseconds_elapsed_since |
( |
struct timespec * |
t, |
|
|
unsigned |
miliseconds | |
|
) |
| | |
void rcv_camera_result_cb |
( |
const ORTERecvInfo * |
info, |
|
|
void * |
vinstance, |
|
|
void * |
recvCallBackParam | |
|
) |
| | |
void rcv_est_pos_best_cb |
( |
const ORTERecvInfo * |
info, |
|
|
void * |
vinstance, |
|
|
void * |
recvCallBackParam | |
|
) |
| | |
void rcv_fsm_act_cb |
( |
const ORTERecvInfo * |
info, |
|
|
void * |
vinstance, |
|
|
void * |
recvCallBackParam | |
|
) |
| | |
void rcv_fsm_main_cb |
( |
const ORTERecvInfo * |
info, |
|
|
void * |
vinstance, |
|
|
void * |
recvCallBackParam | |
|
) |
| | |
void rcv_fsm_motion_cb |
( |
const ORTERecvInfo * |
info, |
|
|
void * |
vinstance, |
|
|
void * |
recvCallBackParam | |
|
) |
| | |
void rcv_hokuyo_scan_cb |
( |
const ORTERecvInfo * |
info, |
|
|
void * |
vinstance, |
|
|
void * |
recvCallBackParam | |
|
) |
| | |
void rcv_motion_status_cb |
( |
const ORTERecvInfo * |
info, |
|
|
void * |
vinstance, |
|
|
void * |
recvCallBackParam | |
|
) |
| | |
void rcv_odo_data_cb |
( |
const ORTERecvInfo * |
info, |
|
|
void * |
vinstance, |
|
|
void * |
recvCallBackParam | |
|
) |
| | |
void rcv_pwr_voltage_cb |
( |
const ORTERecvInfo * |
info, |
|
|
void * |
vinstance, |
|
|
void * |
recvCallBackParam | |
|
) |
| | |
void rcv_robot_cmd_cb |
( |
const ORTERecvInfo * |
info, |
|
|
void * |
vinstance, |
|
|
void * |
recvCallBackParam | |
|
) |
| | |
void rcv_robot_swicthes_cb |
( |
const ORTERecvInfo * |
info, |
|
|
void * |
vinstance, |
|
|
void * |
recvCallBackParam | |
|
) |
| | |
void rcv_vidle_status_cb |
( |
const ORTERecvInfo * |
info, |
|
|
void * |
vinstance, |
|
|
void * |
recvCallBackParam | |
|
) |
| | |
int timespec_subtract |
( |
struct timespec * |
result, |
|
|
struct timespec * |
x, |
|
|
struct timespec * |
y | |
|
) |
| | |
Subtract the `struct timespec' values X and Y, storing the result in RESULT (result = x - y).
Return 1 if the difference is negative, otherwise 0.
Variable Documentation