controlmsg.h

来自「多机器人合作中的动态角色分配仿真算法是多机器人合作领域的一个比较著名的仿真软件」· C头文件 代码 · 共 37 行

H
37
字号
//////////////////////////////////////////////////////////////////////
// MuRoS - Multi Robot Simulator
//
// Luiz Chaimowicz
// GRASP Lab. University of Pennsylvania
// VERLab - DCC - UFMG - Brasil
//
// ControlMsg.h: interface for the CControlMsg class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(CONTROLMSG_H)
#define CONTROLMSG_H

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

class CControlMsg : public CObject  
{
public:
	CControlMsg();
	virtual ~CControlMsg();

	double m_tstamp;	// time stamp
	int m_from;			// sender
	int m_to;			// receiver (0 if the message is for all robots)
	int m_code;			// specific control code of the message
	double m_extra;		// field for some extra information

	double m_x;			// position x,y of the robot. Used in some situations
	double m_y;

};

#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?