亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? nclient.h

?? 卡內(nèi)基梅隆大學(xué)(CMU)開發(fā)的移動機(jī)器人控制開發(fā)軟件包。可對多種機(jī)器人進(jìn)行控制
?? H
字號:
 /********************************************************* * * This source code is part of the Carnegie Mellon Robot * Navigation Toolkit (CARMEN) * * CARMEN Copyright (c) 2002 Michael Montemerlo, Nicholas * Roy, Sebastian Thrun, Dirk Haehnel, Cyrill Stachniss, * and Jared Glover * * CARMEN is free software; you can redistribute it and/or  * modify it under the terms of the GNU General Public  * License as published by the Free Software Foundation;  * either version 2 of the License, or (at your option) * any later version. * * CARMEN is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied  * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR * PURPOSE.  See the GNU General Public License for more  * details. * * You should have received a copy of the GNU General  * Public License along with CARMEN; if not, write to the * Free Software Foundation, Inc., 59 Temple Place,  * Suite 330, Boston, MA  02111-1307 USA * ********************************************************//* /include/Nclient.h * * Nomadic client library * Public declarations * *                             ** COPYRIGHT NOTICE ** * * Copyright (c) 1996, Nomadic Technologies, Inc. * * The contents of this  file is copyrighted by  Nomadic Technologies, * Inc, and is protected by United States copyright laws. You may make * as  many copies   of  the software   as  deemed  necessary  for the * effective programming of the Nomad  series robots provided that all * copyright and other proprietary   notices are reproduced  in  their * entirety. * */#ifndef _N_INCLUDE_CLIENT_H_#define _N_INCLUDE_CLIENT_H_#include <limits.h>/* --- Symbols ------------------------------------------------------------- *//* General */#define N_IGNORE                                Nan#ifndef BOOL#define BOOL unsigned char#endif#ifndef FALSE#define FALSE ((BOOL)0)#endif#ifndef TRUE#define TRUE  (!FALSE)#endif#define N_MAX_HOSTNAME_LENGTH   80/* Measurement types for 'Unit' */#define N_MILLIMETERS   'm'#define N_SIXTEENTHS    'x'/* Error codes for user functions. */#define N_NO_ERROR                       0#define N_UNKNOWN_ERROR                 -1#define N_MISSING_ARGUMENT              -2#define N_INVALID_ARGUMENT              -3#define N_COMMAND_NOT_FOUND             -4#define N_ROBOT_NOT_FOUND               -5#define N_CONNECTION_FAILED             -6#define N_ABNORMAL_ROBOT_POSITION       -7#define N_TIMEOUT_ERROR                 -8#define N_WRONG_OS_ERROR                -9#define N_AXES_NOT_READY                -10#define N_OUT_OF_MEMORY                 -11#define N_UNSUPPORTED                   -12#define N_SENSOR_NOT_READY              -13#define N_DEVICE_NOT_FOUND              -14#define N_UNINITIALIZED                 -15#define CONNECTION_EXISTS                -16/* Robot types, used in the RobotType field of the N_RobotState structure. */#define N_INVALID_ROBOT_TYPE    '?'#define N_N200_ROBOT_TYPE       'n'#define N_XR4000_ROBOT_TYPE     'x'/* --- Axes --- *//* N_AxisSet.Status bit masks. */#define N_AXES_READY         0#define N_ESTOP_DOWN         1#define N_JOYSTICK_IN_USE    2#define N_MOTION_ERROR       4/* Array bound for the Axis array field of the N_AxisSet structure. */#define N_MAX_AXIS_COUNT     4/* Indices into the Axis array field of the N_AxesSet structure for * XR4000 series robots. */#define N_XTRANSLATION       0#define N_YTRANSLATION       1#define N_ROTATION           2/* Axis modes. */#define N_AXIS_NONE                  0#define N_AXIS_ACCELERATION          1#define N_AXIS_POSITION_RELATIVE     2#define N_AXIS_POSITION_ABSOLUTE     3#define N_AXIS_VELOCITY              4#define N_AXIS_STOP                  5/* --- Sonars --- *//* Array bound for the SonarSet array field of the N_SonarController * structure. */#define N_MAX_SONAR_SET_COUNT     6/* Array bound for the Sonar array field of the N_SonarSet structure. */#define N_MAX_SONAR_COUNT         16/* Terminator for sonar set firing orders, used in the FiringOrder array field * of the N_SonarSet structure. */#define N_END_SONAR_FIRING_ORDER  255/* Value which indicates that a sonar timed out */#define N_SONAR_TIMEOUT           LONG_MAX/* --- Infrareds --- *//* Array bound for the InfraredSet array field of the N_InfraredController * structure */#define N_MAX_INFRARED_SET_COUNT  6/* Array bound for the Infrared array field of the N_InfraredSet structure. */#define N_MAX_INFRARED_COUNT      16/* Terminator for infrared set firing orders, used in the FiringOrder array * field of the N_InfraredSet structure. */#define N_END_INFRARED_FIRING_ORDER     255/* --- Bumpers --- *//* Array bound for the BumperSet array field of the N_BumperController * structure. */#define N_MAX_BUMPER_SET_COUNT    6/* Array bound for the Bumper array field of the N_BumperSet structure. */#define N_MAX_BUMPER_COUNT        12/* Possible bumper states, used in the Reading field of the N_Bumper * strucutre. */#define N_BUMPER_NONE 0x0#define N_BUMPER_LOW  0x1#define N_BUMPER_HIGH 0x2/* --- Batteries --- *//* Array bound on the Battery field of the N_BatterySet structure. */#define N_MAX_BATTERY_COUNT       4/* Fields declared N_CONST are not meant to be modified by clients of this * API and will never be changed once initialized by N_ConnectRobot().  Do * not modify this definition. */#ifndef N_CONST#ifdef __cplusplus#define N_CONST#else#define N_CONST #endif#endif/* --- Data structures ----------------------------------------------------- *//* --- Integrated configuration --- */struct N_Integrator{  BOOL DataActive;  BOOL TimeStampActive;  long x;  long y;  long Steering;  long Rotation;  unsigned long TimeStamp;};/* --- Axes --- */struct N_Axis {  BOOL DataActive;       /* Set to FALSE to make N_GetAxes ignore this axis. */  BOOL TimeStampActive;  /* Set to TRUE to get time stamps with the data. */  BOOL Update;           /* Set to TRUE to send this axis to the robot. */  unsigned long TimeStamp;  /* the Mode parameter describes how the settable parameters should be   * interpreted when N_SetAxes is called, and is not retrieved by   * N_GetAxes */  char Mode;  /* settable/retrievable parameters */  long DesiredPosition;            /* Ignored for velocity moves. */  long DesiredSpeed;               /* Scalar, greater than zero. */  long Acceleration;               /* Scalar, greater than zero. */  /* retrievable parameters */  long TrajectoryPosition;         /* Instantaneous goal position. */  long TrajectoryVelocity;         /* Instantaneous goal velocity. */  long ActualPosition;             /* Current position. */  long ActualVelocity;             /* Current velocity. */  BOOL InProgress;                 /* FALSE if no move is being executed. */};struct N_AxisSet{  /* The global flag determines if the XR4000's X and Y axis use the global   * reference frame (the x axis and y axis are determined by the robot's   * orientation when it was zeroed), or the local reference frame (where   * the y axis always points in the same direction as the front of the   * robot).  This flag does not affect the IntegratedConfiguration   * values.  Global mode is only supported by the XR4000. */  BOOL Global;  /* The status field can be used to check for unusual conditions in the   * motor controller (e.g. e-stop down or joystick in use). */  unsigned char Status;  N_CONST unsigned int AxisCount;  struct N_Axis Axis[N_MAX_AXIS_COUNT];};/* --- Joystick --- */struct N_Joystick{  double X;  double Y;  double Theta;  BOOL   ButtonA;  BOOL   ButtonB;  BOOL   ButtonC;};/* --- Sonars ---- */struct N_Sonar{  long Reading;  unsigned long TimeStamp;};struct N_SonarSet{  unsigned int FiringOrder[N_MAX_SONAR_COUNT + 1];  long FiringDelay;  long BlankingInterval;  BOOL DataActive;  BOOL TimeStampActive;  N_CONST unsigned int SonarCount;  struct N_Sonar Sonar[N_MAX_SONAR_COUNT];};struct N_SonarController{  N_CONST unsigned int SonarSetCount;  struct N_SonarSet SonarSet[N_MAX_SONAR_SET_COUNT];  BOOL SonarPaused;};/* --- Infrareds --- */struct N_Infrared{  long Reading;  unsigned long TimeStamp;};struct N_InfraredSet{  BOOL DataActive;  BOOL TimeStampActive;  N_CONST unsigned int InfraredCount;  struct N_Infrared Infrared[N_MAX_INFRARED_COUNT];};struct N_InfraredController     {  BOOL InfraredPaused;  N_CONST unsigned int InfraredSetCount;  struct N_InfraredSet InfraredSet[N_MAX_INFRARED_SET_COUNT];};/* --- Bumpers --- */struct N_Bumper{  char Reading;  unsigned long TimeStamp;};struct N_BumperSet{  BOOL DataActive;  BOOL TimeStampActive;  N_CONST unsigned int BumperCount;  struct N_Bumper Bumper[N_MAX_BUMPER_COUNT];};struct N_BumperController{  N_CONST unsigned int BumperSetCount;  struct N_BumperSet BumperSet[N_MAX_BUMPER_SET_COUNT];};/* --- Batteries --- */struct N_Battery{  long Voltage;};struct N_BatterySet{  N_CONST unsigned int BatteryCount;  struct N_Battery Battery[N_MAX_BATTERY_COUNT];  BOOL DataActive;};/* --- Timers --- */struct N_Timer{  long Timeout;         /* Limp timeout value in msec. */  unsigned long Time;   /* Current timestamp in msec. */};/* --- The main state structure -------------------------------------------- */struct N_RobotState{  N_CONST long RobotID;  N_CONST char RobotType;  struct N_Integrator Integrator;  struct N_AxisSet AxisSet;  struct N_Joystick Joystick;  struct N_SonarController SonarController;  struct N_InfraredController InfraredController;  struct N_BumperController BumperController;   struct N_BatterySet BatterySet;   struct N_Timer Timer;};typedef void (*N_ErrorFunc)(long RobotID);/* --- User functions ------------------------------------------------------ */#ifdef __cplusplusextern "C"{#endif/* Initialize the client library. */int N_InitializeClient(const char *scheduler_hostname,		       unsigned short scheduler_socket);/* Connect and disconnect from a robot. */int N_ConnectRobot(long RobotID);int N_DisconnectRobot(long RobotID);/* Retrieve a pointer to a robot's state structure. */struct N_RobotState *N_GetRobotState(long RobotID);/* Move the robot and retrieve axis configurations. */int N_SetAxes(long RobotID);int N_GetAxes(long RobotID);/* Move the lift and retrieve lift axis configurations. */int N_SetLift(long RobotID);int N_GetLift(long RobotID);int N_DeployLift(long RobotID);int N_RetractLift(long RobotID);int N_ZeroLift(long RobotID, BOOL Force);/* Move the robot as though it were being controlled by a joystick. */int N_SetJoystick(long RobotID);/* Set and retrieve the current axis limp timeout value. */int N_SetTimer(long RobotID);int N_GetTimer(long RobotID);/* Configure sonars and retrieve the current configuration; retrieve the * latest sonar readings. */int N_SetSonarConfiguration(long RobotID);int N_GetSonarConfiguration(long RobotID);int N_GetSonar(long RobotID);/* Configure infrareds and retrieve the current configuration; retrieve the * latest infrared readings. */int N_SetInfraredConfiguration(long RobotID);int N_GetInfraredConfiguration(long RobotID);int N_GetInfrared(long RobotID);/* Retrieve the latest bumper readings. */int N_GetBumper(long RobotID);/* Retrieve the latest battery state. */int N_GetBattery(long RobotID);/* Set and retrieve the current integrator values. */int N_SetIntegratedConfiguration(long RobotID);int N_GetIntegratedConfiguration(long RobotID);/* Get all "DataActive" sensor readings at once. */int N_GetState(long RobotID);/* Send a text string to the speech system. */int N_Speak(long RobotID, const char *Text);#ifdef __cplusplus}#endif#endif /* _N_INCLUDE_CLIENT_H_ */

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产成a人亚洲精| 午夜久久久久久久久| 国产美女娇喘av呻吟久久| 日韩一二三区视频| 美女诱惑一区二区| 久久久久久电影| 国产成人av资源| 日韩美女视频一区| 欧美日韩亚洲综合| 美日韩一区二区| 日本一区二区免费在线观看视频| 春色校园综合激情亚洲| 亚洲激情五月婷婷| 在线综合视频播放| 蜜桃一区二区三区在线| 久久婷婷久久一区二区三区| 成人av免费在线观看| 香蕉久久夜色精品国产使用方法| 91精品国产91久久久久久最新毛片| 国产综合色视频| 最近日韩中文字幕| 欧美一区二区三区在线观看| 风流少妇一区二区| 亚洲午夜免费视频| 国产日韩精品一区二区三区| 在线观看91精品国产入口| 狂野欧美性猛交blacked| 亚洲欧洲精品一区二区三区不卡| 欧美三级蜜桃2在线观看| 国产麻豆视频精品| 亚洲国产美女搞黄色| 精品粉嫩超白一线天av| 色综合久久久久综合体桃花网| 青青草精品视频| 亚洲色图在线播放| 精品粉嫩aⅴ一区二区三区四区| 91色|porny| 国产成人精品免费网站| 爽爽淫人综合网网站| 国产精品色噜噜| 日韩一级欧美一级| 欧美日韩在线一区二区| 国产高清不卡二三区| 亚洲国产精品一区二区www在线| 久久欧美中文字幕| 欧美一卡二卡三卡| 欧美色老头old∨ideo| 丁香婷婷综合色啪| 激情伊人五月天久久综合| 一区二区三区在线影院| 中文字幕电影一区| 欧美不卡一区二区| 欧美日韩www| 色偷偷一区二区三区| 成人久久久精品乱码一区二区三区| 日韩高清一区二区| 亚洲成人精品影院| 亚洲精品国产a| 中文字幕中文乱码欧美一区二区| 2023国产一二三区日本精品2022| 在线成人小视频| 色狠狠一区二区三区香蕉| 东方aⅴ免费观看久久av| 国产一区二区在线观看视频| 日本sm残虐另类| 日韩主播视频在线| 亚洲成人av福利| 午夜婷婷国产麻豆精品| 亚洲成人免费在线观看| 亚洲一区二区精品久久av| 亚洲激情综合网| 亚洲一区二区三区影院| 一级中文字幕一区二区| 日韩美女视频19| 亚洲男人的天堂在线aⅴ视频 | 欧美日韩免费电影| 色8久久人人97超碰香蕉987| 色香蕉成人二区免费| 色成人在线视频| 在线免费观看不卡av| 在线观看亚洲成人| 欧美日精品一区视频| 欧美日韩精品电影| 91精品国产综合久久久蜜臀图片| 在线播放/欧美激情| 欧美一级xxx| 337p日本欧洲亚洲大胆精品| 国产亚洲欧美日韩在线一区| 国产亚洲成aⅴ人片在线观看| 国产精品久久一卡二卡| 一区二区三区在线视频免费观看| 亚洲午夜免费电影| 麻豆一区二区三区| 国产aⅴ综合色| 日本高清不卡在线观看| 在线播放91灌醉迷j高跟美女| 欧美一级在线视频| 欧美国产精品一区二区三区| 中文字幕中文字幕一区| 亚洲成av人片在线观看无码| 美女视频黄a大片欧美| 国产经典欧美精品| 日本久久电影网| 日韩女优视频免费观看| 中文字幕va一区二区三区| 亚洲图片欧美视频| 久久99精品国产麻豆婷婷| 国产成人小视频| 91福利在线导航| 精品久久久久久久久久久久久久久| 中文无字幕一区二区三区| 一区二区三区日韩| 久久99国产精品麻豆| 91免费看`日韩一区二区| 欧美区视频在线观看| 久久网这里都是精品| 一区二区三区四区国产精品| 麻豆成人91精品二区三区| 成人avav在线| 欧美成人福利视频| 一区二区三区免费在线观看| 久久av资源网| 91国产视频在线观看| 久久精品一区二区三区不卡牛牛| 玉米视频成人免费看| 精品一区二区免费在线观看| 欧洲精品在线观看| 国产日本一区二区| 蜜桃av一区二区三区| 97久久超碰国产精品| 精品三级在线看| 亚洲综合999| bt欧美亚洲午夜电影天堂| 日韩一区二区在线免费观看| 亚洲裸体xxx| 国产精品一区二区三区四区| 欧美日韩一区二区欧美激情| 国产精品丝袜一区| 久久99久久99| 欧美一区二区三区免费视频| 亚洲欧美经典视频| 成人av在线电影| 久久久蜜臀国产一区二区| 日韩黄色小视频| 欧美在线影院一区二区| 国产精品久久久久影院色老大| 激情综合色播激情啊| 日韩欧美一级精品久久| 亚洲成a人片在线不卡一二三区| 99国产精品久久| 日本一二三四高清不卡| 国产精品中文字幕日韩精品| 欧美一区欧美二区| 水野朝阳av一区二区三区| 欧美视频三区在线播放| 亚洲精品国产一区二区三区四区在线| www.性欧美| 国产精品网站导航| 风间由美性色一区二区三区| 久久久三级国产网站| 精品一区二区三区在线播放视频 | 亚洲欧洲国产日韩| 国产91清纯白嫩初高中在线观看 | 99综合电影在线视频| 国产精品欧美久久久久一区二区| 国产精品一区2区| 亚洲国产精品激情在线观看| 国产老妇另类xxxxx| 国产网站一区二区三区| 国产91高潮流白浆在线麻豆 | 97精品超碰一区二区三区| 国产精品天天摸av网| 国产99久久久精品| 中文字幕一区在线观看| 99精品偷自拍| 亚洲综合丝袜美腿| 欧美欧美欧美欧美| 免费成人深夜小野草| 欧美精品一区二区三区一线天视频| 狠狠色狠狠色综合| 国产精品丝袜91| 欧美在线不卡视频| 午夜伊人狠狠久久| 日韩精品中文字幕一区| 国产在线精品免费| 国产精品久久久久久久蜜臀| 91色视频在线| 日韩福利电影在线观看| 精品日韩欧美在线| 不卡av在线网| 亚洲福中文字幕伊人影院| 日韩三级在线观看| 国产不卡在线一区| 亚洲欧美另类小说| 日韩欧美亚洲另类制服综合在线| 国产精品亚洲成人| 亚洲一区二区三区四区五区黄| 日韩你懂的在线观看| 成人自拍视频在线观看| 亚洲第一主播视频|