资源简介
底层的UVA 代码,适合与robocup的初学者,基本上是接触robocup的必学代码!

代码片段和文件信息
/*
Copyright (c) 2000-2003 Jelle Kok University of Amsterdam
All rights reserved.
Redistribution and use in source and binary forms with or without
modification are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice this
list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
3. Neither the name of the University of Amsterdam nor the names of its
contributors may be used to endorse or promote products derived from this
software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS“
AND ANY EXPRESS OR IMPLIED WARRANTIES INCLUDING BUT NOT LIMITED TO THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT INDIRECT INCIDENTAL SPECIAL EXEMPLARY OR CONSEQUENTIAL
DAMAGES (INCLUDING BUT NOT LIMITED TO PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE DATA OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY WHETHER IN CONTRACT STRICT LIABILITY
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
/*! \file ActHandler.cpp
File: ActHandler.cpp
Project: Robocup Soccer Simulation Team: UvA Trilearn
Authors: Jelle Kok
Created: 28/11/2000
Last Revision: $ID$
Contents: This file contains the class definitions for the
ActHandler that handles the outgoing messages to the
server.
Changes
Date Author Comment
28/11/2000 Jelle Kok Initial version created
*/
#include “ActHandler.h“
#ifndef WIN32
#include // poll
#include // poll
#endif
#include // SIGALARM
ActHandler* ACT; /*!< Pointer to ActHandler class needed by signal handler */
/*! This function is executed when a SIGALARM singal arrives. The time this
signal comes is defined by the SenseHandler (depending on incoming
sense_body messages). When the signal arrives the commands currently
stored in the queue of the ActHandler are send to the server (using the
method sendCommands).
\param i is ignored */
#ifdef WIN32
extern void CALLBACK sigalarmHandler(UINT UINT DWORD DWORD DWORD )
#else
extern void sigalarmHandler( int i )
#endif
{
Log.logFromSignal( 2 “alarm handler!!“ );
ACT->sendCommands( );
}
/*! This is the constructor for the ActHandler class. All the variables are
initialized.
\param c Connection that is connected
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2009-05-04 22:07 trilearn_ba
文件 236159 2003-10-30 20:55 trilearn_ba
文件 660 2003-10-29 20:36 trilearn_ba
文件 126 2008-12-22 19:31 trilearn_ba
文件 41362 2003-06-03 04:54 trilearn_ba
文件 4046 2008-12-22 18:30 trilearn_ba
文件 3690 2003-10-30 20:56 trilearn_ba
文件 46513 2008-12-22 18:40 trilearn_ba
文件 39342 2008-12-22 18:40 trilearn_ba
文件 29973 2003-06-03 04:54 trilearn_ba
文件 659879 2003-10-30 20:55 trilearn_ba
文件 818 2003-10-30 20:55 trilearn_ba
文件 17992 2003-06-03 04:36 trilearn_ba
文件 13303 2003-06-03 04:36 trilearn_ba
文件 9240 2003-06-03 04:36 trilearn_ba
文件 7122 2003-06-03 04:36 trilearn_ba
文件 200304 2008-12-22 18:39 trilearn_ba
文件 180182 2003-06-03 04:54 trilearn_ba
文件 17354 2008-12-22 18:40 trilearn_ba
文件 499 2003-10-30 20:21 trilearn_ba
文件 17200 2003-10-30 20:55 trilearn_ba
文件 10270 2003-06-03 04:36 trilearn_ba
文件 1988 2003-06-03 04:36 trilearn_ba
文件 105 2008-12-22 19:32 trilearn_ba
文件 21256 2008-12-22 19:37 trilearn_ba
目录 0 2009-05-04 22:07 trilearn_ba
目录 0 2009-05-04 22:07 trilearn_ba
文件 13474 2008-12-22 19:54 trilearn_ba
文件 12976 2008-12-22 19:54 trilearn_ba
文件 12875 2008-12-22 19:54 trilearn_ba
文件 12158 2008-12-22 19:54 trilearn_ba
............此处省略70个文件信息
相关资源
- bp神经网络源代码,可直接运行
- 随机森林R语言代码
- 计算机图形学 边填充算法实现代码
- 直流无刷电机方波驱动 stm32 例程代码
- 仿知乎界面小程序源代码
- 贪吃蛇源代码.fla
- 周立功开发板ProASIC3实验-syn_FIFO代码
- IMX385驱动代码.zip
- dotnet 写字板 实验 源代码 不好请要不
- 图像二维小波变换的实现源代码
- 八三编码器设计 VHDL代码 简单,包附
- linux应用层的华容道游戏源代码
- 交通咨询模拟系统完整代码
- http请求状态代码
- 数值分析所有实验代码
- 网上拍卖系统完整源代码
- 音乐代码转换软件 单片机编程时用
- CSMA/CD等动画演示加源代码
- silicon lab公司的收音IC SI47XX全套开发工
- 用51单片机实现G代码翻译
- 合同管理系统的源代码(附数据库)
- 用VC 编写的仿QQ聊天室程序源代码
- web班级网站设计代码
- 38k单片机红外发送代码、keil
- STM32F103 串口程序(完整版)
- 网络唤醒代码
- VPC3_DPV1源代码,Profibus
- PB做的托盘程序(最小化后在左下角显
- RSA算法源码
- ubuntu9.10 可加载内核模块和字符设备驱
评论
共有 条评论