heise online · c't · iX · Technology Review · Telepolis · mobil · Security · Netze · Open Source · heise resale · Autos · c't-TV · Jobs · Kiosk
Zum Inhalt
c't

c't Projekte - c't-Bot und c't-Sim - Mailinglisten

c't-Bot und c't-Sim


[Voriger (Datum)] [Nächster (Datum)] [Voriger (Thread)] [Nächster (Thread)]
[Nach Datum][Nach Thread]

RE: [ct-bot] FYI: kleines Update

Absender: Menzel, Frank IT-OO4
Datum: Mi, 19.12.2007 12:40:20
In-reply-to: <6679D1F9-3EE6-4EF2-A26B-A4EDB36758F9@xxxxxxxxxxxxxxx>
References: <6679D1F9-3EE6-4EF2-A26B-A4EDB36758F9@xxxxxxxxxxxxxxx>


Hallo Timo,

durch die Umleitung erfolgt ein undef auf BEHAVIOUR_DRIVE_DISTANCE_AVAILABLE in der h-Datei.
...
#else	// USE_GOTO_POS_DIST
/* wenn goto_pos() vorhanden ist und USE_GOTO_POS_DIST an, leiten wir alle drive_distance()-Aufurfe dorthin um */
#undef BEHAVIOUR_DRIVE_DISTANCE_AVAILABLE


Dieses Define wird aber abgefragt, damit mit der Taste 8 eben bot_drive_distance ausgeführt wird. So reagiert der bot bei 8 gar nicht mehr, es ei denn man kommentiert die ifdef-Abfrage drumrum aus...



Mit freundlichen Grüßen
Frank Menzel

-----Original Message-----
From: ct-bot-entwickler-bounces@xxxxxxxxxxxxxxxxx [mailto:ct-bot-entwickler-bounces@xxxxxxxxxxxxxxxxx] On Behalf Of Timo Sandmann
Sent: Monday, December 10, 2007 12:26 PM
To: Entwicklung rund Mailingliste c't-Bot
Subject: [ct-bot] FYI: kleines Update

CHANGELOG fuer c't-Bot
======================
* bot_goto_pos() erweitert, so dass es anstelle von  
bot_drive_distance() und bot_gotoxy() verwendet werden kann und  
Rueckwaertsgang ergaenzt.
* Ist bot_goto_pos() vorhanden, werden alle bot_drive_distance()- und  
bot_gotoxy()-Aufrufe dorthin umgeleitet. Moechte man das nicht, stellt  
man in include/bot-logic/behaviour_drive_distance.h /  
behaviour_gotoxy.h den Schalter USE_GOTO_POS_ aus.
* Neues Verhalten bot_goto_obstacle(distance) ergaenzt, das den Bot  
auf distance mm an ein erkanntes Hindernis heranfahren laesst (benutzt  
bot_goto_pos() und bot_measure_distance()).
* sign(x) Funktion in math_utils.h eingefuehrt, die das Vorzeichen  
eines Integers liefert.
* Bugfix in sensor.c (Distanzsensorauswertung)

_______________________________________________
ct-bot-entwickler Mailingliste
ct-bot-entwickler@xxxxxxxxxxxxxxxxx
http://www.heise.de/bin/newsletter/listinfo/ct-bot-entwickler


Confidentiality note:
The information in this email and any attachment may contain confidential and proprietary information of Heidelberger Druckmaschinen AG and/or its affiliates and may be privileged or otherwise protected from disclosure. If you are not the intended recipient, you are hereby notified that any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may cause liability. In case you have received this message due to an error in transmission, we kindly ask you to notify the sender immediately and to delete this email and any attachment from your system.




Copyright © 2007 Heise Zeitschriften Verlag Kritik, Anregungen bitte an c't-WWW Datenschutzhinweis   Impressum