Laelaps  2.3.5
RoadNarrows Robotics Small Outdoor Mobile Robot Project
laeWd.cxx File Reference

Laelaps WatchDog software class implementation. More...

#include <sys/types.h>
#include <unistd.h>
#include <pthread.h>
#include <string>
#include "rnr/rnrconfig.h"
#include "rnr/log.h"
#include "rnr/appkit/Time.h"
#include "Laelaps/laelaps.h"
#include "Laelaps/laeUtils.h"
#include "Laelaps/laeDesc.h"
#include "Laelaps/laeTune.h"
#include "Laelaps/laeDb.h"
#include "Laelaps/laeI2C.h"
#include "Laelaps/laeWatchDog.h"
#include "Laelaps/laeWd.h"

Go to the source code of this file.

Macros

#define WD_DBG_BUF(cmd, buf, len, fmt, ...)
 < debug switch More...
 

Variables

static uint_t FWVER_UNKNOWN = 0
 unknown firmware version
 
static long TStd = 100
 standard wait time between write_read (usec)
 
static long TMc = 250000
 motor controller power up wait time (usec)
 

Detailed Description

Laelaps WatchDog software class implementation.

The class provides the interface between the library software and the Arduino sub-processor.

The Wd class is safe multi-threading.

Author
Robin Knight (robin.nosp@m..kni.nosp@m.ght@r.nosp@m.oadn.nosp@m.arrow.nosp@m.s.co.nosp@m.m)
Copyright
© 2015-2017. RoadNarrows LLC.
http://www.roadnarrows.com
All Rights Reserved

Definition in file laeWd.cxx.

Macro Definition Documentation

#define WD_DBG_BUF (   cmd,
  buf,
  len,
  fmt,
  ... 
)

< debug switch

Debug print disabled.

Definition at line 96 of file laeWd.cxx.

Referenced by laelaps::LaeWd::cmdReadAPin(), and laelaps::LaeWd::cmdReadDPin().