Include file for the interface program to create or load a calibration. More...
#include <stdio.h>#include <fstream>#include <iostream>#include <phidget21.h>#include <ros/ros.h>#include <ros/package.h>#include <boost/asio.hpp>#include <boost/bind.hpp>#include <boost/thread.hpp>#include <boost/property_tree/ptree.hpp>#include <boost/property_tree/xml_parser.hpp>#include <boost/foreach.hpp>#include <boost/shared_ptr.hpp>#include <vector>#include <stdlib.h>#include <math.h>#include <time.h>#include <ctype.h>#include <string.h>#include <fcntl.h>#include <sys/time.h>#include <unistd.h>#include "opencv2/core/core.hpp"#include <signal.h>#include <sys/types.h>#include <sys/ipc.h>#include <sys/shm.h>#include <assert.h>#include <gtk/gtk.h>#include <gdk/gdkkeysyms.h>

Go to the source code of this file.
Classes | |
| class | PhidgetClass |
Functions | |
| void | callback_about (GtkWidget *window, gpointer data) |
| Function to open the about window. More... | |
| void | callback_back_function (GtkWidget *window, gpointer data) |
| Function to return to main window. More... | |
| void | callback_IR_error (GtkWidget *widget, gpointer user_data) |
| void | callback_load_config (GtkWidget *widget, gpointer user_data) |
| Function to load an existent calibration. More... | |
| void | callback_new_config (GtkWidget *widget, gpointer user_data) |
| Function to start a new calibration. More... | |
| void | callback_open_new (GtkWidget *widget, gpointer user_data) |
| Function to open the new calibration dialog. More... | |
| void | callback_opendialog_cancel (GtkWidget *widget, gpointer user_data) |
| void | callback_opendialog_open (GtkWidget *widget, gpointer user_data) |
| void | callback_opendialog_save (GtkWidget *widget, gpointer user_data) |
| void | callback_set_data (GtkWidget *widget, gpointer user_data) |
| Function with the instructions for the configuration. More... | |
| void | delete_event (GtkWidget *window, GdkEvent *event, gpointer data) |
| Function to detect that you are leaving main window. More... | |
| gboolean | real_time_monitor (gpointer progressbar) |
| Function to get the values in realtime for new config. More... | |
Include file for the interface program to create or load a calibration.
Definition in file interface_phidgets_getdata_synchronous.h.
| void callback_about | ( | GtkWidget * | window, |
| gpointer | data | ||
| ) |
Function to open the about window.
| Widget | and user data |
Definition at line 1931 of file interface_phidgets_getdata_synchronous.cpp.
| void callback_back_function | ( | GtkWidget * | window, |
| gpointer | data | ||
| ) |
Function to return to main window.
| Widget | and user data |
Definition at line 1944 of file interface_phidgets_getdata_synchronous.cpp.
| void callback_IR_error | ( | GtkWidget * | widget, |
| gpointer | user_data | ||
| ) |
Definition at line 1963 of file interface_phidgets_getdata_synchronous.cpp.
| void callback_load_config | ( | GtkWidget * | widget, |
| gpointer | user_data | ||
| ) |
Function to load an existent calibration.
This function is called to load a calibration. Depending on the number of pedals the function will show that exact number. Reads the calibration values text file and checks if there is already a configuration with that specific user_name and number of pedals, if it's true it will load it, else there will be an error.
| Widget | and user data |
Definition at line 1637 of file interface_phidgets_getdata_synchronous.cpp.
| void callback_new_config | ( | GtkWidget * | widget, |
| gpointer | user_data | ||
| ) |
Function to start a new calibration.
This function is called when a new calibration is started. Depending on the number of pedals the function will show that exact number. Reads the calibration values text file and checks if there is already a configuration with that specific user_name and number of pedals, if it's true there will be an error, else it will start the new *configuration.
| Widget | and user data |
Definition at line 1016 of file interface_phidgets_getdata_synchronous.cpp.
| void callback_open_new | ( | GtkWidget * | widget, |
| gpointer | user_data | ||
| ) |
Function to open the new calibration dialog.
| Widget | and user data |
Definition at line 999 of file interface_phidgets_getdata_synchronous.cpp.
| void callback_opendialog_cancel | ( | GtkWidget * | widget, |
| gpointer | user_data | ||
| ) |
Definition at line 1644 of file interface_phidgets_getdata_synchronous.cpp.
| void callback_opendialog_open | ( | GtkWidget * | widget, |
| gpointer | user_data | ||
| ) |
Definition at line 1651 of file interface_phidgets_getdata_synchronous.cpp.
| void callback_opendialog_save | ( | GtkWidget * | widget, |
| gpointer | user_data | ||
| ) |
Definition at line 1518 of file interface_phidgets_getdata_synchronous.cpp.
| void callback_set_data | ( | GtkWidget * | widget, |
| gpointer | user_data | ||
| ) |
Function with the instructions for the configuration.
| Widget | and user data |
Definition at line 1487 of file interface_phidgets_getdata_synchronous.cpp.
| void delete_event | ( | GtkWidget * | window, |
| GdkEvent * | event, | ||
| gpointer | data | ||
| ) |
Function to detect that you are leaving main window.
| Widget | and user data |
Definition at line 987 of file interface_phidgets_getdata_synchronous.cpp.
| gboolean real_time_monitor | ( | gpointer | progressbar | ) |
Function to get the values in realtime for new config.
| Widget | and user data |
Definition at line 1790 of file interface_phidgets_getdata_synchronous.cpp.