Robotran C Documentation
events_sdl.h
Go to the documentation of this file.
1 
2 #ifdef SDL
3 
4 #ifndef _EVENTS_SDL_
5 #define _EVENTS_SDL_
6 
7 // functions prototypes
8 void events_sdl(Simu_realtime *realtime, int cur_t_usec);
9 
10 #ifdef __cplusplus
11 extern "C" {
12 #endif
13  double get_Joystick_axis(int joystickID, int axisID, Simu_realtime *realtime);
14 #ifdef __cplusplus
15 }
16 #endif
17 
18 #endif
19 #endif
visu_past.h
functions used to go backward or forward in the simulation time for visualization
Simu_realtime::simu_break
int simu_break
1 to make a break, 0 otherwise
Definition: realtime.h:103
mbs_data.h
mbs_project_interface.h
Simu_realtime::last_break
int last_break
1 to indicate last break, 0 otherwise
Definition: realtime.h:104
Simu_realtime::simu_quit
int simu_quit
1 to quit the simulation, 0 otherwise
Definition: realtime.h:102
Simu_realtime::ext
Realtime_extern * ext
external variables
Definition: realtime.h:143
PERIOD_BACK_IN_VISU
#define PERIOD_BACK_IN_VISU
Definition: realtime.h:19
plot_sdl.h
main SDL functions (plot curves and handles keyboard, joystick... inputs)
Simu_realtime::tsim
double tsim
current simulation time [s]
Definition: realtime.h:114
MbsData
Definition: mbs_data.h:149
realtime.h
Real-time constraints main header.
Simu_realtime
real-time structure
Definition: realtime.h:99
Realtime_extern::mbs_data
MbsData * mbs_data
Robotran main structure.
Definition: realtime.h:36
events_sdl.h
Simu_realtime::simu_speed_flag
int simu_speed_flag
used to compute the simulation factor
Definition: realtime.h:105
user_realtime.h
Simu_realtime::flag_visu
int flag_visu
1 if Java visualization features activated, 0 otherwise
Definition: realtime.h:137