The execution flags are standart flags used by modules to define several execution behaviours. All modules that would check the command line parameters, should pass this struct to the readcommandlineparameters function. More...
#include <readcommandlineparameters.h>
Data Fields | |
char | dummy |
char | debug |
char | savevideo |
char | saveimage |
char | savelog |
char | test |
char | calibrate |
char | ta |
char | graphical |
char | startwithrunmodule |
char | usescale |
char | estimatescale |
char | openfile |
char | fdebug |
int | use_shm |
char | camera |
char | filename [1024] |
char | open_filename [1024] |
char | robotname [1024] |
The execution flags are standart flags used by modules to define several execution behaviours. All modules that would check the command line parameters, should pass this struct to the readcommandlineparameters function.
Some module may use this to perform some kind of calibration
chooses the camera number. Used by many modules
Only in debug mode should modules write continuously to the shell
Referenced by atlas_lights_command(), atlas_motion_command(), atlas_vert_sign_command(), detect_haar_signal(), DEVICE_read_data(), draw(), drawGPSpoint(), find_tl_sign(), handler_command_msg(), handler_distance_data(), handler_gga_msg_received(), handler_msg_received(), handler_param_daemon(), handler_rmc_msg_received(), handler_rx_msg_received(), handler_speed_gain(), handler_tx_msg_received(), heartbeat_handler(), heartbeat_handler_n0(), heartbeat_handler_n1(), heartbeat_handler_n2(), heartbeat_handler_n3(), main(), query_shminfo_handler(), read_cross_sensor_value(), read_frequency_change_handler(), refresh_windows(), request_cross_sensor_value(), send_dir_brake(), send_to_plc(), show_masks(), and toogle_handler().
dummy mode is used for hardware interface modules. When on the module should work without being connected to the hardware
Referenced by atlas_lights_command(), atlas_motion_command(), atlas_vert_sign_command(), InitDES_communication(), initialize_communications(), initialize_robot(), main(), read_cross_sensor_value(), request_cross_sensor_value(), send_dir_brake(), send_to_plc(), and shutdown_module().
allows that scale factor is calculated
enables to show frequency debug
char TYPE_executionflags::filename[1024] |
In graphical mode modules display gtk windows
Referenced by main(), and refresh_windows().
char TYPE_executionflags::open_filename[1024] |
the name and dir of the file to save
enables to open a file
char TYPE_executionflags::robotname[1024] |
the name and dir of the file to open
Referenced by handler_distance_data().
Some module may save an image for media or debug purposes
Some module may save a log message
Some module may save a video for media or debug purposes
enable the module to start processing when started
Referenced by main().
Time analisys flag is used for modules to print several time information
Referenced by main().
Some module may use a test flag to do some specific tests
Use shared memory for inter proccess communications
enables to use a scaled factor