From 40eff121b84df119c211a47962e05302c1ea11f7 Mon Sep 17 00:00:00 2001 From: svnhieber Date: Wed, 1 Dec 2010 21:09:18 +0000 Subject: [PATCH] reserve stdout for log output git-svn-id: https://svn.itm.uni-luebeck.de/wisebed/wiselib/trunk/pc_apps/roomba_tests@3663 f8795833-4959-0410-8ae9-8bcb0cfab428 --- battery_test.cc | 2 +- main.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/battery_test.cc b/battery_test.cc index f5fb28f..5ee5807 100644 --- a/battery_test.cc +++ b/battery_test.cc @@ -86,7 +86,7 @@ int main(int argc, char ** argv) { roomba_uart.enable_serial_comm(); roomba.init(roomba_uart, timer, Roomba::BATTERY_AND_TEMPERATURE); - cout << "Got roomba at " << roomba_uart.address() << endl; + cerr << "Got roomba at " << roomba_uart.address() << endl; roomba.reset_distance(); roomba.reset_angle(); diff --git a/main.cc b/main.cc index 2bff299..ffe54bb 100644 --- a/main.cc +++ b/main.cc @@ -228,7 +228,7 @@ int main(int argc, char ** argv) { roomba.init(roomba_uart, timer, Roomba::POSITION | Roomba::BATTERY_AND_TEMPERATURE); - cout << "Got roomba at " << roomba_uart.address() << endl; + cerr << "Got roomba at " << roomba_uart.address() << endl; roomba.reset_distance(); roomba.reset_angle(); -- 2.20.1