Hekateros  3.4.3
RoadNarrows Robotics Robot Arm Project
ut-hekrobot.cxx File Reference

Unit test for libhekateros HekRobot top-level class. More...

#include <stdio.h>
#include <iostream>
#include <string>
#include <vector>
#include "rnr/rnrconfig.h"
#include "rnr/log.h"
#include "Hekateros/hekateros.h"
#include "Hekateros/hekTune.h"
#include "Hekateros/hekXmlCfg.h"
#include "Hekateros/hekXmlTune.h"
#include "Hekateros/hekTraj.h"
#include "Hekateros/hekUtils.h"
#include "Hekateros/hekRobot.h"
#include "gtest/gtest.h"

Go to the source code of this file.

Macros

#define BOT_CHK(conn)
 

Functions

void dbgPrintTunes (HekTunes &tunes)
 
static int testHekRobot ()
 Test HekRobot connected to hekateros. More...
 
 TEST (HEKROBOT, HEKROBOT)
 Test State Machine class. More...
 

Variables

static const char * TestMenu
 Test menu. More...
 

Detailed Description

Unit test for libhekateros HekRobot top-level class.

LastChangedDate
2014-10-10 12:43:53 -0600 (Fri, 10 Oct 2014)
Rev
3781
Author
Robin Knight (robin.nosp@m..kni.nosp@m.ght@r.nosp@m.oadn.nosp@m.arrow.nosp@m.s.co.nosp@m.m)

Definition in file ut-hekrobot.cxx.

Macro Definition Documentation

#define BOT_CHK (   conn)
Value:
if( pRobot == NULL ) \
{ \
printf("Error: Robot object does not exist - create first.\n"); \
continue; \
} \
else if( conn && !pRobot->isConnected() ) \
{ \
printf("Error: Robot not connected.\n"); \
continue; \
}