Defines | Functions | Variables
hek_teleop_main.cpp File Reference

The ROS Hekateros teleoperation node main. More...

#include <unistd.h>
#include <signal.h>
#include <string>
#include "ros/ros.h"
#include "rnr/rnrconfig.h"
#include "rnr/log.h"
#include "rnr/opts.h"
#include "hek_teleop.h"
Include dependency graph for hek_teleop_main.cpp:

Go to the source code of this file.

Defines

#define APP_EC_EXEC   4
 execution fatal error
#define APP_EC_INIT   2
 initialization fatal error
#define APP_EC_OK   0
 success
#define NO_SIGNAL   0
 no signal receieved value

Functions

int main (int argc, char *argv[])
 ROS Hekateros teleoperation node main.
static void sigHandler (int sig)
 Signal handler to allow graceful shutdown of ROS node.

Variables

static OptsInfo_T AppOptsInfo []
 Command line options information.
static OptsPgmInfo_T AppPgmInfo
 Program information.
const char * NodeName = "hek_teleop"
 this ROS node's name
static const PkgInfo_T PkgInfo
 The package information.
static int RcvSignal = NO_SIGNAL
 received 'gracefull' signal

Detailed Description

The ROS Hekateros teleoperation node main.

$LastChangedDate$ $Rev$

Author:
Daniel Packard (daniel@roadnarrows.com)
Robin Knight (robin.knight@roadnarrows.com)
Copyright:
(C) 2013-2014 RoadNarrows (http://www.roadnarrows.com)
All Rights Reserved

Definition in file hek_teleop_main.cpp.


Define Documentation

#define APP_EC_EXEC   4

execution fatal error

Definition at line 96 of file hek_teleop_main.cpp.

#define APP_EC_INIT   2

initialization fatal error

Definition at line 95 of file hek_teleop_main.cpp.

#define APP_EC_OK   0

success

Definition at line 94 of file hek_teleop_main.cpp.

#define NO_SIGNAL   0

no signal receieved value

Definition at line 98 of file hek_teleop_main.cpp.


Function Documentation

int main ( int  argc,
char *  argv[] 
)

ROS Hekateros teleoperation node main.

Parameters:
argcCommand-line argument count.
argvCommand-line argument list.
Returns:
Returns exit code.

Definition at line 185 of file hek_teleop_main.cpp.

static void sigHandler ( int  sig) [static]

Signal handler to allow graceful shutdown of ROS node.

Note:
This handler overrides the roscpp SIGINT handler.
Parameters:
sigSignal number.

Definition at line 169 of file hek_teleop_main.cpp.


Variable Documentation

OptsInfo_T AppOptsInfo[] [static]
Initial value:
{

  {NULL, }
}

Command line options information.

Definition at line 156 of file hek_teleop_main.cpp.

OptsPgmInfo_T AppPgmInfo [static]
Initial value:
{
  
  "[ROSOPTIONS]",

  
  "The %P ROS node provides ROS interfaces to the embedded Hekateros "
  "robotic manipulator.",
  
  
  "",
 
  
  NULL
}

Program information.

Definition at line 137 of file hek_teleop_main.cpp.

const char* NodeName = "hek_teleop"

this ROS node's name

Definition at line 103 of file hek_teleop_main.cpp.

const PkgInfo_T PkgInfo [static]
Initial value:
{
  NodeName,                       
  "1.1.0",                        
  "2014.03.18",                   
  "2014",                         
  NodeName,                       
  "Robin Knight, Daniel Packard", 
  "RoadNarrows LLC",              
  "(C) 2013-2014 RoadNarrows LLC" 
}

The package information.

For ROS nodes, RN package information is equivalent to this ROS application information.

Definition at line 122 of file hek_teleop_main.cpp.

int RcvSignal = NO_SIGNAL [static]

received 'gracefull' signal

Definition at line 104 of file hek_teleop_main.cpp.



hekateros_control
Author(s): Robin Knight , Daniel Packard
autogenerated on Mon Oct 6 2014 00:36:42