Robotran C Documentation
visu_past.h
Go to the documentation of this file.
1 
7 #ifdef VISU_3D
8 
9 #ifndef _VISU_PAST_H_
10 #define _VISU_PAST_H_
11 
12 #include "realtime.h"
13 
14 // functions prototypes
15 void update_past_visu(Simu_realtime *realtime, double tsim);
16 void q_past_vector(Simu_realtime *realtime);
17 void visu_time_past(Simu_realtime *realtime, double tsim);
18 void update_visu_past(Simu_realtime *realtime, int flag_forward);
19 
20 #endif
21 #endif
visu_past.h
functions used to go backward or forward in the simulation time for visualization
realtime_functions.h
useful functions used by the real-time modules
Simu_realtime::simu_break
int simu_break
1 to make a break, 0 otherwise
Definition: realtime.h:103
Simu_realtime::init_t_sec
int init_t_sec
initial real time [s], without us
Definition: realtime.h:122
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)
time_functions.h
functions used to get the time expressed in us (micro seconds)
Simu_realtime::flag_plot
int flag_plot
1 if SDL plots features activated, 0 otherwise
Definition: realtime.h:136
t_usec
int t_usec(int init_t_sec, int init_t_usec)
return the elapsed time (in us) since time 'init_t' (expressed in s and us)
Definition: time_functions.c:25
guess_tsim_index
void guess_tsim_index(double request_tsim, double *tsim_save, int min_ind, int max_ind, double min_tsim, double max_tsim, int buffer_size, int flag_round, int *prev_ind, int *next_ind)
get the indexes for a requested time on a turning vector of time values
Definition: realtime_functions.c:17
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
Simu_realtime::simu_speed_flag
int simu_speed_flag
used to compute the simulation factor
Definition: realtime.h:105
INTERRUPT_BACK_IN_VISU
#define INTERRUPT_BACK_IN_VISU
Definition: realtime.h:20
get_simu_speed_factor
double get_simu_speed_factor(int simu_speed_flag)
get simulation factor depending on the 'simu_speed_flag' flag
Definition: realtime.c:903
Simu_realtime::init_t_usec
int init_t_usec
initial real time [us], without s (kind of modulo)
Definition: realtime.h:123
user_realtime.h