/home/laradmin/lar/bases/phua_haptic/include/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 <types.h>
#include <boost/format.hpp>
#include <ros/package.h>
#include <string>
#include <vector>
#include <map>
#include <iostream>
#include <armadillo>
#include <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 BOTH_ARMS_SAVE_STRING   "ARM_BOTH "
#define LEFT_ARM_SAVE_STRING   "ARM_LEFT "
#define LEFT_D_LEG_SAVE_STRING   "D_LEG_LEFT "
#define POINTS_FILE_NAME_STRING   "demo_user_path_points.txt"
#define RIGHT_ARM_SAVE_STRING   "ARM_RIGHT "
#define RIGHT_D_LEG_SAVE_STRING   "D_LEG_RIGHT "
template<typename Type >
Type AvoidMinusZero (Type value)
 Function to remove minus signal from float, double or long double variables.
void UpdateForceBars (shared_vars_t *RobotVars)
 Function to update the main page force value bars.
void UpdateLabels (shared_vars_t *RobotVars)
 Function to update the main page joint value labels.
void UpdateStatusBar (shared_vars_t *RobotVars)
 Function to update the status bar.

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.


Define 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  )  [inline]

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

Parameters:
value value 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:
RobotVars structure 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:
RobotVars structure 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:
RobotVars structure defined in types.h with the joint values.
Returns:
none.

Definition at line 468 of file gtk_aux.cpp.

 All Classes Files Functions Variables Defines


phua_haptic
Author(s): Pedro Cruz
autogenerated on Wed Jul 23 04:33:52 2014