changeset 170:9ebb7a1db87d main

Integrate from upstream.
author Bob Cook <bob@bobcookdev.com>
date Tue, 01 Jan 2013 11:34:03 -0800
parents 61495fdd34c5 (current diff) 1b8810100ea9 (diff)
children cb2333758fb8
files
diffstat 3 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/main/robots/cantool/CanToolApp.cpp	Tue Jan 01 11:33:25 2013 -0800
+++ b/main/robots/cantool/CanToolApp.cpp	Tue Jan 01 11:34:03 2013 -0800
@@ -92,6 +92,7 @@
     Poco::Util::Application::initialize( self );
 
     m_commandDispatchTable[ "listen" ] = CommandListen;
+    m_commandDispatchTable[ "motors" ] = CommandMotors;
     m_commandDispatchTable[ "sonarfront" ] = CommandSonarFront;
 }
 
--- a/main/robots/cantool/Commands.h	Tue Jan 01 11:33:25 2013 -0800
+++ b/main/robots/cantool/Commands.h	Tue Jan 01 11:34:03 2013 -0800
@@ -36,6 +36,8 @@
 
 void CommandListen( const std::vector< std::string >& args );
 
+void CommandMotors( const std::vector< std::string >& args );
+
 void CommandSonarFront( const std::vector< std::string >& args );
 
 // ----------------------------------------------------------------------------------------
--- a/main/robots/cantool/jamfile	Tue Jan 01 11:33:25 2013 -0800
+++ b/main/robots/cantool/jamfile	Tue Jan 01 11:34:03 2013 -0800
@@ -37,7 +37,7 @@
 COMMON_SOURCES = 
     main.cpp
     CanToolApp.cpp
-    CmdSonarFront.cpp
+    CmdMotors.cpp CmdSonarFront.cpp
     packages.common.can.pkg
     packages.linux.can.pkg
     ;