资源简介
底层的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个文件信息
相关资源
- 触摸屏flash源代码,单点拖拽移动效果
- Spring Cloud微服务实战源代码
- MicoCANOpen很好的学习源代码,包括了
- Neo4jWeb应用代码
- 数据结构课程设计之哈夫曼树的建立
- C Primer Plus 第五版 代码
- 基于视觉的道路识别技术的智能小车
- SRAM读写操作,VerilogHDL代码
- IPv4协议收发实验报告含代码
- 触摸屏驱动代码的实现
- SVT原始代码
- 8点算法计算基础矩阵计算机视觉Ope
- 深度学习之TensorFlow 入门、原理与进阶
- 裂纹扩展有限元代码
- 新闻发布系统源码(代码简单)
- LDPC源代码
- 基于mpu6050传感器的计步器代码
- 中国象棋代码及设计说明书和用户手
- 基于bmp085气压传感器制作的大气压强
- DSP MP3解码代码
- Tcp全双工通信测试代码
- 考勤管理系统原代码和说明文件
- 经典定位算法仿真代码
- Arduino驱动四线电阻触摸屏代码
- libcoap-4.0.1
- IDW反距离加权插值法,源代码
- 微信小程序_模仿面包旅行APP源代码
- 微信小程序_火车票查询源代码
- 微信小程序_HiApp聊天工具源代码
- 微信小程序_模仿共享单车ofo源代码
评论
共有 条评论