datamsg.h
来自「多机器人合作中的动态角色分配仿真算法是多机器人合作领域的一个比较著名的仿真软件」· C头文件 代码 · 共 39 行
H
39 行
//////////////////////////////////////////////////////////////////////
// MuRoS - Multi Robot Simulator
//
// Luiz Chaimowicz
// GRASP Lab. University of Pennsylvania
// VERLab - DCC - UFMG - Brasil
//
// DataMsg.h: interface for the CDataMsg class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(DATAMSG_H)
#define DATAMSG_H
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CDataMsg: public CObject
{
public:
CDataMsg();
virtual ~CDataMsg();
double m_tstamp; // time stamp
int m_from; // sender
int m_to; // receiver (0 if should be received by all robots)
double m_x; // robot pose (x,y,theta)
double m_y;
double m_theta;
double m_v; // robot velocities (linear and angular)
double m_w;
};
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?