do_nothing.cc
Go to the documentation of this file.
00001 /*
00002  *  Navigator example controller
00003  *
00004  *  Copyright (C) 2007, Mickey Ristroph
00005  *
00006  *  License: Modified BSD Software License Agreement
00007  *
00008  *  $Id: do_nothing.cc 479 2010-08-27 01:16:11Z jack.oquin $
00009  */
00010 
00011 #include "navigator_internal.h"
00012 #include "Controller.h"
00013 #include "course.h"
00014 #include "do_nothing.h"
00015 
00016 DoNothing::DoNothing(Navigator *navptr, int _verbose):
00017   Controller(navptr, _verbose)
00018 {
00019 }
00020 
00021 DoNothing::~DoNothing()
00022 {
00023 }
00024 
00025 void DoNothing::configure(ConfigFile* cf, int section)
00026 {
00027 }
00028 
00029 Controller::result_t DoNothing::control(pilot_command_t &pcmd)
00030 {
00031   trace("do_nothing controller", pcmd);
00032   return OK;                            // always successful
00033 }
00034 
00035 // reset all subordinate controllers
00036 void DoNothing::reset(void)
00037 {
00038   trace_reset("DoNothing");
00039 }
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines


art_nav
Author(s): Austin Robot Technology, Jack O'Quin
autogenerated on Tue Sep 24 2013 10:42:11