gtk_aux.h File Reference

gtk_aux.h file for this module. Contains prototypes and includes. More...

#include <gtk/gtk.h>
#include <glib.h>
#include <phua_haptic/types.h>
#include <boost/format.hpp>
#include <ros/package.h>
#include <iostream>
#include <armadillo>
#include <phua_haptic/humanoid_control_functions.h>
Include dependency graph for gtk_aux.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

#define POINTS_FILE_NAME_STRING   "demo_user_path_points.txt"
 
#define RIGHT_ARM_SAVE_STRING   "ARM_RIGHT "
 
#define LEFT_ARM_SAVE_STRING   "ARM_LEFT "
 
#define BOTH_ARMS_SAVE_STRING   "ARM_BOTH "
 
#define LEFT_D_LEG_SAVE_STRING   "D_LEG_LEFT "
 
#define RIGHT_D_LEG_SAVE_STRING   "D_LEG_RIGHT "
 
void UpdateLabels (shared_vars_t *RobotVars)
 Function to update the main page joint value labels. More...
 
void UpdateForceBars (shared_vars_t *RobotVars)
 Function to update the main page force value bars. More...
 
void UpdateStatusBar (shared_vars_t *RobotVars)
 Function to update the status bar. More...
 
template<typename Type >
Type AvoidMinusZero (Type value)
 Function to remove minus signal from float, double or long double variables. More...
 

Detailed Description

gtk_aux.h file for this module. Contains prototypes and includes.

Author
pedro_cruz
Version
1.0
Date
16 May 2012

Definition in file gtk_aux.h.

Macro Definition Documentation

#define BOTH_ARMS_SAVE_STRING   "ARM_BOTH "

Definition at line 52 of file gtk_aux.h.

#define LEFT_ARM_SAVE_STRING   "ARM_LEFT "

Definition at line 51 of file gtk_aux.h.

#define LEFT_D_LEG_SAVE_STRING   "D_LEG_LEFT "

Definition at line 53 of file gtk_aux.h.

#define POINTS_FILE_NAME_STRING   "demo_user_path_points.txt"

Definition at line 48 of file gtk_aux.h.

#define RIGHT_ARM_SAVE_STRING   "ARM_RIGHT "

Definition at line 50 of file gtk_aux.h.

#define RIGHT_D_LEG_SAVE_STRING   "D_LEG_RIGHT "

Definition at line 54 of file gtk_aux.h.

Function Documentation

template<typename Type >
Type AvoidMinusZero ( Type  value)

Function to remove minus signal from float, double or long double variables.

Parameters
valuevalue to assess.
Returns
assessed value.

Definition at line 90 of file gtk_aux.h.

void UpdateForceBars ( shared_vars_t RobotVars)

Function to update the main page force value bars.

This function updates the main page progress bars with the current exerted force value.

Parameters
RobotVarsstructure defined in types.h with the joint values.
Returns
none.

Definition at line 413 of file gtk_aux.cpp.

void UpdateLabels ( shared_vars_t RobotVars)

Function to update the main page joint value labels.

This function updates the main page joint value labels with the current values.

Parameters
RobotVarsstructure defined in types.h with the joint values.
Returns
none.

Definition at line 36 of file gtk_aux.cpp.

void UpdateStatusBar ( shared_vars_t RobotVars)

Function to update the status bar.

This function updates the status bar with the calculation frequencies of the program.

Parameters
RobotVarsstructure defined in types.h with the joint values.
Returns
none.

Definition at line 468 of file gtk_aux.cpp.



phua_haptic
Author(s): Pedro Cruz
autogenerated on Mon Mar 2 2015 01:32:36