00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039 #include <RmpConfigurationCommand.h>
00040
00044 namespace segway
00045 {
00046 const RmpConfigurationCommand<uint32_t> RmpConfigurationCommandSet::NONE(CONFIG_CMD_ID_NONE, 0, 0, NO_FEEDBACK);
00047 const RmpConfigurationCommand<float> RmpConfigurationCommandSet::SET_MAXIMUM_VELOCITY(CONFIG_CMD_ID_SET_MAXIMUM_VELOCITY, 0.0, 8.047, FRAM_VEL_LIMIT_MPS);
00048 const RmpConfigurationCommand<float> RmpConfigurationCommandSet::SET_MAXIMUM_ACCELERATION(CONFIG_CMD_ID_SET_MAXIMUM_ACCELERATION, 0.0, 7.848, FRAM_ACCEL_LIMIT_MPS2);
00049 const RmpConfigurationCommand<float> RmpConfigurationCommandSet::SET_MAXIMUM_DECELERATION(CONFIG_CMD_ID_SET_MAXIMUM_DECELERATION, 0.0, 7.848, FRAM_DECEL_LIMIT_MPS2);
00050 const RmpConfigurationCommand<float> RmpConfigurationCommandSet::SET_MAXIMUM_DTZ_DECEL_RATE(CONFIG_CMD_ID_SET_DTZ_DECEL_RATE, 0.0, 7.848, FRAM_DTZ_DECEL_LIMIT_MPS2);
00051 const RmpConfigurationCommand<float> RmpConfigurationCommandSet::SET_COASTDOWN_ACCEL(CONFIG_CMD_ID_SET_COASTDOAN_ACCEL, 0.0, 1.961, FRAM_COASTDOWN_DECEL_MPS2);
00052 const RmpConfigurationCommand<float> RmpConfigurationCommandSet::SET_MAXIMUM_TURN_RATE(CONFIG_CMD_ID_SET_MAXIMUM_TURN_RATE, 0.0, 4.5, FRAM_YAW_RATE_LIMIT_RPS);
00053 const RmpConfigurationCommand<float> RmpConfigurationCommandSet::SET_MAXIMUM_TURN_ACCEL(CONFIG_CMD_ID_SET_MAXIMUM_TURN_ACCEL, 0.0, 28.274, FRAM_YAW_ACCEL_LIMIT_RPS2);
00054 const RmpConfigurationCommand<float> RmpConfigurationCommandSet::SET_TIRE_DIAMETER(CONFIG_CMD_ID_SET_TIRE_DIAMETER, 0.3556, 1.0, FRAM_TIRE_DIAMETER_M);
00055 const RmpConfigurationCommand<float> RmpConfigurationCommandSet::SET_WHEEL_BASE_LENGTH(CONFIG_CMD_ID_SET_WHEEL_BASE_LENGTH, 0.4142, 1.0, FRAM_WHEEL_BASE_LENGTH_M);
00056 const RmpConfigurationCommand<float> RmpConfigurationCommandSet::SET_WHEEL_TRACK_WIDTH(CONFIG_CMD_ID_SET_WHEEL_TRACK_WIDTH, 0.506476, 1.0, FRAM_WHEEL_TRACK_WIDTH_M);
00057 const RmpConfigurationCommand<float> RmpConfigurationCommandSet::SET_TRANSMISSION_RATIO(CONFIG_CMD_ID_SET_TRANSMISSION_RATIO, 1.0, 200.0, FRAM_TRANSMISSION_RATIO);
00058 const RmpConfigurationCommand<uint32_t> RmpConfigurationCommandSet::SET_INPUT_CONFIG_BITMAP(CONFIG_CMD_ID_SET_INPUT_CONFIG_BITMAP, 0x00000000, 0x0000000F, FRAM_CONFIG_BITMAP);
00059 const RmpConfigurationCommand<uint32_t> RmpConfigurationCommandSet::SET_ETH_IP_ADDRESS(CONFIG_CMD_ID_SET_ETH_IP_ADDRESS, 0x00000000, 0xFFFFFFFF, FRAM_ETH_IP_ADDRESS);
00060 const RmpConfigurationCommand<uint32_t> RmpConfigurationCommandSet::SET_ETH_PORT_ADDRESS(CONFIG_CMD_ID_SET_ETH_PORT_NUMBER, 0x00000000, 0x0000FFFF, FRAM_ETH_PORT_NUMBER);
00061 const RmpConfigurationCommand<uint32_t> RmpConfigurationCommandSet::SET_ETH_SUBNET_MASK(CONFIG_CMD_ID_SET_ETH_SUBNET_MASK, 0x00000000, 0xFFFFFFFF, FRAM_ETH_SUBNET_MASK);
00062 const RmpConfigurationCommand<uint32_t> RmpConfigurationCommandSet::SET_ETH_GATEWAY(CONFIG_CMD_ID_SET_GATEWAY, 0x00000000, 0xFFFFFFFF, FRAM_ETH_GATEWAY);
00063 const RmpConfigurationCommand<uint32_t> RmpConfigurationCommandSet::SET_USER_FB_1_BITMAP(CONFIG_CMD_ID_SET_USER_FB_1_BITMAP, 0x00000000, 0xFFFFFFFF, INVALID_FEEDBACK);
00064 const RmpConfigurationCommand<uint32_t> RmpConfigurationCommandSet::SET_USER_FB_2_BITMAP(CONFIG_CMD_ID_SET_USER_FB_2_BITMAP, 0x00000000, 0xFFFFFFFF, INVALID_FEEDBACK);
00065 const RmpConfigurationCommand<uint32_t> RmpConfigurationCommandSet::SET_USER_FB_3_BITMAP(CONFIG_CMD_ID_SET_USER_FB_3_BITMAP, 0x00000000, 0xFFFFFFFF, INVALID_FEEDBACK);
00066 const RmpConfigurationCommand<uint32_t> RmpConfigurationCommandSet::SET_USER_FB_4_BITMAP(CONFIG_CMD_ID_SET_USER_FB_4_BITMAP, 0x00000000, 0x00000000, INVALID_FEEDBACK);
00067 const RmpConfigurationCommand<uint32_t> RmpConfigurationCommandSet::FORCE_CONFIG_FEEDBACK_BITMAPS(CONFIG_CMD_ID_FORCE_CONFIG_FEEDBACK_BITMAPS, 0, 1, INVALID_FEEDBACK);
00068 const RmpConfigurationCommand<uint32_t> RmpConfigurationCommandSet::SET_AUDIO_COMMAND(CONFIG_CMD_ID_SET_AUDIO_COMMAND, 0, 16, NO_FEEDBACK);
00069 const RmpConfigurationCommand<uint32_t> RmpConfigurationCommandSet::SET_OPERATIONAL_MODE(CONFIG_CMD_ID_SET_OPERATIONAL_MODE, 1, 5, INVALID_FEEDBACK);
00070 const RmpConfigurationCommand<uint32_t> RmpConfigurationCommandSet::SEND_SP_FAULT_LOG(CONFIG_CMD_ID_SEND_SP_FAULT_LOG, 0, 1, INVALID_FEEDBACK);
00071 const RmpConfigurationCommand<uint32_t> RmpConfigurationCommandSet::RESET_INTEGRATORS(CONFIG_CMD_ID_RESET_INTEGRATORS, 0x00000000, 0x0000001F, INVALID_FEEDBACK);
00072 const RmpConfigurationCommand<uint32_t> RmpConfigurationCommandSet::RESET_PARAMS_TO_DEFAULT(CONFIG_CMD_ID_RESET_PARAMS_TO_DEFAULT, 0, 0, INVALID_FEEDBACK);
00073 }