提交 3a4512fd 编写于 作者: L Liangliang Zhang 提交者: Jiangtao Hu

All: fixed proto format.

上级 c5f4c4e2
......@@ -137,12 +137,12 @@ enum GpsQuality {
}
message WheelSpeed {
enum WheelSpeedType {
enum WheelSpeedType {
FORWARD = 0;
BACKWARD = 1;
STANDSTILL = 2;
INVALID = 3;
}
}
optional bool is_wheel_spd_rr_valid = 1 [default = false];
optional WheelSpeedType wheel_direction_rr = 2 [default = INVALID];
optional double wheel_spd_rr = 3 [default = 0.0];
......
......@@ -498,7 +498,7 @@ message BasicInfo {
// TODO(QiL) : Re-factor needed here
message Global_rpt_6a {
// Report Message
// Report Message
enum Pacmod_statusType {
PACMOD_STATUS_CONTROL_DISABLED = 0;
PACMOD_STATUS_CONTROL_ENABLED = 1;
......@@ -528,13 +528,13 @@ message Global_rpt_6a {
}
message Brake_cmd_6b {
// Report Message
// Report Message
// [%] [0|1]
optional double brake_cmd = 1;
}
message Brake_rpt_6c {
// Report Message
// Report Message
enum Brake_on_offType {
BRAKE_ON_OFF_OFF = 0;
BRAKE_ON_OFF_ON = 1;
......@@ -550,7 +550,7 @@ message Brake_rpt_6c {
}
message Steering_cmd_6d {
// Report Message
// Report Message
// [radians] [-2147483.648|2147483.647]
optional double position_value = 1;
// [rad/s] [0|65.535]
......@@ -558,7 +558,7 @@ message Steering_cmd_6d {
}
message Steering_rpt_1_6e {
// Report Message
// Report Message
// [rad/s] [-32.768|32.767]
optional double manual_input = 1;
// [rad/s] [-32.768|32.767]
......@@ -568,7 +568,7 @@ message Steering_rpt_1_6e {
}
message Wheel_speed_rpt_7a {
// Report Message
// Report Message
// [rad/s] [-32768|32767]
optional int32 wheel_spd_rear_right = 1;
// [rad/s] [-32768|32767]
......@@ -580,7 +580,7 @@ message Wheel_speed_rpt_7a {
}
message Date_time_rpt_83 {
// Report Message
// Report Message
// [sec] [0|60]
optional int32 time_second = 1;
// [min] [0|60]
......@@ -596,7 +596,7 @@ message Date_time_rpt_83 {
}
message Brake_motor_rpt_1_70 {
// Report Message
// Report Message
// [amps] [0|4294967.295]
optional double motor_current = 1;
// [radians] [-2147483.648|2147483.647]
......@@ -604,7 +604,7 @@ message Brake_motor_rpt_1_70 {
}
message Headlight_rpt_77 {
// Report Message
// Report Message
enum Output_valueType {
OUTPUT_VALUE_HEADLIGHTS_OFF = 0;
OUTPUT_VALUE_LOW_BEAMS = 1;
......@@ -629,7 +629,7 @@ message Headlight_rpt_77 {
}
message Accel_rpt_68 {
// Report Message
// Report Message
// [%] [0|1]
optional double manual_input = 1;
// [%] [0|1]
......@@ -639,7 +639,7 @@ message Accel_rpt_68 {
}
message Steering_motor_rpt_3_75 {
// Report Message
// Report Message
// [N-m] [-2147483.648|2147483.647]
optional double torque_output = 1;
// [N-m] [-2147483.648|2147483.647]
......@@ -647,7 +647,7 @@ message Steering_motor_rpt_3_75 {
}
message Turn_cmd_63 {
// Report Message
// Report Message
enum Turn_signal_cmdType {
TURN_SIGNAL_CMD_RIGHT = 0;
TURN_SIGNAL_CMD_NONE = 1;
......@@ -659,7 +659,7 @@ message Turn_cmd_63 {
}
message Turn_rpt_64 {
// Report Message
// Report Message
enum Manual_inputType {
MANUAL_INPUT_RIGHT = 0;
MANUAL_INPUT_NONE = 1;
......@@ -687,7 +687,7 @@ message Turn_rpt_64 {
}
message Shift_cmd_65 {
// Report Message
// Report Message
enum Shift_cmdType {
SHIFT_CMD_PARK = 0;
SHIFT_CMD_REVERSE = 1;
......@@ -695,12 +695,13 @@ message Shift_cmd_65 {
SHIFT_CMD_FORWARD = 3;
SHIFT_CMD_LOW = 4;
}
// FORWARD_is_also_LOW_on_vehicles_with_LOW/HIGH,_PARK_and_HIGH_only_available_on_certain_Vehicles [] [0|4]
// FORWARD_is_also_LOW_on_vehicles_with_LOW/HIGH,_PARK_and_HIGH_only_available_on_certain_Vehicles
// [] [0|4]
optional Shift_cmdType shift_cmd = 1;
}
message Shift_rpt_66 {
// Report Message
// Report Message
enum Manual_inputType {
MANUAL_INPUT_PARK = 0;
MANUAL_INPUT_REVERSE = 1;
......@@ -731,13 +732,13 @@ message Shift_rpt_66 {
}
message Accel_cmd_67 {
// Report Message
// Report Message
// [%] [0|1]
optional double accel_cmd = 1;
}
message Lat_lon_heading_rpt_82 {
// Report Message
// Report Message
// [deg] [-327.68|327.67]
optional double heading = 1;
// [sec] [-128|127]
......@@ -755,7 +756,7 @@ message Lat_lon_heading_rpt_82 {
}
message Global_cmd_69 {
// Report Message
// Report Message
enum Pacmod_enableType {
PACMOD_ENABLE_CONTROL_DISABLED = 0;
PACMOD_ENABLE_CONTROL_ENABLED = 1;
......@@ -777,7 +778,7 @@ message Global_cmd_69 {
}
message Parking_brake_status_rpt_80 {
// Report Message
// Report Message
enum Parking_brake_enabledType {
PARKING_BRAKE_ENABLED_OFF = 0;
PARKING_BRAKE_ENABLED_ON = 1;
......@@ -787,13 +788,13 @@ message Parking_brake_status_rpt_80 {
}
message Yaw_rate_rpt_81 {
// Report Message
// Report Message
// [rad/s] [-327.68|327.67]
optional double yaw_rate = 1;
}
message Horn_rpt_79 {
// Report Message
// Report Message
enum Output_valueType {
OUTPUT_VALUE_OFF = 0;
OUTPUT_VALUE_ON = 1;
......@@ -815,7 +816,7 @@ message Horn_rpt_79 {
}
message Horn_cmd_78 {
// Report Message
// Report Message
enum Horn_cmdType {
HORN_CMD_OFF = 0;
HORN_CMD_ON = 1;
......@@ -825,7 +826,7 @@ message Horn_cmd_78 {
}
message Wiper_rpt_91 {
// Report Message
// Report Message
enum Output_valueType {
OUTPUT_VALUE_WIPERS_OFF = 0;
OUTPUT_VALUE_INTERMITTENT_1 = 1;
......@@ -865,7 +866,7 @@ message Wiper_rpt_91 {
}
message Vehicle_speed_rpt_6f {
// Report Message
// Report Message
enum Vehicle_speed_validType {
VEHICLE_SPEED_VALID_INVALID = 0;
VEHICLE_SPEED_VALID_VALID = 1;
......@@ -877,7 +878,7 @@ message Vehicle_speed_rpt_6f {
}
message Headlight_cmd_76 {
// Report Message
// Report Message
enum Headlight_cmdType {
HEADLIGHT_CMD_HEADLIGHTS_OFF = 0;
HEADLIGHT_CMD_LOW_BEAMS = 1;
......@@ -888,7 +889,7 @@ message Headlight_cmd_76 {
}
message Steering_motor_rpt_2_74 {
// Report Message
// Report Message
// [deg C] [-32808|32727]
optional int32 encoder_temperature = 1;
// [deg C] [-32808|32727]
......@@ -898,7 +899,7 @@ message Steering_motor_rpt_2_74 {
}
message Brake_motor_rpt_2_71 {
// Report Message
// Report Message
// [deg C] [-32808|32727]
optional int32 encoder_temperature = 1;
// [deg C] [-32808|32727]
......@@ -908,7 +909,7 @@ message Brake_motor_rpt_2_71 {
}
message Steering_motor_rpt_1_73 {
// Report Message
// Report Message
// [amps] [0|4294967.295]
optional double motor_current = 1;
// [amps] [-2147483.648|2147483.647]
......@@ -916,7 +917,7 @@ message Steering_motor_rpt_1_73 {
}
message Wiper_cmd_90 {
// Report Message
// Report Message
enum Wiper_cmdType {
WIPER_CMD_WIPERS_OFF = 0;
WIPER_CMD_INTERMITTENT_1 = 1;
......@@ -932,7 +933,7 @@ message Wiper_cmd_90 {
}
message Brake_motor_rpt_3_72 {
// Report Message
// Report Message
// [N-m] [-2147483.648|2147483.647]
optional double torque_output = 1;
// [N-m] [-2147483.648|2147483.647]
......@@ -950,24 +951,29 @@ message Gem {
optional Brake_motor_rpt_1_70 brake_motor_rpt_1_70 = 8; // report message
optional Headlight_rpt_77 headlight_rpt_77 = 9; // report message
optional Accel_rpt_68 accel_rpt_68 = 10; // report message
optional Steering_motor_rpt_3_75 steering_motor_rpt_3_75 = 11; // report message
optional Steering_motor_rpt_3_75 steering_motor_rpt_3_75 =
11; // report message
optional Turn_cmd_63 turn_cmd_63 = 12; // report message
optional Turn_rpt_64 turn_rpt_64 = 13; // report message
optional Shift_cmd_65 shift_cmd_65 = 14; // report message
optional Shift_rpt_66 shift_rpt_66 = 15; // report message
optional Accel_cmd_67 accel_cmd_67 = 16; // report message
optional Lat_lon_heading_rpt_82 lat_lon_heading_rpt_82 = 17; // report message
optional Lat_lon_heading_rpt_82 lat_lon_heading_rpt_82 =
17; // report message
optional Global_cmd_69 global_cmd_69 = 18; // report message
optional Parking_brake_status_rpt_80 parking_brake_status_rpt_80 = 19; // report message
optional Parking_brake_status_rpt_80 parking_brake_status_rpt_80 =
19; // report message
optional Yaw_rate_rpt_81 yaw_rate_rpt_81 = 20; // report message
optional Horn_rpt_79 horn_rpt_79 = 21; // report message
optional Horn_cmd_78 horn_cmd_78 = 22; // report message
optional Wiper_rpt_91 wiper_rpt_91 = 23; // report message
optional Vehicle_speed_rpt_6f vehicle_speed_rpt_6f = 24; // report message
optional Headlight_cmd_76 headlight_cmd_76 = 25; // report message
optional Steering_motor_rpt_2_74 steering_motor_rpt_2_74 = 26; // report message
optional Steering_motor_rpt_2_74 steering_motor_rpt_2_74 =
26; // report message
optional Brake_motor_rpt_2_71 brake_motor_rpt_2_71 = 27; // report message
optional Steering_motor_rpt_1_73 steering_motor_rpt_1_73 = 28; // report message
optional Steering_motor_rpt_1_73 steering_motor_rpt_1_73 =
28; // report message
optional Wiper_cmd_90 wiper_cmd_90 = 29; // report message
optional Brake_motor_rpt_3_72 brake_motor_rpt_3_72 = 30; // report message
}
......@@ -95,7 +95,7 @@ message AdapterConfig {
// The max number of received messages to keep in the adapter, this field
// is not useful for PUBLISH_ONLY mode messages.
optional int32 message_history_limit = 3 [default = 10];
optional bool latch = 4 [default=false];
optional bool latch = 4 [default = false];
optional string topic = 5;
}
......
......@@ -25,10 +25,10 @@ message Extrinsics {
// By default, all are measured with the SI units (meters, meters per second,
// etc.).
message VehicleParam {
enum VehicleBrand {
enum VehicleBrand {
LINCOLN_MKZ = 0;
GEM = 1;
}
}
optional VehicleBrand brand = 1;
// Car center point is car reference point, i.e., center of rear axle.
......@@ -45,7 +45,8 @@ enum VehicleBrand {
optional double max_acceleration = 10;
optional double max_deceleration = 11;
// The following items are used to compute trajectory constraints in planning/control/canbus,
// The following items are used to compute trajectory constraints in
// planning/control/canbus,
// vehicle max steer angle
optional double max_steer_angle = 12;
// vehicle max steer rate; how fast can the steering wheel turn.
......
......@@ -18,12 +18,12 @@ message MonitorMessageItem {
ROUTING = 10;
MONITOR = 11;
HMI = 12;
RELATIVE_MAP=13;
RELATIVE_MAP = 13;
GNSS = 14;
CONTI_RADAR = 15;
}
optional MessageSource source = 1 [ default = UNKNOWN ];
optional MessageSource source = 1 [default = UNKNOWN];
optional string msg = 2;
......@@ -33,7 +33,7 @@ message MonitorMessageItem {
ERROR = 2;
FATAL = 3;
}
optional LogLevel log_level = 3 [ default = INFO ];
optional LogLevel log_level = 3 [default = INFO];
}
message MonitorMessage {
......
......@@ -2,7 +2,6 @@ syntax = "proto2";
package apollo.common;
// This is the engage advice that published by critical runtime modules.
message EngageAdvice {
enum Advice {
......
syntax = "proto2";
// Defined Point types that are commonly used in PnC (Planning and Control) modules.
// Defined Point types that are commonly used in PnC (Planning and Control)
// modules.
package apollo.common;
......
......@@ -6,18 +6,18 @@ import "modules/canbus/proto/chassis.proto";
import "modules/localization/proto/pose.proto";
message VehicleState {
optional double x = 1 [default =0.0];
optional double y = 2 [default =0.0];
optional double z = 3 [default =0.0];
optional double timestamp = 4 [default =0.0];
optional double roll = 5 [default =0.0];
optional double pitch = 6 [default =0.0];
optional double yaw = 7 [default =0.0];
optional double heading = 8 [default =0.0];
optional double kappa = 9 [default =0.0];
optional double linear_velocity = 10 [default =0.0];
optional double angular_velocity = 11 [default =0.0];
optional double linear_acceleration = 12 [default =0.0];
optional double x = 1 [default = 0.0];
optional double y = 2 [default = 0.0];
optional double z = 3 [default = 0.0];
optional double timestamp = 4 [default = 0.0];
optional double roll = 5 [default = 0.0];
optional double pitch = 6 [default = 0.0];
optional double yaw = 7 [default = 0.0];
optional double heading = 8 [default = 0.0];
optional double kappa = 9 [default = 0.0];
optional double linear_velocity = 10 [default = 0.0];
optional double angular_velocity = 11 [default = 0.0];
optional double linear_acceleration = 12 [default = 0.0];
optional apollo.canbus.Chassis.GearPosition gear = 13;
optional apollo.canbus.Chassis.DrivingMode driving_mode = 14;
optional apollo.localization.Pose pose = 15;
......
......@@ -28,7 +28,8 @@ message ControlCommand {
// target brake in percentage [0, 100]
optional double brake = 4;
// target non-directional steering rate, in percentage of full scale per second [0, 100]
// target non-directional steering rate, in percentage of full scale per
// second [0, 100]
optional double steering_rate = 6;
// target steering angle, in percentage of full scale [-100, 100]
......@@ -49,7 +50,8 @@ message ControlCommand {
optional bool engine_on_off = 17;
// completion percentage of trajectory planned in last cycle
optional double trajectory_fraction = 18;
optional apollo.canbus.Chassis.DrivingMode driving_mode = 19 [deprecated = true];
optional apollo.canbus.Chassis.DrivingMode driving_mode = 19
[deprecated = true];
optional apollo.canbus.Chassis.GearPosition gear_location = 20;
optional Debug debug = 22;
......@@ -151,7 +153,7 @@ message InputDebug {
optional apollo.common.Header localization_header = 1;
optional apollo.common.Header canbus_header = 2;
optional apollo.common.Header trajectory_header = 3;
}
}
message Debug {
optional SimpleLongitudinalDebug simple_lon_debug = 1;
......
......@@ -40,7 +40,6 @@ message ControlConf {
optional bool enable_navigation_mode_position_update = 22 [default = true];
optional bool enable_persistent_estop = 23 [default = true];
// original config
optional double control_period = 24;
optional double max_planning_interval_sec = 25;
......
......@@ -10,9 +10,7 @@ import "modules/routing/proto/routing.proto";
message VehicleInfo {
optional string name = 1;
enum Brand {
LINCOLN = 1;
}
enum Brand { LINCOLN = 1; }
optional Brand brand = 2;
enum Model {
// Lincoln model
......
......@@ -4,7 +4,6 @@ package apollo.data;
import "modules/data/proto/static_info.proto";
message MapPoint {
optional double latitude = 1;
optional double longitude = 2;
......
......@@ -4,7 +4,6 @@ package apollo.data;
import "modules/data/proto/task.proto";
message SearchRequest {
// Search criteria.
optional string vehicle_name = 1;
......
......@@ -151,7 +151,7 @@ message DelaysInMs {
optional double localization = 3;
optional double perception_obstacle = 4;
optional double planning = 5;
optional double prediction= 7;
optional double prediction = 7;
optional double traffic_light = 8;
optional double control = 9;
}
......@@ -215,7 +215,7 @@ message SimulationWorld {
repeated Object planning_trajectory = 8;
// Main decision
optional Object main_stop = 9 [deprecated=true];
optional Object main_stop = 9 [deprecated = true];
optional Object main_decision = 10;
// Speed limit
......@@ -225,7 +225,8 @@ message SimulationWorld {
optional DelaysInMs delay = 12;
// Notification
optional apollo.common.monitor.MonitorMessage monitor = 13 [deprecated=true];
optional apollo.common.monitor.MonitorMessage monitor = 13
[deprecated = true];
repeated Notification notification = 14;
// Engage advice from planning
......
......@@ -6,33 +6,32 @@ message CameraConf {
required uint32 index = 1 [default = 0];
optional string position = 2 [default = "centre"];
// packet params
optional string topic_name = 3 [ default="" ];
optional string video_device = 4 [ default="/dev/video0"];
optional string camera_name = 5 [ default="head_camera" ];
optional string camera_info_url = 6 [ default="" ];
optional string camera_frame_id = 7 [ default="" ];
optional uint32 camera_timeout = 8 [ default=1000 ];
optional double spin_interval = 9 [ default=0.005 ];
optional string topic_name = 3 [default = ""];
optional string video_device = 4 [default = "/dev/video0"];
optional string camera_name = 5 [default = "head_camera"];
optional string camera_info_url = 6 [default = ""];
optional string camera_frame_id = 7 [default = ""];
optional uint32 camera_timeout = 8 [default = 1000];
optional double spin_interval = 9 [default = 0.005];
// possible values: mmap, read, userptr
optional string io_method = 10 [ default="mmap" ];
optional string io_method = 10 [default = "mmap"];
// possible values: yuyv, uyvy, mjpeg, yuvmono10, rgb24
optional string pixel_format = 11 [ default="mjpeg" ];
optional uint32 image_width = 12 [ default=640 ];
optional uint32 image_height = 13 [ default=480 ];
optional uint64 frame_rate = 14 [ default=30 ];
optional int32 brightness = 15 [ default=-1 ]; // 0-255, -1 "leave alone"
optional int32 contrast = 16 [ default=-1 ]; // 0-255, -1 "leave alone"
optional int32 saturation = 17 [ default=-1 ]; // 0-255, -1 "leave alone"
optional int32 sharpness = 18 [ default=-1 ]; // 0-255, -1 "leave alone"
optional int32 gain = 19 [ default=-1 ]; // 0-255, -1 "leave alone"
optional bool autoexposure = 20 [ default=true ];
optional uint32 exposure = 21 [ default=100 ];
optional bool autofocus = 22 [ default=false ];
optional int32 focus = 23 [ default=-1 ]; // 0-255, -1 "leave alone"
optional bool auto_white_balance = 24 [ default=true ];
optional int32 white_balance = 25 [ default=4000 ];
optional uint32 trigger_internal = 26 [ default=0 ];
optional uint32 trigger_fps = 27 [ default=30 ];
optional uint32 error_code = 28 [ default=0 ];
optional string pixel_format = 11 [default = "mjpeg"];
optional uint32 image_width = 12 [default = 640];
optional uint32 image_height = 13 [default = 480];
optional uint64 frame_rate = 14 [default = 30];
optional int32 brightness = 15 [default = -1]; // 0-255, -1 "leave alone"
optional int32 contrast = 16 [default = -1]; // 0-255, -1 "leave alone"
optional int32 saturation = 17 [default = -1]; // 0-255, -1 "leave alone"
optional int32 sharpness = 18 [default = -1]; // 0-255, -1 "leave alone"
optional int32 gain = 19 [default = -1]; // 0-255, -1 "leave alone"
optional bool autoexposure = 20 [default = true];
optional uint32 exposure = 21 [default = 100];
optional bool autofocus = 22 [default = false];
optional int32 focus = 23 [default = -1]; // 0-255, -1 "leave alone"
optional bool auto_white_balance = 24 [default = true];
optional int32 white_balance = 25 [default = 4000];
optional uint32 trigger_internal = 26 [default = 0];
optional uint32 trigger_fps = 27 [default = 30];
optional uint32 error_code = 28 [default = 0];
}
......@@ -61,7 +61,6 @@ message NovatelConfig {
message UbloxConfig {
}
enum ImuType {
// We currently use the following IMUs. We'll extend this list when a new IMU
// is introduced.
......@@ -134,5 +133,4 @@ message Config {
optional string gps_channel_name = 28;
optional string bestpos_channel_name = 29;
optional string chassis_channel_name = 30;
}
......@@ -10,7 +10,8 @@ import "modules/common/proto/geometry.proto";
message Gnss {
optional apollo.common.Header header = 1;
// The time of position measurement, seconds since the GPS epoch (Jan 6, 1980).
// The time of position measurement, seconds since the GPS epoch (Jan 6,
// 1980).
optional double measurement_time = 2; // In seconds.
// When velocity is computed from differentiating successive position
......@@ -46,10 +47,10 @@ message Gnss {
// solution.
PPP = 4; // Precise Point Positioning (PPP) solution.
RTK_FLOAT = 5; // Real Time Kinematic (RTK) float solution.
RTK_INTEGER= 6; // RTK integer solution.
RTK_INTEGER = 6; // RTK integer solution.
}
optional Type type = 9;
optional uint32 solution_status= 10;
optional uint32 solution_status = 10;
optional uint32 position_type = 11;
}
......
......@@ -10,7 +10,8 @@ enum SolutionStatus {
NO_CONVERGENCE = 2; // no convergence
SINGULARITY = 3; // singularity at parameters matrix
COV_TRACE = 4; // covariance trace exceeds maximum (trace > 1000 m)
TEST_DIST = 5; // test distance exceeded (max of 3 rejections if distance > 10
TEST_DIST =
5; // test distance exceeded (max of 3 rejections if distance > 10
// km)
COLD_START = 6; // not yet converged from cold start
V_H_LIMIT = 7; // height or velocity limits exceeded
......@@ -22,7 +23,8 @@ enum SolutionStatus {
INVALID_FIX = 19; // the fixed position entered using the fix position
// command is invalid
UNAUTHORIZED = 20; // position type is unauthorized
INVALID_RATE = 22; // selected logging rate is not supported for this solution type
INVALID_RATE =
22; // selected logging rate is not supported for this solution type
}
enum SolutionType {
......@@ -44,7 +46,8 @@ enum SolutionType {
L1_INT = 48;
WIDE_INT = 49;
NARROW_INT = 50;
RTK_DIRECT_INS = 51; // RTK filter is directly initialized from the INS filter.
RTK_DIRECT_INS =
51; // RTK filter is directly initialized from the INS filter.
INS_SBAS = 52;
INS_PSRSP = 53;
INS_PSRDIFF = 54;
......@@ -83,11 +86,15 @@ message GnssBestPose {
optional float differential_age = 14; // differential position age (sec)
optional float solution_age = 15; // solution age (sec)
optional uint32 num_sats_tracked = 16; // number of satellites tracked
optional uint32 num_sats_in_solution = 17; // number of satellites used in solution
optional uint32 num_sats_l1 = 18; // number of L1/E1/B1 satellites used in solution
optional uint32 num_sats_multi = 19; // number of multi-frequency satellites used in solution
optional uint32 num_sats_in_solution =
17; // number of satellites used in solution
optional uint32 num_sats_l1 =
18; // number of L1/E1/B1 satellites used in solution
optional uint32 num_sats_multi =
19; // number of multi-frequency satellites used in solution
optional uint32 reserved = 20; // reserved
optional uint32 extended_solution_status = 21; // extended solution status - OEMV and
optional uint32 extended_solution_status =
21; // extended solution status - OEMV and
// greater only
optional uint32 galileo_beidou_used_mask = 22;
optional uint32 gps_glonass_used_mask = 23;
......
......@@ -3,9 +3,8 @@ syntax = "proto2";
package apollo.drivers.gnss;
//pre-defined GNSS band frequency ID
enum GnssBandID
{
// pre-defined GNSS band frequency ID
enum GnssBandID {
BAND_UNKNOWN = 0;
GPS_L1 = 1;
GPS_L2 = 2;
......@@ -18,9 +17,8 @@ enum GnssBandID
GLO_G3 = 9;
}
//observation and ephemeris related system time type
enum GnssTimeType
{
// observation and ephemeris related system time type
enum GnssTimeType {
TIME_UNKNOWN = 0;
GPS_TIME = 1;
BDS_TIME = 2;
......@@ -28,9 +26,8 @@ enum GnssTimeType
GAL_TIME = 4;
}
//observation and ephemeris related system type
enum GnssType
{
// observation and ephemeris related system type
enum GnssType {
SYS_UNKNOWN = 0;
GPS_SYS = 1;
BDS_SYS = 2;
......@@ -38,159 +35,154 @@ enum GnssType
GAL_SYS = 4;
}
//type of pseudo-range
enum PseudoType
{
// type of pseudo-range
enum PseudoType {
CODE_UNKNOWN = 0;
CORSE_CODE = 1;
PRECISION_CODE = 2;
}
//This message defines one band observation of a certain satellite
message BandObservation
{
//observation on a certain frequency band
// This message defines one band observation of a certain satellite
message BandObservation {
// observation on a certain frequency band
optional GnssBandID band_id = 1 [default = BAND_UNKNOWN];
optional double frequency_value = 2;
optional PseudoType pseudo_type = 3 [default = CODE_UNKNOWN];
//unit in meter
// unit in meter
optional double pseudo_range = 4;
//unit in cycle
// unit in cycle
optional double carrier_phase = 5;
//Indicator of losing tracking of the signal
// Indicator of losing tracking of the signal
optional uint32 loss_lock_index = 6;
//unit in /s
// unit in /s
optional double doppler = 7;
//Signal strength: signal noise ratio or carrier noise ratio
// Signal strength: signal noise ratio or carrier noise ratio
optional float snr = 8;
}
//This message defines one satellite observation of a certain epoch
message SatelliteObservation
{
// This message defines one satellite observation of a certain epoch
message SatelliteObservation {
optional uint32 sat_prn = 1;
optional GnssType sat_sys = 2 [default = GPS_SYS];
optional uint32 band_obs_num = 3;
repeated BandObservation band_obs = 4;
}
//This message defines one epoch observation on a certain time of a receiver
message EpochObservation
{
//Unique id to a certain receiver
//0 for rover, otherwise for baser, supporting multi-baser mode
// This message defines one epoch observation on a certain time of a receiver
message EpochObservation {
// Unique id to a certain receiver
// 0 for rover, otherwise for baser, supporting multi-baser mode
optional uint32 receiver_id = 1;
optional GnssTimeType gnss_time_type = 2 [default = GPS_TIME];
optional uint32 gnss_week = 3;
optional double gnss_second_s = 4;
//Baser observation should be bound with coordinates
//unit in meter
// Baser observation should be bound with coordinates
// unit in meter
optional double position_x = 5;
//unit in meter
// unit in meter
optional double position_y = 6;
//unit in meter
// unit in meter
optional double position_z = 7;
//Health indicator: 0 for healthy while 1 for bad observation
// Health indicator: 0 for healthy while 1 for bad observation
optional uint32 health_flag = 8 [default = 0];
//Number of observed satellites
// Number of observed satellites
optional uint32 sat_obs_num = 9;
//Group of observed satellite observation
// Group of observed satellite observation
repeated SatelliteObservation sat_obs = 10;
}
//This message defines main six keppler orbit parameters and perturbations,
//designed for gps, beidou, (also supporting gnss, galileo)
message KepplerOrbit
{
// This message defines main six keppler orbit parameters and perturbations,
// designed for gps, beidou, (also supporting gnss, galileo)
message KepplerOrbit {
optional GnssType gnss_type = 1 [default = GPS_SYS];
optional uint32 sat_prn = 2;
optional GnssTimeType gnss_time_type = 3 [default = GPS_TIME];
//TOC: time of clock
// TOC: time of clock
optional uint32 year = 4;
optional uint32 month = 5;
optional uint32 day = 6;
optional uint32 hour = 7;
optional uint32 minute = 8;
optional double second_s = 9;
//GNSS week number
// GNSS week number
optional uint32 week_num = 10;
optional double reserved = 11;
optional double af0 = 12; //clock correction(sec)
optional double af1 = 13; //clock correction(sec/sec)
optional double af2 = 14; //clock correction(sec/sec2)
optional double iode = 15; //Issue Of Data, Ephemeris in subframes 2 and 3
optional double deltan = 16; //mean anomaly correction semi-circles per sec*pi = rads
optional double m0 = 17; //mean anomaly at ref time semi-circles*pi = rads
optional double e = 18; //eccentricity
optional double roota = 19; //sqr root a ( meters 1/2 )
optional double toe = 20; //ref time (sec) of ephemeris
optional double toc = 21; //ref time (sec) of clock
optional double cic = 22; //harmonic correction term(rads)
optional double crc = 23; //harmonic correction term(meters)
optional double cis = 24; //harmonic correction term(rads)
optional double crs = 25; //harmonic correction term(meters)
optional double cuc = 26; //harmonic correction term(rads)
optional double cus = 27; //harmonic correction term(rads)
optional double omega0 = 28; //longitude of ascending node semi-circles*pi = rads
optional double omega = 29; //argument of perigee semi-circles*pi
optional double i0 = 30; //inclination angle at ref time semi-circles*pi
optional double omegadot = 31; //rate of right ascension semi-circles/sec*pi
optional double idot = 32; //rate of inclination semi-circles/sec*pi
optional double codesonL2channel = 33; //pseudo range codes on L2
optional uint32 L2Pdataflag = 34; //data flag of L2P
optional uint32 accuracy = 35; //user range accuracy
optional uint32 health = 36; //satellite health: 0=good,1=bad
optional double tgd = 37; //group delay (s)
optional double iodc = 38; //Issue Of Data, Clock
optional double af0 = 12; // clock correction(sec)
optional double af1 = 13; // clock correction(sec/sec)
optional double af2 = 14; // clock correction(sec/sec2)
optional double iode = 15; // Issue Of Data, Ephemeris in subframes 2 and 3
optional double deltan =
16; // mean anomaly correction semi-circles per sec*pi = rads
optional double m0 = 17; // mean anomaly at ref time semi-circles*pi = rads
optional double e = 18; // eccentricity
optional double roota = 19; // sqr root a ( meters 1/2 )
optional double toe = 20; // ref time (sec) of ephemeris
optional double toc = 21; // ref time (sec) of clock
optional double cic = 22; // harmonic correction term(rads)
optional double crc = 23; // harmonic correction term(meters)
optional double cis = 24; // harmonic correction term(rads)
optional double crs = 25; // harmonic correction term(meters)
optional double cuc = 26; // harmonic correction term(rads)
optional double cus = 27; // harmonic correction term(rads)
optional double omega0 =
28; // longitude of ascending node semi-circles*pi = rads
optional double omega = 29; // argument of perigee semi-circles*pi
optional double i0 = 30; // inclination angle at ref time semi-circles*pi
optional double omegadot = 31; // rate of right ascension semi-circles/sec*pi
optional double idot = 32; // rate of inclination semi-circles/sec*pi
optional double codesonL2channel = 33; // pseudo range codes on L2
optional uint32 L2Pdataflag = 34; // data flag of L2P
optional uint32 accuracy = 35; // user range accuracy
optional uint32 health = 36; // satellite health: 0=good,1=bad
optional double tgd = 37; // group delay (s)
optional double iodc = 38; // Issue Of Data, Clock
}
//This message defines orbit parameters of GLONASS
message GlonassOrbit
{
// This message defines orbit parameters of GLONASS
message GlonassOrbit {
optional GnssType gnss_type = 1 [default = GLO_SYS];
optional uint32 slot_prn = 2;
optional GnssTimeType gnss_time_type = 3 [default = GLO_TIME];
//refer to GLONASS time and toc == toe
// refer to GLONASS time and toc == toe
optional double toe = 4;
//must convert toe to UTC(+0) format and fulfill year, month...second_s,etc.
// must convert toe to UTC(+0) format and fulfill year, month...second_s,etc.
optional uint32 year = 5;
optional uint32 month = 6;
optional uint32 day = 7;
optional uint32 hour = 8;
optional uint32 minute = 9;
optional double second_s = 10;
//unit in meter
// unit in meter
optional int32 frequency_no = 11;
//GNSS week number
// GNSS week number
optional uint32 week_num = 12;
//GNSS week second in seconds
// GNSS week second in seconds
optional double week_second_s = 13;
//frame broadcasted time
// frame broadcasted time
optional double tk = 14;
//clock correction(sec/sec),warning: set clock_offset = -TauN
// clock correction(sec/sec),warning: set clock_offset = -TauN
optional double clock_offset = 15;
//clock correction(sec/sec2),warning: set clock_drift = +GammaN
// clock correction(sec/sec2),warning: set clock_drift = +GammaN
optional double clock_drift = 16;
//Satellite health : 0=good,1=bad
// Satellite health : 0=good,1=bad
optional uint32 health = 17;
//unit in meter
// unit in meter
optional double position_x = 18;
optional double position_y = 19;
optional double position_z = 20;
//unit in m/s
// unit in m/s
optional double velocity_x = 21;
optional double velocity_y = 22;
optional double velocity_z = 23;
//unit in m/s2
// unit in m/s2
optional double accelerate_x = 24;
optional double accelerate_y = 25;
optional double accelerate_z = 26;
optional double infor_age = 27;
}
//This message encapsulates keppler orbit message and glonass message
message GnssEphemeris
{
// This message encapsulates keppler orbit message and glonass message
message GnssEphemeris {
optional GnssType gnss_type = 1 [default = GLO_SYS];
optional KepplerOrbit keppler_orbit = 2;
optional GlonassOrbit glonass_orbit = 3;
......
......@@ -23,8 +23,10 @@ message Heading {
optional uint32 satellite_tracked_number = 12;
optional uint32 satellite_soulution_number = 13;
optional uint32 satellite_number_obs = 14; //Number of satellites above the elevation mask angle
optional uint32 satellite_number_multi = 15; //Number of satellites above the mask angle with L2
optional uint32 satellite_number_obs =
14; // Number of satellites above the elevation mask angle
optional uint32 satellite_number_multi =
15; // Number of satellites above the mask angle with L2
optional uint32 solution_source = 16;
optional uint32 extended_solution_status = 17;
......
......@@ -10,5 +10,6 @@ message CloudNodeConf {
// angle defining the center of view
optional double view_direction = 3 [default = 0.0]; // range: -pi ~ pi
// angle defining the view width
optional double view_width = 4 [default = 6.2831853071796]; // range: -2*pi ~ 2*pi
optional double view_width = 4
[default = 6.2831853071796]; // range: -2*pi ~ 2*pi
}
......@@ -10,7 +10,8 @@ message TransformNodeConf {
// angle defining the center of view
optional double view_direction = 3 [default = 0.0]; // range: -pi ~ pi
// angle defining the view width
optional double view_width = 4 [default = 6.2831853071796]; // range: 0 ~ 2*pi
optional double view_width = 4
[default = 6.2831853071796]; // range: 0 ~ 2*pi
// new frame of reference for point clouds
optional string frame_id = 5 [default = "odom"];
}
......@@ -28,15 +28,15 @@ message RadarState_201 {
}
message ContiRadarObs {
// x axis ^
// | longitude_dist
// |
// |
// |
// lateral_dist |
// y axis |
// <----------------
// ooooooooooooo //radar front surface
// x axis ^
// | longitude_dist
// |
// |
// |
// lateral_dist |
// y axis |
// <----------------
// ooooooooooooo //radar front surface
optional apollo.common.Header header = 1;
optional bool clusterortrack = 2; // 0 = track, 1 = cluster
......@@ -58,15 +58,17 @@ message ContiRadarObs {
optional double longitude_dist_rms = 10;
// lateral distance standard deviation to the radar; (+) = left; unit = m
optional double lateral_dist_rms = 11;
// longitude velocity standard deviation to the radar; (+) = forward; unit = m/s
// longitude velocity standard deviation to the radar; (+) = forward; unit =
// m/s
optional double longitude_vel_rms = 12;
//lateral velocity standard deviation to the radar; (+) = left; unit = m/s
// lateral velocity standard deviation to the radar; (+) = left; unit = m/s
optional double lateral_vel_rms = 13;
// obstacle probability of existence
optional double probexist = 14;
//The following is only valid for the track object message
// 0 = deleted, 1 = new, 2 = measured, 3 = predicted, 4 = deleted for, 5 = new from merge
// The following is only valid for the track object message
// 0 = deleted, 1 = new, 2 = measured, 3 = predicted, 4 = deleted for, 5 = new
// from merge
optional int32 meas_state = 15;
// longitude acceleration to the radar; (+) = forward; unit = m/s2
optional double longitude_accel = 16;
......@@ -74,21 +76,25 @@ message ContiRadarObs {
optional double lateral_accel = 17;
// orientation angle to the radar; (+) = counterclockwise; unit = degree
optional double oritation_angle = 18;
// longitude acceleration standard deviation to the radar; (+) = forward; unit = m/s2
// longitude acceleration standard deviation to the radar; (+) = forward; unit
// = m/s2
optional double longitude_accel_rms = 19;
// lateral acceleration standard deviation to the radar; (+) = left; unit = m/s2
// lateral acceleration standard deviation to the radar; (+) = left; unit =
// m/s2
optional double lateral_accel_rms = 20;
// orientation angle standard deviation to the radar; (+) = counterclockwise; unit = degree
// orientation angle standard deviation to the radar; (+) = counterclockwise;
// unit = degree
optional double oritation_angle_rms = 21;
optional double length = 22; // obstacle length; unit = m
optional double width = 23;//obstacle width; unit = m
// 0: point; 1: car; 2: truck; 3: pedestrian; 4: motorcycle; 5: bicycle; 6: wide; 7: unknown
optional double width = 23; // obstacle width; unit = m
// 0: point; 1: car; 2: truck; 3: pedestrian; 4: motorcycle; 5: bicycle; 6:
// wide; 7: unknown
optional int32 obstacle_class = 24;
}
message ContiRadar {
optional apollo.common.Header header = 1;
repeated ContiRadarObs contiobs = 2; //conti radar obstacle array
repeated ContiRadarObs contiobs = 2; // conti radar obstacle array
optional RadarState_201 radar_state = 3;
optional ClusterListStatus_600 cluster_list_status = 4;
optional ObjectListStatus_60A object_list_status = 5;
......
......@@ -5,7 +5,7 @@ package apollo.drivers;
import "modules/common/proto/header.proto";
message Esr_status9_5e8 {
// Report Message
// Report Message
// [] [0|64]
optional int32 can_tx_path_id_acc_3 = 1;
// [] [0|64]
......@@ -23,7 +23,7 @@ message Esr_status9_5e8 {
}
message Esr_status6_5e5 {
// Report Message
// Report Message
enum Can_tx_vertical_align_updatedType {
CAN_TX_VERTICAL_ALIGN_UPDATED_NOT_UPDATED = 0;
CAN_TX_VERTICAL_ALIGN_UPDATED_UPDATED = 1;
......@@ -91,7 +91,7 @@ message Esr_status6_5e5 {
}
message Esr_status5_5e4 {
// Report Message
// Report Message
// [] [0|0]
optional int32 can_tx_supply_10v_a2d = 1;
// [] [0|0]
......@@ -111,7 +111,7 @@ message Esr_status5_5e4 {
}
message Esr_status3_4e2 {
// Report Message
// Report Message
// [] [0|0]
optional int32 can_tx_sw_version_pld = 1;
// [] [0|0]
......@@ -125,7 +125,7 @@ message Esr_status3_4e2 {
}
message Esr_status4_4e3 {
// Report Message
// Report Message
enum Can_tx_truck_target_detType {
CAN_TX_TRUCK_TARGET_DET_NOT_DETECTED = 0;
CAN_TX_TRUCK_TARGET_DET_DETECTED = 1;
......@@ -151,7 +151,8 @@ message Esr_status4_4e3 {
// [] [0|0]
optional Can_tx_truck_target_detType can_tx_truck_target_det = 1;
// [] [0|0]
optional Can_tx_lr_only_grating_lobe_detType can_tx_lr_only_grating_lobe_det = 2;
optional Can_tx_lr_only_grating_lobe_detType can_tx_lr_only_grating_lobe_det =
2;
// [] [0|0]
optional Can_tx_sidelobe_blockageType can_tx_sidelobe_blockage = 3;
// [] [0|0]
......@@ -177,7 +178,7 @@ message Esr_status4_4e3 {
}
message Esr_trackmotionpower_540 {
// Report Message
// Report Message
// [] [0|1]
optional bool can_tx_track_rolling_count_2 = 1;
optional int32 can_tx_track_can_id_group = 2;
......@@ -191,7 +192,7 @@ message Esr_trackmotionpower_540 {
}
message Acm_inst_req_7e0 {
// Report Message
// Report Message
// [] [0|0]
optional int32 command_ctr = 1;
// [] [0|0]
......@@ -207,7 +208,7 @@ message Acm_inst_req_7e0 {
}
message Esr_track01_500 {
// Report Message
// Report Message
enum Can_tx_track_grouping_changedType {
CAN_TX_TRACK_GROUPING_CHANGED_GROUPINGUNCHANGED = 0;
CAN_TX_TRACK_GROUPING_CHANGED_GROUPINGCHANGED = 1;
......@@ -263,7 +264,7 @@ message Esr_track01_500 {
}
message Esr_valid1_5d0 {
// Report Message
// Report Message
// [] [0|0]
optional int32 can_tx_valid_lr_sn = 1;
// [m/s] [-128|127]
......@@ -277,7 +278,7 @@ message Esr_valid1_5d0 {
}
message Esr_valid2_5d1 {
// Report Message
// Report Message
// [] [0|0]
optional int32 can_tx_valid_mr_sn = 1;
// [m/s] [-128|127]
......@@ -291,7 +292,7 @@ message Esr_valid2_5d1 {
}
message Acm_inst_resp_7e4 {
// Report Message
// Report Message
// [] [0|0]
optional int32 data_7 = 1;
// [] [0|0]
......@@ -311,7 +312,7 @@ message Acm_inst_resp_7e4 {
}
message Vehicle2_4f1 {
// Report Message
// Report Message
enum Can_rx_mr_only_transmitType {
CAN_RX_MR_ONLY_TRANSMIT_OFF = 0;
CAN_RX_MR_ONLY_TRANSMIT_ON = 1;
......@@ -403,7 +404,7 @@ message Vehicle2_4f1 {
}
message Vehicle1_4f0 {
// Report Message
// Report Message
enum Can_rx_steering_angle_validityType {
CAN_RX_STEERING_ANGLE_VALIDITY_INVALID = 0;
CAN_RX_STEERING_ANGLE_VALIDITY_VALID = 1;
......@@ -425,13 +426,15 @@ message Vehicle1_4f0 {
CAN_RX_VEHICLE_SPEED_DIRECTION_REVERSE = 1;
}
// [] [0|0]
optional Can_rx_steering_angle_validityType can_rx_steering_angle_validity = 1;
optional Can_rx_steering_angle_validityType can_rx_steering_angle_validity =
1;
// [deg/s] [0|2047]
optional int32 can_rx_steering_angle_rate = 2;
// [] [0|0]
optional Can_rx_steering_angle_signType can_rx_steering_angle_sign = 3;
// [] [0|0]
optional Can_rx_steering_angle_rate_signType can_rx_steering_angle_rate_sign = 4;
optional Can_rx_steering_angle_rate_signType can_rx_steering_angle_rate_sign =
4;
// [deg] [0|2047]
optional int32 can_rx_steering_angle = 5;
// [m] [-8192|8191]
......@@ -441,13 +444,14 @@ message Vehicle1_4f0 {
// [deg/s] [-128|127.9375]
optional double can_rx_yaw_rate = 8;
// [] [0|0]
optional Can_rx_vehicle_speed_directionType can_rx_vehicle_speed_direction = 9;
optional Can_rx_vehicle_speed_directionType can_rx_vehicle_speed_direction =
9;
// [m/s] [0|127.9375]
optional double can_rx_vehicle_speed = 10;
}
message Esr_sim1_5c0 {
// Report Message
// Report Message
enum Can_rx_sim_track_idType {
CAN_RX_SIM_TRACK_ID_NO_TARGET = 0;
CAN_RX_SIM_TRACK_ID_TARGET_1 = 1;
......@@ -490,7 +494,7 @@ message Esr_sim1_5c0 {
}
message Esr_status1_4e0 {
// Report Message
// Report Message
// [ms] [0|254]
optional double can_tx_dsp_timestamp = 1;
// [] [0|0]
......@@ -508,7 +512,7 @@ message Esr_status1_4e0 {
}
message Esr_status2_4e1 {
// Report Message
// Report Message
enum Can_tx_raw_data_modeType {
CAN_TX_RAW_DATA_MODE_FILTERED = 0;
CAN_TX_RAW_DATA_MODE_RAW = 1;
......@@ -564,7 +568,7 @@ message Esr_status2_4e1 {
}
message Esr_status8_5e7 {
// Report Message
// Report Message
// [] [0|0]
optional int32 can_tx_history_fault_7 = 1;
// [] [0|0]
......@@ -584,7 +588,7 @@ message Esr_status8_5e7 {
}
message Esr_status7_5e6 {
// Report Message
// Report Message
// [] [0|0]
optional int32 can_tx_active_fault_7 = 1;
// [] [0|0]
......@@ -604,7 +608,7 @@ message Esr_status7_5e6 {
}
message Vehicle3_5f2 {
// Report Message
// Report Message
enum Can_rx_serv_align_typeType {
CAN_RX_SERV_ALIGN_TYPE_AUTO_OR_DEALER = 0;
CAN_RX_SERV_ALIGN_TYPE_VOLVO_SHORT_TRACK = 1;
......@@ -668,7 +672,7 @@ message Vehicle3_5f2 {
}
message Vehicle4_5f3 {
// Report Message
// Report Message
enum Can_rx_fac_align_cmd_2Type {
CAN_RX_FAC_ALIGN_CMD_2_OFF = 0;
CAN_RX_FAC_ALIGN_CMD_2_ON = 1;
......@@ -700,7 +704,7 @@ message Vehicle4_5f3 {
}
message Vehicle5_5f4 {
// Report Message
// Report Message
enum Can_rx_yaw_rate_bias_shiftType {
CAN_RX_YAW_RATE_BIAS_SHIFT_NO_DETECT = 0;
CAN_RX_YAW_RATE_BIAS_SHIFT_DETECT = 1;
......@@ -726,7 +730,7 @@ message Vehicle5_5f4 {
}
message Vehicle6_5f5 {
// Report Message
// Report Message
// [m] [-2|10]
optional double can_rx_inner_funnel_offset_right = 1;
// [m] [-2|10]
......@@ -746,7 +750,8 @@ message DelphiESR {
optional Esr_status5_5e4 esr_status5_5e4 = 4; // report message
optional Esr_status3_4e2 esr_status3_4e2 = 5; // report message
optional Esr_status4_4e3 esr_status4_4e3 = 6; // report message
repeated Esr_trackmotionpower_540 esr_trackmotionpower_540 = 7; // report message
repeated Esr_trackmotionpower_540 esr_trackmotionpower_540 =
7; // report message
optional Acm_inst_req_7e0 acm_inst_req_7e0 = 8; // report message
repeated Esr_track01_500 esr_track01_500 = 9; // report message
optional Esr_valid1_5d0 esr_valid1_5d0 = 10; // report message
......
......@@ -28,15 +28,15 @@ message RacobitRadarState_201 {
}
message RacobitRadarObs {
// x axis ^
// | longitude_dist
// |
// |
// |
// lateral_dist |
// y axis |
// <----------------
// ooooooooooooo //radar front surface
// x axis ^
// | longitude_dist
// |
// |
// |
// lateral_dist |
// y axis |
// <----------------
// ooooooooooooo //radar front surface
optional apollo.common.Header header = 1;
optional bool clusterortrack = 2; // 0 = track, 1 = cluster
......@@ -58,15 +58,17 @@ message RacobitRadarObs {
optional double longitude_dist_rms = 10;
// lateral distance standard deviationto the radar; (+) = left; unit = m
optional double lateral_dist_rms = 11;
// longitude velocity standard deviation to the radar; (+) = farword; unit = m/s
// longitude velocity standard deviation to the radar; (+) = farword; unit =
// m/s
optional double longitude_vel_rms = 12;
//lateral velocity standard deviation to the radar; (+) = left; unit = m/s
// lateral velocity standard deviation to the radar; (+) = left; unit = m/s
optional double lateral_vel_rms = 13;
// obstacle probablity of existence
optional double probexist = 14;
//The following is only valid for the track object message
// 0 = deleted, 1 = new, 2 = measured, 3 = predicted, 4 = deleted for, 5 = new from merge
// The following is only valid for the track object message
// 0 = deleted, 1 = new, 2 = measured, 3 = predicted, 4 = deleted for, 5 = new
// from merge
optional int32 meas_state = 15;
// longitude acceleration to the radar; (+) = farword; unit = m/s2
optional double longitude_accel = 16;
......@@ -74,21 +76,25 @@ message RacobitRadarObs {
optional double lateral_accel = 17;
// oritation angle to the radar; (+) = conterclockwise; unit = degree
optional double oritation_angle = 18;
// longitude acceleration standard deviation to the radar; (+) = farword; unit = m/s2
// longitude acceleration standard deviation to the radar; (+) = farword; unit
// = m/s2
optional double longitude_accel_rms = 19;
// lateral acclearation standard deviation to the radar; (+) = left; unit = m/s2
// lateral acclearation standard deviation to the radar; (+) = left; unit =
// m/s2
optional double lateral_accel_rms = 20;
// oritation angle standard deviation to the radar; (+) = conterclockwise; unit = degree
// oritation angle standard deviation to the radar; (+) = conterclockwise;
// unit = degree
optional double oritation_angle_rms = 21;
optional double length = 22; // obstacle length; unit = m
optional double width = 23;//obstacle width; unit = m
// 0: point; 1: car; 2: truck; 3: pedestrian; 4: motocycle; 5: bicycle; 6: wide; 7: unknown
optional double width = 23; // obstacle width; unit = m
// 0: point; 1: car; 2: truck; 3: pedestrian; 4: motocycle; 5: bicycle; 6:
// wide; 7: unknown
optional int32 obstacle_class = 24;
}
message RacobitRadar {
optional apollo.common.Header header = 1;
repeated RacobitRadarObs contiobs = 2; //conti radar obstacle array
repeated RacobitRadarObs contiobs = 2; // conti radar obstacle array
optional RacobitRadarState_201 radar_state = 3;
optional RacobitClusterListStatus_600 cluster_list_status = 4;
optional RacobitObjectListStatus_60A object_list_status = 5;
......
......@@ -7,8 +7,7 @@ import "modules/common/proto/header.proto";
import "modules/common/proto/geometry.proto";
message RadarObstacle {
enum Status {
enum Status {
NO_TARGET = 0;
NEW_TARGET = 1;
NEW_UPDATED_TARGET = 2;
......@@ -27,16 +26,21 @@ enum Status {
}
optional int32 id = 1; // obstacle ID.
optional apollo.common.Point2D relative_position = 2; // obstacle position in the sl coordinate system.
optional apollo.common.Point2D relative_velocity = 3; // obstacle relative velocity.
optional apollo.common.Point2D relative_position =
2; // obstacle position in the sl coordinate system.
optional apollo.common.Point2D relative_velocity =
3; // obstacle relative velocity.
optional double rcs = 4; // radar signal intensity.
optional MovingStatus moving_status = 5; // whether this obstacle is able to move.
optional MovingStatus moving_status =
5; // whether this obstacle is able to move.
optional double width = 6;
optional double length = 7;
optional double height = 8;
optional double theta = 9;
optional apollo.common.Point2D absolute_position = 10; // obstacle position in map coordinate system
optional apollo.common.Point2D absolute_velocity = 11; // obstacle position in map coordinate system
optional apollo.common.Point2D absolute_position =
10; // obstacle position in map coordinate system
optional apollo.common.Point2D absolute_velocity =
11; // obstacle position in map coordinate system
optional int32 count = 12;
optional int32 moving_frames_count = 13;
optional Status status = 14;
......
......@@ -4,26 +4,25 @@ package apollo.drivers;
import "modules/common/proto/header.proto";
message Ultrasonic{
//
// x axis
// ^
// |
// * | *
// * | *
// \ * | * /
// \ * range(i) * /
// \ | /
// \ | /
// \ | /
// y axis \ | /
// <---------------
// ooooooooooooo //ultrasonic radar front surface
//
// In every working cycle, each radar of the ultrasonic system
// return a range to form a range array, 'ranges'.
message Ultrasonic {
//
// x axis
// ^
// |
// * | *
// * | *
// \ * | * /
// \ * range(i) * /
// \ | /
// \ | /
// \ | /
// y axis \ | /
// <---------------
// ooooooooooooo //ultrasonic radar front surface
//
// In every working cycle, each radar of the ultrasonic system
// return a range to form a range array, 'ranges'.
optional apollo.common.Header header = 1;
repeated float ranges = 2;
}
......@@ -12,34 +12,33 @@ enum IOMethod {
message Config {
required string camera_dev = 1;
required string frame_id = 2;
//v4l pixel format
required string pixel_format = 3 [default="yuyv"];
//mmap, userptr, read
// v4l pixel format
required string pixel_format = 3 [default = "yuyv"];
// mmap, userptr, read
required IOMethod io_method = 4;
required uint32 width = 5;
required uint32 height = 6;
required uint32 frame_rate = 7;
required bool monochrome = 8 [default=false];
required bool monochrome = 8 [default = false];
required int32 brightness = 9 [default=-1];
required int32 contrast = 10 [default=-1];
required int32 saturation = 11 [default=-1];
required int32 sharpness = 12 [default=-1];
required int32 gain = 13 [default=-1];
required int32 brightness = 9 [default = -1];
required int32 contrast = 10 [default = -1];
required int32 saturation = 11 [default = -1];
required int32 sharpness = 12 [default = -1];
required int32 gain = 13 [default = -1];
required bool auto_focus = 14 [default=false];
required int32 focus = 15 [default=-1];
required bool auto_exposure = 16 [default=true];
required int32 exposure = 17 [default=100];
required bool auto_white_balance = 18 [default=true];
required int32 white_balance = 19 [default=4000];
required uint32 bytes_per_pixel = 20 [default=3];
required uint32 trigger_internal = 21 [default=0];
required uint32 trigger_fps = 22 [default=30];
optional string channel_name = 23 [ default="" ];
required bool auto_focus = 14 [default = false];
required int32 focus = 15 [default = -1];
required bool auto_exposure = 16 [default = true];
required int32 exposure = 17 [default = 100];
required bool auto_white_balance = 18 [default = true];
required int32 white_balance = 19 [default = 4000];
required uint32 bytes_per_pixel = 20 [default = 3];
required uint32 trigger_internal = 21 [default = 0];
required uint32 trigger_fps = 22 [default = 30];
optional string channel_name = 23 [default = ""];
// wait time when camera select timeout
optional float device_wait = 24 [ default=2.0];
optional float device_wait = 24 [default = 2.0];
// camera select spin time
optional float spin_rate = 25 [ default=0.005];
optional float spin_rate = 25 [default = 0.005];
}
......@@ -33,7 +33,7 @@ message VelodyneScan {
repeated VelodynePacket firing_pkts = 4;
//for HDL32 and VLP16
// for HDL32 and VLP16
repeated VelodynePacket positioning_pkts = 5;
// velodyne device serial number, corresponds to a specific calibration file
optional string sn = 6;
......
......@@ -4,7 +4,7 @@ package apollo.localization;
import "modules/drivers/gnss/proto/gnss_raw_observation.proto";
//Define a rover' direction cosine to an observed satellite under WGS-84
// Define a rover' direction cosine to an observed satellite under WGS-84
message SatDirCosine {
optional uint32 sat_prn = 1;
optional uint32 sat_sys = 2;
......@@ -20,37 +20,40 @@ enum PntType {
PNT_RTK_FLOAT = 4;
PNT_RTK_FIXED = 5;
}
//Define the position result of a rover,
//and pnt stands for Positioning, Navigating and Timing
// Define the position result of a rover,
// and pnt stands for Positioning, Navigating and Timing
message GnssPntResult {
optional uint32 receiver_id = 1;
optional apollo.drivers.gnss.GnssTimeType time_type = 2 [default = GPS_TIME];
optional uint32 gnss_week = 3;
optional double gnss_second_s = 4;
//Solution type
optional PntType pnt_type = 5 [default = PNT_INVALID];;
//Position and its standard deviation in Cartesian (X/Y/Z) under ECEF-WGS84 coordinate
// Solution type
optional PntType pnt_type = 5 [default = PNT_INVALID];
;
// Position and its standard deviation in Cartesian (X/Y/Z) under ECEF-WGS84
// coordinate
optional double pos_x_m = 6;
optional double pos_y_m = 7;
optional double pos_z_m = 8;
optional double std_pos_x_m = 9;
optional double std_pos_y_m = 10;
optional double std_pos_z_m = 11;
//Velocity and its standard deviation in Cartesian (X/Y/Z) under ECEF-WGS84 coordinate
// Velocity and its standard deviation in Cartesian (X/Y/Z) under ECEF-WGS84
// coordinate
optional double vel_x_m = 12;
optional double vel_y_m = 13;
optional double vel_z_m = 14;
optional double std_vel_x_m = 15;
optional double std_vel_y_m = 16;
optional double std_vel_z_m = 17;
//Number of satellites involved in solution
// Number of satellites involved in solution
optional uint32 sovled_sat_num = 18;
//Group of observed satellites' directio cosine
// Group of observed satellites' directio cosine
repeated SatDirCosine sat_dir_cosine = 19;
//position dilution of precision
// position dilution of precision
optional double pdop = 20;
//horizontal dilution of precision
// horizontal dilution of precision
optional double hdop = 21;
//vertical dilution of precision
// vertical dilution of precision
optional double vdop = 22;
}
......@@ -8,26 +8,26 @@ import "modules/common/proto/geometry.proto";
message IntegMeasure {
optional apollo.common.Header header = 1;
enum MeasureType{
//the measure data only include gnss position
enum MeasureType {
// the measure data only include gnss position
GNSS_POS_ONLY = 0;
//the measure data include gnss position and velocity
// the measure data include gnss position and velocity
GNSS_POS_VEL = 1;
//the measure data include gnss position
// the measure data include gnss position
GNSS_POS_XY = 2;
//the measure data only include gnss velocity
// the measure data only include gnss velocity
GNSS_VEL_ONLY = 3;
//the measure data only include point cloud position
// the measure data only include point cloud position
POINT_CLOUD_POS = 4;
//the measure data only include odometer velocity
// the measure data only include odometer velocity
ODOMETER_VEL_ONLY = 5;
//trigger measure update using vehicle constraint
// trigger measure update using vehicle constraint
VEHICLE_CONSTRAINT = 6;
}
optional MeasureType measure_type = 2;
enum FrameType{
enum FrameType {
// Position give the longitude and latitude unit:rad.
ENU = 0;
// Position give x y and z from earth center.
......
......@@ -43,7 +43,8 @@ message Pose {
optional apollo.common.Point3D angular_velocity = 5;
// Heading
// The heading is zero when the car is facing East and positive when facing North.
// The heading is zero when the car is facing East and positive when facing
// North.
optional double heading = 6;
// Linear acceleration of the VRP in the vehicle reference frame.
......
......@@ -17,7 +17,8 @@ import "modules/map/proto/map_parking_space.proto";
// This message defines how we project the ellipsoidal Earth surface to a plane.
message Projection {
// PROJ.4 setting:
// "+proj=tmerc +lat_0={origin.lat} +lon_0={origin.lon} +k={scale_factor} +ellps=WGS84 +no_defs"
// "+proj=tmerc +lat_0={origin.lat} +lon_0={origin.lon} +k={scale_factor}
// +ellps=WGS84 +no_defs"
optional string proj = 1;
}
......
......@@ -37,12 +37,14 @@ message LaneSampleAssociation {
optional double width = 2;
}
// A lane is part of a roadway, that is designated for use by a single line of vehicles.
// A lane is part of a roadway, that is designated for use by a single line of
// vehicles.
// Most public roads (include highways) have more than two lanes.
message Lane {
optional Id id = 1;
// Central lane as reference trajectory, not necessary to be the geometry central.
// Central lane as reference trajectory, not necessary to be the geometry
// central.
optional Curve central_curve = 2;
// Lane boundary curve.
......@@ -103,4 +105,3 @@ message Lane {
repeated LaneSampleAssociation left_road_sample = 20;
repeated LaneSampleAssociation right_road_sample = 21;
}
......@@ -5,8 +5,8 @@ package apollo.hdmap;
import "modules/map/proto/map_id.proto";
message LaneOverlapInfo {
optional double start_s = 1; //position (s-coordinate)
optional double end_s = 2; //position (s-coordinate)
optional double start_s = 1; // position (s-coordinate)
optional double end_s = 2; // position (s-coordinate)
optional bool is_merge = 3;
}
......
......@@ -32,8 +32,10 @@ message RoadROIBoundary {
repeated RoadBoundary road_boundaries = 2;
}
// road section defines a road cross-section, At least one section must be defined in order to
// use a road, If multiple road sections are defined, they must be listed in order along the road
// road section defines a road cross-section, At least one section must be
// defined in order to
// use a road, If multiple road sections are defined, they must be listed in
// order along the road
message RoadSection {
optional Id id = 1;
// lanes contained in this section
......@@ -42,7 +44,8 @@ message RoadSection {
optional RoadBoundary boundary = 3;
}
// The road is a collection of traffic elements, such as lanes, road boundary etc.
// The road is a collection of traffic elements, such as lanes, road boundary
// etc.
// It provides general information about the road.
message Road {
optional Id id = 1;
......
......@@ -5,9 +5,9 @@ package apollo.hdmap;
import "modules/map/proto/map_id.proto";
import "modules/map/proto/map_geometry.proto";
// A stop sign is a traffic sign to notify drivers that they must stop before proceeding.
// A stop sign is a traffic sign to notify drivers that they must stop before
// proceeding.
message StopSign {
optional Id id = 1;
repeated Curve stop_line = 2;
......
......@@ -5,8 +5,10 @@ package apollo.hdmap;
import "modules/map/proto/map_id.proto";
import "modules/map/proto/map_geometry.proto";
// A yield indicates that each driver must prepare to stop if necessary to let a driver on another approach proceed.
// A driver who stops or slows down to let another vehicle through has yielded the right of way to that vehicle.
// A yield indicates that each driver must prepare to stop if necessary to let a
// driver on another approach proceed.
// A driver who stops or slows down to let another vehicle through has yielded
// the right of way to that vehicle.
message YieldSign {
optional Id id = 1;
......
......@@ -3,13 +3,14 @@ syntax = "proto2";
package apollo.relative_map;
message MapGenerationParam {
optional double default_left_width = 1 [default=1.75];
optional double default_right_width = 2 [default=1.75];
optional double default_speed_limit = 3 [default=29.0576]; // default is 65mph
optional double default_left_width = 1 [default = 1.75];
optional double default_right_width = 2 [default = 1.75];
optional double default_speed_limit = 3
[default = 29.0576]; // default is 65mph
}
message NavigationLaneConfig {
optional double min_lane_marker_quality = 1 [default=0.5];
optional double min_lane_marker_quality = 1 [default = 0.5];
enum LaneSource {
PERCEPTION = 1;
OFFLINE_GENERATED = 2;
......
name: "Net"
layer{
name: "input"
type: "Input"
top: "data_org"
input_param{
name : "Net" layer {
name:
"input" type : "Input" top : "data_org" input_param {
shape {
dim:1
dim:3
dim:32
dim:96
dim:
1 dim : 3 dim : 32 dim : 96
}
}
}
layer {
name: "distort"
type: "ImageDistort"
bottom: "data_org"
top: "data"
image_distort_param {
new_scale: 0.01
new_mean_value: 69.06
new_mean_value: 66.58
new_mean_value: 66.56
name:
"distort" type : "ImageDistort" bottom : "data_org" top
: "data" image_distort_param {
new_scale:
0.01 new_mean_value : 69.06 new_mean_value : 66.58 new_mean_value : 66.56
}
}
layer{
name: "conv1"
type: "Convolution"
bottom: "data"
top: "conv1"
param{
lr_mult: 1.000000
decay_mult: 1.000000
layer {
name:
"conv1" type : "Convolution" bottom : "data" top : "conv1" param {
lr_mult:
1.000000 decay_mult : 1.000000
}
param {
lr_mult: 2.000000
decay_mult: 0.000000
lr_mult:
2.000000 decay_mult : 0.000000
}
convolution_param {
num_output: 32
kernel_size: 3
pad: 1
stride: 1
dilation: 1
weight_filler {
type: "msra"
num_output:
32 kernel_size : 3 pad : 1 stride : 1 dilation : 1 weight_filler {
type:
"msra"
}
bias_filler {
type: "constant"
value: 0.000000
type:
"constant" value : 0.000000
}
}
}
layer{
type: "BatchNorm"
name: "conv1_bn"
bottom: "conv1"
top: "conv1"
batch_norm_param{
use_global_stats: true
layer {
type:
"BatchNorm" name : "conv1_bn" bottom : "conv1" top
: "conv1" batch_norm_param {
use_global_stats:
true
}
}
layer {
type: "Scale"
name: "conv1_bn_scale"
bottom: "conv1"
top: "conv1"
scale_param {
axis: 1
num_axes: 1
bias_term: false
type:
"Scale" name : "conv1_bn_scale" bottom : "conv1" top : "conv1" scale_param {
axis:
1 num_axes : 1 bias_term : false
}
}
layer{
type: "ReLU"
name: "conv1_relu"
bottom: "conv1"
top: "conv1"
layer {
type:
"ReLU" name : "conv1_relu" bottom : "conv1" top : "conv1"
}
layer {
name: "pool1"
type: "Pooling"
bottom: "conv1"
top: "pool1"
pooling_param {
pool: MAX
kernel_w: 3
kernel_h: 3
stride_w: 2
stride_h: 2
cmp_out_shape_floor_as_conv: true
name:
"pool1" type : "Pooling" bottom : "conv1" top : "pool1" pooling_param {
pool:
MAX kernel_w : 3 kernel_h : 3 stride_w : 2 stride_h : 2 cmp_out_shape_floor_as_conv
: true
}
}
layer{
name: "conv2"
type: "Convolution"
bottom: "pool1"
top: "conv2"
param{
lr_mult: 1.000000
decay_mult: 1.000000
layer {
name:
"conv2" type : "Convolution" bottom : "pool1" top : "conv2" param {
lr_mult:
1.000000 decay_mult : 1.000000
}
param {
lr_mult: 2.000000
decay_mult: 0.000000
lr_mult:
2.000000 decay_mult : 0.000000
}
convolution_param {
num_output: 64
kernel_size: 3
pad: 1
stride: 1
dilation: 1
weight_filler {
type: "msra"
num_output:
64 kernel_size : 3 pad : 1 stride : 1 dilation : 1 weight_filler {
type:
"msra"
}
bias_filler {
type: "constant"
value: 0.000000
type:
"constant" value : 0.000000
}
}
}
layer{
type: "BatchNorm"
name: "conv2_bn"
bottom: "conv2"
top: "conv2"
batch_norm_param{
use_global_stats: true
layer {
type:
"BatchNorm" name : "conv2_bn" bottom : "conv2" top
: "conv2" batch_norm_param {
use_global_stats:
true
}
}
layer {
type: "Scale"
name: "conv2_bn_scale"
bottom: "conv2"
top: "conv2"
scale_param {
axis: 1
num_axes: 1
bias_term: false
type:
"Scale" name : "conv2_bn_scale" bottom : "conv2" top : "conv2" scale_param {
axis:
1 num_axes : 1 bias_term : false
}
}
layer{
type: "ReLU"
name: "conv2_relu"
bottom: "conv2"
top: "conv2"
layer {
type:
"ReLU" name : "conv2_relu" bottom : "conv2" top : "conv2"
}
layer {
name: "pool2"
type: "Pooling"
bottom: "conv2"
top: "pool2"
pooling_param {
pool: MAX
kernel_w: 3
kernel_h: 3
stride_w: 2
stride_h: 2
cmp_out_shape_floor_as_conv: true
name:
"pool2" type : "Pooling" bottom : "conv2" top : "pool2" pooling_param {
pool:
MAX kernel_w : 3 kernel_h : 3 stride_w : 2 stride_h : 2 cmp_out_shape_floor_as_conv
: true
}
}
layer{
name: "conv3"
type: "Convolution"
bottom: "pool2"
top: "conv3"
param{
lr_mult: 1.000000
decay_mult: 1.000000
layer {
name:
"conv3" type : "Convolution" bottom : "pool2" top : "conv3" param {
lr_mult:
1.000000 decay_mult : 1.000000
}
param {
lr_mult: 2.000000
decay_mult: 0.000000
lr_mult:
2.000000 decay_mult : 0.000000
}
convolution_param {
num_output: 128
kernel_size: 3
pad: 1
stride: 1
dilation: 1
weight_filler {
type: "msra"
num_output:
128 kernel_size : 3 pad : 1 stride : 1 dilation : 1 weight_filler {
type:
"msra"
}
bias_filler {
type: "constant"
value: 0.000000
type:
"constant" value : 0.000000
}
}
}
layer{
type: "BatchNorm"
name: "conv3_bn"
bottom: "conv3"
top: "conv3"
batch_norm_param{
use_global_stats: true
layer {
type:
"BatchNorm" name : "conv3_bn" bottom : "conv3" top
: "conv3" batch_norm_param {
use_global_stats:
true
}
}
layer {
type: "Scale"
name: "conv3_bn_scale"
bottom: "conv3"
top: "conv3"
scale_param {
axis: 1
num_axes: 1
bias_term: false
type:
"Scale" name : "conv3_bn_scale" bottom : "conv3" top : "conv3" scale_param {
axis:
1 num_axes : 1 bias_term : false
}
}
layer{
type: "ReLU"
name: "conv3_relu"
bottom: "conv3"
top: "conv3"
layer {
type:
"ReLU" name : "conv3_relu" bottom : "conv3" top : "conv3"
}
layer {
name: "pool3"
type: "Pooling"
bottom: "conv3"
top: "pool3"
pooling_param {
pool: MAX
kernel_w: 3
kernel_h: 3
stride_w: 2
stride_h: 2
cmp_out_shape_floor_as_conv: true
name:
"pool3" type : "Pooling" bottom : "conv3" top : "pool3" pooling_param {
pool:
MAX kernel_w : 3 kernel_h : 3 stride_w : 2 stride_h : 2 cmp_out_shape_floor_as_conv
: true
}
}
layer{
name: "conv4"
type: "Convolution"
bottom: "pool3"
top: "conv4"
param{
lr_mult: 1.000000
decay_mult: 1.000000
layer {
name:
"conv4" type : "Convolution" bottom : "pool3" top : "conv4" param {
lr_mult:
1.000000 decay_mult : 1.000000
}
param {
lr_mult: 2.000000
decay_mult: 0.000000
lr_mult:
2.000000 decay_mult : 0.000000
}
convolution_param {
num_output: 128
kernel_size: 3
pad: 1
stride: 1
dilation: 1
weight_filler {
type: "msra"
num_output:
128 kernel_size : 3 pad : 1 stride : 1 dilation : 1 weight_filler {
type:
"msra"
}
bias_filler {
type: "constant"
value: 0.000000
type:
"constant" value : 0.000000
}
}
}
layer{
type: "BatchNorm"
name: "conv4_bn"
bottom: "conv4"
top: "conv4"
batch_norm_param{
use_global_stats: true
layer {
type:
"BatchNorm" name : "conv4_bn" bottom : "conv4" top
: "conv4" batch_norm_param {
use_global_stats:
true
}
}
layer {
type: "Scale"
name: "conv4_bn_scale"
bottom: "conv4"
top: "conv4"
scale_param {
axis: 1
num_axes: 1
bias_term: false
type:
"Scale" name : "conv4_bn_scale" bottom : "conv4" top : "conv4" scale_param {
axis:
1 num_axes : 1 bias_term : false
}
}
layer{
type: "ReLU"
name: "conv4_relu"
bottom: "conv4"
top: "conv4"
layer {
type:
"ReLU" name : "conv4_relu" bottom : "conv4" top : "conv4"
}
layer {
name: "pool4"
type: "Pooling"
bottom: "conv4"
top: "pool4"
pooling_param {
pool: MAX
kernel_w: 3
kernel_h: 3
stride_w: 2
stride_h: 2
cmp_out_shape_floor_as_conv: true
name:
"pool4" type : "Pooling" bottom : "conv4" top : "pool4" pooling_param {
pool:
MAX kernel_w : 3 kernel_h : 3 stride_w : 2 stride_h : 2 cmp_out_shape_floor_as_conv
: true
}
}
layer{
name: "conv5"
type: "Convolution"
bottom: "pool4"
top: "conv5"
param{
lr_mult: 1.000000
decay_mult: 1.000000
layer {
name:
"conv5" type : "Convolution" bottom : "pool4" top : "conv5" param {
lr_mult:
1.000000 decay_mult : 1.000000
}
param {
lr_mult: 2.000000
decay_mult: 0.000000
lr_mult:
2.000000 decay_mult : 0.000000
}
convolution_param {
num_output: 128
kernel_size: 3
pad: 1
stride: 1
dilation: 1
weight_filler {
type: "msra"
num_output:
128 kernel_size : 3 pad : 1 stride : 1 dilation : 1 weight_filler {
type:
"msra"
}
bias_filler {
type: "constant"
value: 0.000000
type:
"constant" value : 0.000000
}
}
}
layer{
type: "BatchNorm"
name: "conv5_bn"
bottom: "conv5"
top: "conv5"
batch_norm_param{
use_global_stats: true
layer {
type:
"BatchNorm" name : "conv5_bn" bottom : "conv5" top
: "conv5" batch_norm_param {
use_global_stats:
true
}
}
layer {
type: "Scale"
name: "conv5_bn_scale"
bottom: "conv5"
top: "conv5"
scale_param {
axis: 1
num_axes: 1
bias_term: false
type:
"Scale" name : "conv5_bn_scale" bottom : "conv5" top : "conv5" scale_param {
axis:
1 num_axes : 1 bias_term : false
}
}
layer{
type: "ReLU"
name: "conv5_relu"
bottom: "conv5"
top: "conv5"
layer {
type:
"ReLU" name : "conv5_relu" bottom : "conv5" top : "conv5"
}
layer {
name: "pool5"
type: "Pooling"
bottom: "conv5"
top: "pool5"
pooling_param {
pool: AVE
kernel_w: 6
kernel_h: 2
stride_w: 6
stride_h: 2
cmp_out_shape_floor_as_conv: true
name:
"pool5" type : "Pooling" bottom : "conv5" top : "pool5" pooling_param {
pool:
AVE kernel_w : 6 kernel_h : 2 stride_w : 6 stride_h : 2 cmp_out_shape_floor_as_conv
: true
}
}
layer {
name: "ft"
type: "InnerProduct"
bottom: "pool5"
top: "ft"
param {
lr_mult: 1.000000
decay_mult: 1.000000
name:
"ft" type : "InnerProduct" bottom : "pool5" top : "ft" param {
lr_mult:
1.000000 decay_mult : 1.000000
}
param {
lr_mult: 2.000000
decay_mult: 0.000000
lr_mult:
2.000000 decay_mult : 0.000000
}
inner_product_param {
num_output: 128
weight_filler {
type: "msra"
num_output:
128 weight_filler {
type:
"msra"
}
bias_filler {
type: "constant"
value: 0.000000
type:
"constant" value : 0.000000
}
}
}
layer{
type: "BatchNorm"
name: "ft_bn"
bottom: "ft"
top: "ft"
batch_norm_param{
use_global_stats: true
layer {
type:
"BatchNorm" name : "ft_bn" bottom : "ft" top : "ft" batch_norm_param {
use_global_stats:
true
}
}
layer {
type: "Scale"
name: "ft_bn_scale"
bottom: "ft"
top: "ft"
scale_param {
axis: 1
num_axes: 1
bias_term: false
type:
"Scale" name : "ft_bn_scale" bottom : "ft" top : "ft" scale_param {
axis:
1 num_axes : 1 bias_term : false
}
}
layer{
type: "ReLU"
name: "ft_relu"
bottom: "ft"
top: "ft"
layer {
type:
"ReLU" name : "ft_relu" bottom : "ft" top : "ft"
}
layer {
name: "logits"
type: "InnerProduct"
bottom: "ft"
top: "logits"
param {
lr_mult: 1.000000
decay_mult: 1.000000
name:
"logits" type : "InnerProduct" bottom : "ft" top : "logits" param {
lr_mult:
1.000000 decay_mult : 1.000000
}
param {
lr_mult: 2.000000
decay_mult: 0.000000
lr_mult:
2.000000 decay_mult : 0.000000
}
inner_product_param {
num_output: 4
weight_filler {
type: "msra"
num_output:
4 weight_filler {
type:
"msra"
}
bias_filler {
type: "constant"
value: 0.000000
type:
"constant" value : 0.000000
}
}
}
layer {
name: "prob"
type: "Softmax"
bottom: "logits"
top: "prob"
name:
"prob" type : "Softmax" bottom : "logits" top : "prob"
}
name: "Net"
layer{
name: "input"
type: "Input"
top: "data_org"
input_param{
name : "Net" layer {
name:
"input" type : "Input" top : "data_org" input_param {
shape {
dim:1
dim:3
dim:64
dim:64
dim:
1 dim : 3 dim : 64 dim : 64
}
}
}
layer {
name: "distort"
type: "ImageDistort"
bottom: "data_org"
top: "data"
image_distort_param {
new_scale: 0.01
new_mean_value: 125.68
new_mean_value: 128.93
new_mean_value: 109.56
name:
"distort" type : "ImageDistort" bottom : "data_org" top
: "data" image_distort_param {
new_scale:
0.01 new_mean_value : 125.68 new_mean_value : 128.93 new_mean_value : 109.56
}
}
layer{
name: "conv1"
type: "Convolution"
bottom: "data"
top: "conv1"
param{
lr_mult: 1.000000
decay_mult: 1.000000
layer {
name:
"conv1" type : "Convolution" bottom : "data" top : "conv1" param {
lr_mult:
1.000000 decay_mult : 1.000000
}
param {
lr_mult: 2.000000
decay_mult: 0.000000
lr_mult:
2.000000 decay_mult : 0.000000
}
convolution_param {
num_output: 32
kernel_size: 3
pad: 1
stride: 1
dilation: 1
weight_filler {
type: "msra"
num_output:
32 kernel_size : 3 pad : 1 stride : 1 dilation : 1 weight_filler {
type:
"msra"
}
bias_filler {
type: "constant"
value: 0.000000
type:
"constant" value : 0.000000
}
}
}
layer{
type: "BatchNorm"
name: "conv1_bn"
bottom: "conv1"
top: "conv1"
batch_norm_param{
use_global_stats: true
layer {
type:
"BatchNorm" name : "conv1_bn" bottom : "conv1" top
: "conv1" batch_norm_param {
use_global_stats:
true
}
}
layer {
type: "Scale"
name: "conv1_bn_scale"
bottom: "conv1"
top: "conv1"
scale_param {
axis: 1
num_axes: 1
bias_term: false
type:
"Scale" name : "conv1_bn_scale" bottom : "conv1" top : "conv1" scale_param {
axis:
1 num_axes : 1 bias_term : false
}
}
layer{
type: "ReLU"
name: "conv1_relu"
bottom: "conv1"
top: "conv1"
layer {
type:
"ReLU" name : "conv1_relu" bottom : "conv1" top : "conv1"
}
layer {
name: "pool1"
type: "Pooling"
bottom: "conv1"
top: "pool1"
pooling_param {
pool: MAX
kernel_w: 3
kernel_h: 3
stride_w: 2
stride_h: 2
cmp_out_shape_floor_as_conv: true
name:
"pool1" type : "Pooling" bottom : "conv1" top : "pool1" pooling_param {
pool:
MAX kernel_w : 3 kernel_h : 3 stride_w : 2 stride_h : 2 cmp_out_shape_floor_as_conv
: true
}
}
layer{
name: "conv2"
type: "Convolution"
bottom: "pool1"
top: "conv2"
param{
lr_mult: 1.000000
decay_mult: 1.000000
layer {
name:
"conv2" type : "Convolution" bottom : "pool1" top : "conv2" param {
lr_mult:
1.000000 decay_mult : 1.000000
}
param {
lr_mult: 2.000000
decay_mult: 0.000000
lr_mult:
2.000000 decay_mult : 0.000000
}
convolution_param {
num_output: 64
kernel_size: 3
pad: 1
stride: 1
dilation: 1
weight_filler {
type: "msra"
num_output:
64 kernel_size : 3 pad : 1 stride : 1 dilation : 1 weight_filler {
type:
"msra"
}
bias_filler {
type: "constant"
value: 0.000000
type:
"constant" value : 0.000000
}
}
}
layer{
type: "BatchNorm"
name: "conv2_bn"
bottom: "conv2"
top: "conv2"
batch_norm_param{
use_global_stats: true
layer {
type:
"BatchNorm" name : "conv2_bn" bottom : "conv2" top
: "conv2" batch_norm_param {
use_global_stats:
true
}
}
layer {
type: "Scale"
name: "conv2_bn_scale"
bottom: "conv2"
top: "conv2"
scale_param {
axis: 1
num_axes: 1
bias_term: false
type:
"Scale" name : "conv2_bn_scale" bottom : "conv2" top : "conv2" scale_param {
axis:
1 num_axes : 1 bias_term : false
}
}
layer{
type: "ReLU"
name: "conv2_relu"
bottom: "conv2"
top: "conv2"
layer {
type:
"ReLU" name : "conv2_relu" bottom : "conv2" top : "conv2"
}
layer {
name: "pool2"
type: "Pooling"
bottom: "conv2"
top: "pool2"
pooling_param {
pool: MAX
kernel_w: 3
kernel_h: 3
stride_w: 2
stride_h: 2
cmp_out_shape_floor_as_conv: true
name:
"pool2" type : "Pooling" bottom : "conv2" top : "pool2" pooling_param {
pool:
MAX kernel_w : 3 kernel_h : 3 stride_w : 2 stride_h : 2 cmp_out_shape_floor_as_conv
: true
}
}
layer{
name: "conv3"
type: "Convolution"
bottom: "pool2"
top: "conv3"
param{
lr_mult: 1.000000
decay_mult: 1.000000
layer {
name:
"conv3" type : "Convolution" bottom : "pool2" top : "conv3" param {
lr_mult:
1.000000 decay_mult : 1.000000
}
param {
lr_mult: 2.000000
decay_mult: 0.000000
lr_mult:
2.000000 decay_mult : 0.000000
}
convolution_param {
num_output: 128
kernel_size: 3
pad: 1
stride: 1
dilation: 1
weight_filler {
type: "msra"
num_output:
128 kernel_size : 3 pad : 1 stride : 1 dilation : 1 weight_filler {
type:
"msra"
}
bias_filler {
type: "constant"
value: 0.000000
type:
"constant" value : 0.000000
}
}
}
layer{
type: "BatchNorm"
name: "conv3_bn"
bottom: "conv3"
top: "conv3"
batch_norm_param{
use_global_stats: true
layer {
type:
"BatchNorm" name : "conv3_bn" bottom : "conv3" top
: "conv3" batch_norm_param {
use_global_stats:
true
}
}
layer {
type: "Scale"
name: "conv3_bn_scale"
bottom: "conv3"
top: "conv3"
scale_param {
axis: 1
num_axes: 1
bias_term: false
type:
"Scale" name : "conv3_bn_scale" bottom : "conv3" top : "conv3" scale_param {
axis:
1 num_axes : 1 bias_term : false
}
}
layer{
type: "ReLU"
name: "conv3_relu"
bottom: "conv3"
top: "conv3"
layer {
type:
"ReLU" name : "conv3_relu" bottom : "conv3" top : "conv3"
}
layer {
name: "pool3"
type: "Pooling"
bottom: "conv3"
top: "pool3"
pooling_param {
pool: MAX
kernel_w: 3
kernel_h: 3
stride_w: 2
stride_h: 2
cmp_out_shape_floor_as_conv: true
name:
"pool3" type : "Pooling" bottom : "conv3" top : "pool3" pooling_param {
pool:
MAX kernel_w : 3 kernel_h : 3 stride_w : 2 stride_h : 2 cmp_out_shape_floor_as_conv
: true
}
}
layer{
name: "conv4"
type: "Convolution"
bottom: "pool3"
top: "conv4"
param{
lr_mult: 1.000000
decay_mult: 1.000000
layer {
name:
"conv4" type : "Convolution" bottom : "pool3" top : "conv4" param {
lr_mult:
1.000000 decay_mult : 1.000000
}
param {
lr_mult: 2.000000
decay_mult: 0.000000
lr_mult:
2.000000 decay_mult : 0.000000
}
convolution_param {
num_output: 128
kernel_size: 3
pad: 1
stride: 1
dilation: 1
weight_filler {
type: "msra"
num_output:
128 kernel_size : 3 pad : 1 stride : 1 dilation : 1 weight_filler {
type:
"msra"
}
bias_filler {
type: "constant"
value: 0.000000
type:
"constant" value : 0.000000
}
}
}
layer{
type: "BatchNorm"
name: "conv4_bn"
bottom: "conv4"
top: "conv4"
batch_norm_param{
use_global_stats: true
layer {
type:
"BatchNorm" name : "conv4_bn" bottom : "conv4" top
: "conv4" batch_norm_param {
use_global_stats:
true
}
}
layer {
type: "Scale"
name: "conv4_bn_scale"
bottom: "conv4"
top: "conv4"
scale_param {
axis: 1
num_axes: 1
bias_term: false
type:
"Scale" name : "conv4_bn_scale" bottom : "conv4" top : "conv4" scale_param {
axis:
1 num_axes : 1 bias_term : false
}
}
layer{
type: "ReLU"
name: "conv4_relu"
bottom: "conv4"
top: "conv4"
layer {
type:
"ReLU" name : "conv4_relu" bottom : "conv4" top : "conv4"
}
layer {
name: "pool4"
type: "Pooling"
bottom: "conv4"
top: "pool4"
pooling_param {
pool: MAX
kernel_w: 3
kernel_h: 3
stride_w: 2
stride_h: 2
cmp_out_shape_floor_as_conv: true
name:
"pool4" type : "Pooling" bottom : "conv4" top : "pool4" pooling_param {
pool:
MAX kernel_w : 3 kernel_h : 3 stride_w : 2 stride_h : 2 cmp_out_shape_floor_as_conv
: true
}
}
layer{
name: "conv5"
type: "Convolution"
bottom: "pool4"
top: "conv5"
param{
lr_mult: 1.000000
decay_mult: 1.000000
layer {
name:
"conv5" type : "Convolution" bottom : "pool4" top : "conv5" param {
lr_mult:
1.000000 decay_mult : 1.000000
}
param {
lr_mult: 2.000000
decay_mult: 0.000000
lr_mult:
2.000000 decay_mult : 0.000000
}
convolution_param {
num_output: 128
kernel_size: 3
pad: 1
stride: 1
dilation: 1
weight_filler {
type: "msra"
num_output:
128 kernel_size : 3 pad : 1 stride : 1 dilation : 1 weight_filler {
type:
"msra"
}
bias_filler {
type: "constant"
value: 0.000000
type:
"constant" value : 0.000000
}
}
}
layer{
type: "BatchNorm"
name: "conv5_bn"
bottom: "conv5"
top: "conv5"
batch_norm_param{
use_global_stats: true
layer {
type:
"BatchNorm" name : "conv5_bn" bottom : "conv5" top
: "conv5" batch_norm_param {
use_global_stats:
true
}
}
layer {
type: "Scale"
name: "conv5_bn_scale"
bottom: "conv5"
top: "conv5"
scale_param {
axis: 1
num_axes: 1
bias_term: false
type:
"Scale" name : "conv5_bn_scale" bottom : "conv5" top : "conv5" scale_param {
axis:
1 num_axes : 1 bias_term : false
}
}
layer{
type: "ReLU"
name: "conv5_relu"
bottom: "conv5"
top: "conv5"
layer {
type:
"ReLU" name : "conv5_relu" bottom : "conv5" top : "conv5"
}
layer {
name: "pool5"
type: "Pooling"
bottom: "conv5"
top: "pool5"
pooling_param {
pool: AVE
kernel_w: 4
kernel_h: 4
stride_w: 4
stride_h: 4
cmp_out_shape_floor_as_conv: true
name:
"pool5" type : "Pooling" bottom : "conv5" top : "pool5" pooling_param {
pool:
AVE kernel_w : 4 kernel_h : 4 stride_w : 4 stride_h : 4 cmp_out_shape_floor_as_conv
: true
}
}
layer {
name: "ft"
type: "InnerProduct"
bottom: "pool5"
top: "ft"
param {
lr_mult: 1.000000
decay_mult: 1.000000
name:
"ft" type : "InnerProduct" bottom : "pool5" top : "ft" param {
lr_mult:
1.000000 decay_mult : 1.000000
}
param {
lr_mult: 2.000000
decay_mult: 0.000000
lr_mult:
2.000000 decay_mult : 0.000000
}
inner_product_param {
num_output: 128
weight_filler {
type: "msra"
num_output:
128 weight_filler {
type:
"msra"
}
bias_filler {
type: "constant"
value: 0.000000
type:
"constant" value : 0.000000
}
}
}
layer{
type: "BatchNorm"
name: "ft_bn"
bottom: "ft"
top: "ft"
batch_norm_param{
use_global_stats: true
layer {
type:
"BatchNorm" name : "ft_bn" bottom : "ft" top : "ft" batch_norm_param {
use_global_stats:
true
}
}
layer {
type: "Scale"
name: "ft_bn_scale"
bottom: "ft"
top: "ft"
scale_param {
axis: 1
num_axes: 1
bias_term: false
type:
"Scale" name : "ft_bn_scale" bottom : "ft" top : "ft" scale_param {
axis:
1 num_axes : 1 bias_term : false
}
}
layer{
type: "ReLU"
name: "ft_relu"
bottom: "ft"
top: "ft"
layer {
type:
"ReLU" name : "ft_relu" bottom : "ft" top : "ft"
}
layer {
name: "logits"
type: "InnerProduct"
bottom: "ft"
top: "logits"
param {
lr_mult: 1.000000
decay_mult: 1.000000
name:
"logits" type : "InnerProduct" bottom : "ft" top : "logits" param {
lr_mult:
1.000000 decay_mult : 1.000000
}
param {
lr_mult: 2.000000
decay_mult: 0.000000
lr_mult:
2.000000 decay_mult : 0.000000
}
inner_product_param {
num_output: 4
weight_filler {
type: "msra"
num_output:
4 weight_filler {
type:
"msra"
}
bias_filler {
type: "constant"
value: 0.000000
type:
"constant" value : 0.000000
}
}
}
layer {
name: "prob"
type: "Softmax"
bottom: "logits"
top: "prob"
name:
"prob" type : "Softmax" bottom : "logits" top : "prob"
}
name: "Net"
layer{
name: "input"
type: "Input"
top: "data_org"
input_param{
name : "Net" layer {
name:
"input" type : "Input" top : "data_org" input_param {
shape {
dim:1
dim:3
dim:96
dim:32
dim:
1 dim : 3 dim : 96 dim : 32
}
}
}
layer {
name: "distort"
type: "ImageDistort"
bottom: "data_org"
top: "data"
image_distort_param {
new_scale: 0.01
new_mean_value: 69.06
new_mean_value: 66.58
new_mean_value: 66.56
name:
"distort" type : "ImageDistort" bottom : "data_org" top
: "data" image_distort_param {
new_scale:
0.01 new_mean_value : 69.06 new_mean_value : 66.58 new_mean_value : 66.56
}
}
layer{
name: "conv1"
type: "Convolution"
bottom: "data"
top: "conv1"
param{
lr_mult: 1.000000
decay_mult: 1.000000
layer {
name:
"conv1" type : "Convolution" bottom : "data" top : "conv1" param {
lr_mult:
1.000000 decay_mult : 1.000000
}
param {
lr_mult: 2.000000
decay_mult: 0.000000
lr_mult:
2.000000 decay_mult : 0.000000
}
convolution_param {
num_output: 32
kernel_size: 3
pad: 1
stride: 1
dilation: 1
weight_filler {
type: "msra"
num_output:
32 kernel_size : 3 pad : 1 stride : 1 dilation : 1 weight_filler {
type:
"msra"
}
bias_filler {
type: "constant"
value: 0.000000
type:
"constant" value : 0.000000
}
}
}
layer{
type: "BatchNorm"
name: "conv1_bn"
bottom: "conv1"
top: "conv1"
batch_norm_param{
use_global_stats: true
layer {
type:
"BatchNorm" name : "conv1_bn" bottom : "conv1" top
: "conv1" batch_norm_param {
use_global_stats:
true
}
}
layer {
type: "Scale"
name: "conv1_bn_scale"
bottom: "conv1"
top: "conv1"
scale_param {
axis: 1
num_axes: 1
bias_term: false
type:
"Scale" name : "conv1_bn_scale" bottom : "conv1" top : "conv1" scale_param {
axis:
1 num_axes : 1 bias_term : false
}
}
layer{
type: "ReLU"
name: "conv1_relu"
bottom: "conv1"
top: "conv1"
layer {
type:
"ReLU" name : "conv1_relu" bottom : "conv1" top : "conv1"
}
layer {
name: "pool1"
type: "Pooling"
bottom: "conv1"
top: "pool1"
pooling_param {
pool: MAX
kernel_w: 3
kernel_h: 3
stride_w: 2
stride_h: 2
cmp_out_shape_floor_as_conv: true
name:
"pool1" type : "Pooling" bottom : "conv1" top : "pool1" pooling_param {
pool:
MAX kernel_w : 3 kernel_h : 3 stride_w : 2 stride_h : 2 cmp_out_shape_floor_as_conv
: true
}
}
layer{
name: "conv2"
type: "Convolution"
bottom: "pool1"
top: "conv2"
param{
lr_mult: 1.000000
decay_mult: 1.000000
layer {
name:
"conv2" type : "Convolution" bottom : "pool1" top : "conv2" param {
lr_mult:
1.000000 decay_mult : 1.000000
}
param {
lr_mult: 2.000000
decay_mult: 0.000000
lr_mult:
2.000000 decay_mult : 0.000000
}
convolution_param {
num_output: 64
kernel_size: 3
pad: 1
stride: 1
dilation: 1
weight_filler {
type: "msra"
num_output:
64 kernel_size : 3 pad : 1 stride : 1 dilation : 1 weight_filler {
type:
"msra"
}
bias_filler {
type: "constant"
value: 0.000000
type:
"constant" value : 0.000000
}
}
}
layer{
type: "BatchNorm"
name: "conv2_bn"
bottom: "conv2"
top: "conv2"
batch_norm_param{
use_global_stats: true
layer {
type:
"BatchNorm" name : "conv2_bn" bottom : "conv2" top
: "conv2" batch_norm_param {
use_global_stats:
true
}
}
layer {
type: "Scale"
name: "conv2_bn_scale"
bottom: "conv2"
top: "conv2"
scale_param {
axis: 1
num_axes: 1
bias_term: false
type:
"Scale" name : "conv2_bn_scale" bottom : "conv2" top : "conv2" scale_param {
axis:
1 num_axes : 1 bias_term : false
}
}
layer{
type: "ReLU"
name: "conv2_relu"
bottom: "conv2"
top: "conv2"
layer {
type:
"ReLU" name : "conv2_relu" bottom : "conv2" top : "conv2"
}
layer {
name: "pool2"
type: "Pooling"
bottom: "conv2"
top: "pool2"
pooling_param {
pool: MAX
kernel_w: 3
kernel_h: 3
stride_w: 2
stride_h: 2
cmp_out_shape_floor_as_conv: true
name:
"pool2" type : "Pooling" bottom : "conv2" top : "pool2" pooling_param {
pool:
MAX kernel_w : 3 kernel_h : 3 stride_w : 2 stride_h : 2 cmp_out_shape_floor_as_conv
: true
}
}
layer{
name: "conv3"
type: "Convolution"
bottom: "pool2"
top: "conv3"
param{
lr_mult: 1.000000
decay_mult: 1.000000
layer {
name:
"conv3" type : "Convolution" bottom : "pool2" top : "conv3" param {
lr_mult:
1.000000 decay_mult : 1.000000
}
param {
lr_mult: 2.000000
decay_mult: 0.000000
lr_mult:
2.000000 decay_mult : 0.000000
}
convolution_param {
num_output: 128
kernel_size: 3
pad: 1
stride: 1
dilation: 1
weight_filler {
type: "msra"
num_output:
128 kernel_size : 3 pad : 1 stride : 1 dilation : 1 weight_filler {
type:
"msra"
}
bias_filler {
type: "constant"
value: 0.000000
type:
"constant" value : 0.000000
}
}
}
layer{
type: "BatchNorm"
name: "conv3_bn"
bottom: "conv3"
top: "conv3"
batch_norm_param{
use_global_stats: true
layer {
type:
"BatchNorm" name : "conv3_bn" bottom : "conv3" top
: "conv3" batch_norm_param {
use_global_stats:
true
}
}
layer {
type: "Scale"
name: "conv3_bn_scale"
bottom: "conv3"
top: "conv3"
scale_param {
axis: 1
num_axes: 1
bias_term: false
type:
"Scale" name : "conv3_bn_scale" bottom : "conv3" top : "conv3" scale_param {
axis:
1 num_axes : 1 bias_term : false
}
}
layer{
type: "ReLU"
name: "conv3_relu"
bottom: "conv3"
top: "conv3"
layer {
type:
"ReLU" name : "conv3_relu" bottom : "conv3" top : "conv3"
}
layer {
name: "pool3"
type: "Pooling"
bottom: "conv3"
top: "pool3"
pooling_param {
pool: MAX
kernel_w: 3
kernel_h: 3
stride_w: 2
stride_h: 2
cmp_out_shape_floor_as_conv: true
name:
"pool3" type : "Pooling" bottom : "conv3" top : "pool3" pooling_param {
pool:
MAX kernel_w : 3 kernel_h : 3 stride_w : 2 stride_h : 2 cmp_out_shape_floor_as_conv
: true
}
}
layer{
name: "conv4"
type: "Convolution"
bottom: "pool3"
top: "conv4"
param{
lr_mult: 1.000000
decay_mult: 1.000000
layer {
name:
"conv4" type : "Convolution" bottom : "pool3" top : "conv4" param {
lr_mult:
1.000000 decay_mult : 1.000000
}
param {
lr_mult: 2.000000
decay_mult: 0.000000
lr_mult:
2.000000 decay_mult : 0.000000
}
convolution_param {
num_output: 128
kernel_size: 3
pad: 1
stride: 1
dilation: 1
weight_filler {
type: "msra"
num_output:
128 kernel_size : 3 pad : 1 stride : 1 dilation : 1 weight_filler {
type:
"msra"
}
bias_filler {
type: "constant"
value: 0.000000
type:
"constant" value : 0.000000
}
}
}
layer{
type: "BatchNorm"
name: "conv4_bn"
bottom: "conv4"
top: "conv4"
batch_norm_param{
use_global_stats: true
layer {
type:
"BatchNorm" name : "conv4_bn" bottom : "conv4" top
: "conv4" batch_norm_param {
use_global_stats:
true
}
}
layer {
type: "Scale"
name: "conv4_bn_scale"
bottom: "conv4"
top: "conv4"
scale_param {
axis: 1
num_axes: 1
bias_term: false
type:
"Scale" name : "conv4_bn_scale" bottom : "conv4" top : "conv4" scale_param {
axis:
1 num_axes : 1 bias_term : false
}
}
layer{
type: "ReLU"
name: "conv4_relu"
bottom: "conv4"
top: "conv4"
layer {
type:
"ReLU" name : "conv4_relu" bottom : "conv4" top : "conv4"
}
layer {
name: "pool4"
type: "Pooling"
bottom: "conv4"
top: "pool4"
pooling_param {
pool: MAX
kernel_w: 3
kernel_h: 3
stride_w: 2
stride_h: 2
cmp_out_shape_floor_as_conv: true
name:
"pool4" type : "Pooling" bottom : "conv4" top : "pool4" pooling_param {
pool:
MAX kernel_w : 3 kernel_h : 3 stride_w : 2 stride_h : 2 cmp_out_shape_floor_as_conv
: true
}
}
layer{
name: "conv5"
type: "Convolution"
bottom: "pool4"
top: "conv5"
param{
lr_mult: 1.000000
decay_mult: 1.000000
layer {
name:
"conv5" type : "Convolution" bottom : "pool4" top : "conv5" param {
lr_mult:
1.000000 decay_mult : 1.000000
}
param {
lr_mult: 2.000000
decay_mult: 0.000000
lr_mult:
2.000000 decay_mult : 0.000000
}
convolution_param {
num_output: 128
kernel_size: 3
pad: 1
stride: 1
dilation: 1
weight_filler {
type: "msra"
num_output:
128 kernel_size : 3 pad : 1 stride : 1 dilation : 1 weight_filler {
type:
"msra"
}
bias_filler {
type: "constant"
value: 0.000000
type:
"constant" value : 0.000000
}
}
}
layer{
type: "BatchNorm"
name: "conv5_bn"
bottom: "conv5"
top: "conv5"
batch_norm_param{
use_global_stats: true
layer {
type:
"BatchNorm" name : "conv5_bn" bottom : "conv5" top
: "conv5" batch_norm_param {
use_global_stats:
true
}
}
layer {
type: "Scale"
name: "conv5_bn_scale"
bottom: "conv5"
top: "conv5"
scale_param {
axis: 1
num_axes: 1
bias_term: false
type:
"Scale" name : "conv5_bn_scale" bottom : "conv5" top : "conv5" scale_param {
axis:
1 num_axes : 1 bias_term : false
}
}
layer{
type: "ReLU"
name: "conv5_relu"
bottom: "conv5"
top: "conv5"
layer {
type:
"ReLU" name : "conv5_relu" bottom : "conv5" top : "conv5"
}
layer {
name: "pool5"
type: "Pooling"
bottom: "conv5"
top: "pool5"
pooling_param {
pool: AVE
kernel_w: 2
kernel_h: 6
stride_w: 2
stride_h: 6
cmp_out_shape_floor_as_conv: true
name:
"pool5" type : "Pooling" bottom : "conv5" top : "pool5" pooling_param {
pool:
AVE kernel_w : 2 kernel_h : 6 stride_w : 2 stride_h : 6 cmp_out_shape_floor_as_conv
: true
}
}
layer {
name: "ft"
type: "InnerProduct"
bottom: "pool5"
top: "ft"
param {
lr_mult: 1.000000
decay_mult: 1.000000
name:
"ft" type : "InnerProduct" bottom : "pool5" top : "ft" param {
lr_mult:
1.000000 decay_mult : 1.000000
}
param {
lr_mult: 2.000000
decay_mult: 0.000000
lr_mult:
2.000000 decay_mult : 0.000000
}
inner_product_param {
num_output: 128
weight_filler {
type: "msra"
num_output:
128 weight_filler {
type:
"msra"
}
bias_filler {
type: "constant"
value: 0.000000
type:
"constant" value : 0.000000
}
}
}
layer{
type: "BatchNorm"
name: "ft_bn"
bottom: "ft"
top: "ft"
batch_norm_param{
use_global_stats: true
layer {
type:
"BatchNorm" name : "ft_bn" bottom : "ft" top : "ft" batch_norm_param {
use_global_stats:
true
}
}
layer {
type: "Scale"
name: "ft_bn_scale"
bottom: "ft"
top: "ft"
scale_param {
axis: 1
num_axes: 1
bias_term: false
type:
"Scale" name : "ft_bn_scale" bottom : "ft" top : "ft" scale_param {
axis:
1 num_axes : 1 bias_term : false
}
}
layer{
type: "ReLU"
name: "ft_relu"
bottom: "ft"
top: "ft"
layer {
type:
"ReLU" name : "ft_relu" bottom : "ft" top : "ft"
}
layer {
name: "logits"
type: "InnerProduct"
bottom: "ft"
top: "logits"
param {
lr_mult: 1.000000
decay_mult: 1.000000
name:
"logits" type : "InnerProduct" bottom : "ft" top : "logits" param {
lr_mult:
1.000000 decay_mult : 1.000000
}
param {
lr_mult: 2.000000
decay_mult: 0.000000
lr_mult:
2.000000 decay_mult : 0.000000
}
inner_product_param {
num_output: 4
weight_filler {
type: "msra"
num_output:
4 weight_filler {
type:
"msra"
}
bias_filler {
type: "constant"
value: 0.000000
type:
"constant" value : 0.000000
}
}
}
layer {
name: "prob"
type: "Softmax"
bottom: "logits"
top: "prob"
name:
"prob" type : "Softmax" bottom : "logits" top : "prob"
}
......@@ -2,9 +2,7 @@ syntax = "proto2";
package apollo.perception.obstacle.yolo;
enum ModelType{
Caffe = 0;
}
enum ModelType { Caffe = 0; }
message YoloParam {
required ModelParam model_param = 1;
required NetworkParam net_param = 2;
......@@ -29,7 +27,6 @@ message ModelParam {
optional string calibratetable_root = 11 [default = "./"];
optional ModelType model_type = 12 [default = Caffe];
optional int32 ignored_height = 16 [default = 100];
}
message NetworkParam {
......
......@@ -3,18 +3,18 @@ syntax = "proto2";
package apollo.perception.async_fusion_config;
message ModelConfigs {
optional string name = 1 [ default = "AsyncFusion" ];
optional string version = 2 [ default = "1.0.0" ];
optional string match_method = 3 [ default = "hm_matcher" ];
optional float max_match_distance = 4 [ default = 4.0 ];
optional float max_lidar_invisible_period = 5 [ default = 0.25 ];
optional float max_radar_invisible_period = 6 [ default = 0.25 ];
optional float max_radar_confident_angle = 7 [ default = 30.0 ];
optional float min_radar_confident_distance = 8 [ default = 40.0 ];
optional bool publish_if_has_lidar = 9 [ default = true ];
optional bool publish_if_has_radar = 10 [ default = true ];
optional string name = 1 [default = "AsyncFusion"];
optional string version = 2 [default = "1.0.0"];
optional string match_method = 3 [default = "hm_matcher"];
optional float max_match_distance = 4 [default = 4.0];
optional float max_lidar_invisible_period = 5 [default = 0.25];
optional float max_radar_invisible_period = 6 [default = 0.25];
optional float max_radar_confident_angle = 7 [default = 30.0];
optional float min_radar_confident_distance = 8 [default = 40.0];
optional bool publish_if_has_lidar = 9 [default = true];
optional bool publish_if_has_radar = 10 [default = true];
// candidate values: "velodyne_64", "radar", "camera_front_short"
optional string publish_sensor = 11 [ default = "velodyne_64" ];
optional bool use_radar = 12 [ default = true ];
optional bool use_lidar = 13 [ default = true ];
optional string publish_sensor = 11 [default = "velodyne_64"];
optional bool use_radar = 12 [default = true];
optional bool use_lidar = 13 [default = true];
}
......@@ -3,9 +3,12 @@ syntax = "proto2";
package apollo.perception.cnn_segmentation_config;
message ModelConfigs {
optional string name = 1 [ default = "CNNSegmentation" ];
optional string version = 2 [ default = "1.0.0" ];
optional string config_file = 3 [ default = "modules/perception/model/cnn_segmentation/cnnseg.conf" ];
optional string proto_file = 4 [ default = "modules/perception/model/cnn_segmentation/deploy.prototxt" ];
optional string weight_file = 5 [ default = "modules/perception/model/cnn_segmentation/deploy.caffemodel" ];
optional string name = 1 [default = "CNNSegmentation"];
optional string version = 2 [default = "1.0.0"];
optional string config_file = 3
[default = "modules/perception/model/cnn_segmentation/cnnseg.conf"];
optional string proto_file = 4
[default = "modules/perception/model/cnn_segmentation/deploy.prototxt"];
optional string weight_file = 5
[default = "modules/perception/model/cnn_segmentation/deploy.caffemodel"];
}
......@@ -3,7 +3,8 @@ syntax = "proto2";
package apollo.perception.geometry_camera_converter_config;
message ModelConfigs {
optional string name = 1 [ default = "GeometryCameraConverter" ];
optional string version = 2 [ default = "1.0.0" ];
optional string camera_intrinsic_file = 3 [ default = "modules/perception/data/params/front_camera_intrinsics.yaml" ];
optional string name = 1 [default = "GeometryCameraConverter"];
optional string version = 2 [default = "1.0.0"];
optional string camera_intrinsic_file = 3
[default = "modules/perception/data/params/front_camera_intrinsics.yaml"];
}
......@@ -4,22 +4,23 @@ package apollo.perception.hdmap_roi_filter_config;
// hdmap ROI filter model
message ModelConfigs {
optional string name = 1 [ default = "HdmapROIFilter" ];
optional string version = 2 [ default = "1.0.0" ];
optional string name = 1 [default = "HdmapROIFilter"];
optional string version = 2 [default = "1.0.0"];
// @name: range
// @brief: create a bitmap mask which represents [-range, range]*[-range, range]
// @brief: create a bitmap mask which represents [-range, range]*[-range,
// range]
// square area around the car.
// @required: range > 0.0 && range - (-range) > cell_size
optional double range = 3 [ default = 70.0 ];
optional double range = 3 [default = 70.0];
// @name: cell_size
// @brief: discretize the area using small cells.
// @required: cell_size > 0.0
optional double cell_size = 4 [ default = 0.25 ];
optional double cell_size = 4 [default = 0.25];
// @name: extend_dist
// @brief: extend the intervals returned by polygon scans conversion algorithm
// @required: none
optional double extend_dist = 5 [ default = 0.0 ];
optional double extend_dist = 5 [default = 0.0];
}
......@@ -11,46 +11,47 @@ message ModelConfigs {
repeated float roi = 6;
optional bool use_non_mask = 7;
repeated float non_mask = 8;
optional float lane_map_confidence_thresh = 9 [ default = 0.95];
optional float cc_split_siz = 10 [ default = 50.0];
optional int32 cc_split_len = 11 [ default = 25 ];
optional int32 min_cc_pixel_num = 12 [ default = 10 ];
optional int32 min_cc_size = 13 [ default = 5 ];
optional float min_y_search_offset = 14 [ default = 0.5 ];
optional float min_y_search_offset_image = 15 [ default = 0.5 ];
optional float lane_map_confidence_thresh = 9 [default = 0.95];
optional float cc_split_siz = 10 [default = 50.0];
optional int32 cc_split_len = 11 [default = 25];
optional int32 min_cc_pixel_num = 12 [default = 10];
optional int32 min_cc_size = 13 [default = 5];
optional float min_y_search_offset = 14 [default = 0.5];
optional float min_y_search_offset_image = 15 [default = 0.5];
optional string assoc_method = 16;
optional float assoc_min_distance = 17 [ default = -0.5 ];
optional float assoc_min_distance_image = 18 [ default = -3.0 ];
optional float assoc_max_distance = 19 [ default = 60.0 ];
optional float assoc_max_distance_image = 20 [ default = 400.0 ];
optional float assoc_distance_weight = 21 [ default = 0.4 ];
optional float assoc_max_deviation_angle = 22 [ default = 15.0 ];
optional float assoc_max_deviation_angle_image = 23 [ default = 45.0 ];
optional float assoc_deviation_angle_weight = 24 [ default = 0.2 ];
optional float assoc_max_departure_distance = 25 [ default = 3.0 ];
optional float assoc_max_departure_distance_image = 26 [ default = 80.0 ];
optional float assoc_departure_distance_weight = 27 [ default = 0.2 ];
optional float assoc_max_relative_orie = 28 [ default = 15.0 ];
optional float assoc_max_relative_orie_image = 29 [ default = 45.0 ];
optional float assoc_relative_orie_weight = 30 [ default = 0.2 ];
optional float assoc_min_orientation_estimation_size = 31 [ default = 3.0 ];
optional float assoc_min_orientation_estimation_size_image = 32 [ default = 10.0 ];
optional int32 max_cc_marker_match_num = 33 [ default = 1 ];
optional float slide_window_size = 34 [ default = 15.0 ];
optional float slide_window_size_image = 35 [ default = 200.0 ];
optional int32 slide_window_max_point_num = 36 [ default = 3 ];
optional int32 max_group_prediction_marker_num = 37 [ default = 3 ];
optional int32 orientation_estimation_skip_marker_num = 38 [ default = 1 ];
optional float lane_interval_distance = 39 [ default = 4.0 ];
optional float min_instance_size_prefiltered = 40 [ default = 3.0 ];
optional float min_instance_size_prefiltered_image = 41 [ default = 20.0 ];
optional float max_size_to_fit_straight_line = 42 [ default = 10.0 ];
optional float max_size_to_fit_straight_line_image = 43 [ default = 300.0 ];
optional float online_pitch_angle = 44 [ default = -2.5 ];
optional float ground_height = 45 [ default = 1.6 ];
optional float max_distance_to_see_for_transformer = 46 [ default = 500.0 ];
optional float lane_map_scale = 47 [ default = 2.0];
optional int32 start_y_pos = 48 [ default = 312];
optional int32 lane_map_width = 49 [ default = 960];
optional int32 lane_map_height = 50 [ default = 384];
optional float assoc_min_distance = 17 [default = -0.5];
optional float assoc_min_distance_image = 18 [default = -3.0];
optional float assoc_max_distance = 19 [default = 60.0];
optional float assoc_max_distance_image = 20 [default = 400.0];
optional float assoc_distance_weight = 21 [default = 0.4];
optional float assoc_max_deviation_angle = 22 [default = 15.0];
optional float assoc_max_deviation_angle_image = 23 [default = 45.0];
optional float assoc_deviation_angle_weight = 24 [default = 0.2];
optional float assoc_max_departure_distance = 25 [default = 3.0];
optional float assoc_max_departure_distance_image = 26 [default = 80.0];
optional float assoc_departure_distance_weight = 27 [default = 0.2];
optional float assoc_max_relative_orie = 28 [default = 15.0];
optional float assoc_max_relative_orie_image = 29 [default = 45.0];
optional float assoc_relative_orie_weight = 30 [default = 0.2];
optional float assoc_min_orientation_estimation_size = 31 [default = 3.0];
optional float assoc_min_orientation_estimation_size_image = 32
[default = 10.0];
optional int32 max_cc_marker_match_num = 33 [default = 1];
optional float slide_window_size = 34 [default = 15.0];
optional float slide_window_size_image = 35 [default = 200.0];
optional int32 slide_window_max_point_num = 36 [default = 3];
optional int32 max_group_prediction_marker_num = 37 [default = 3];
optional int32 orientation_estimation_skip_marker_num = 38 [default = 1];
optional float lane_interval_distance = 39 [default = 4.0];
optional float min_instance_size_prefiltered = 40 [default = 3.0];
optional float min_instance_size_prefiltered_image = 41 [default = 20.0];
optional float max_size_to_fit_straight_line = 42 [default = 10.0];
optional float max_size_to_fit_straight_line_image = 43 [default = 300.0];
optional float online_pitch_angle = 44 [default = -2.5];
optional float ground_height = 45 [default = 1.6];
optional float max_distance_to_see_for_transformer = 46 [default = 500.0];
optional float lane_map_scale = 47 [default = 2.0];
optional int32 start_y_pos = 48 [default = 312];
optional int32 lane_map_width = 49 [default = 960];
optional int32 lane_map_height = 50 [default = 384];
}
......@@ -3,8 +3,8 @@ syntax = "proto2";
package apollo.perception.low_object_filter_config;
message ModelConfigs {
optional string name = 1 [ default = "LowObjectFilter" ];
optional string version = 2 [ default = "1.0.0" ];
optional double object_height_threshold = 3 [ default = 0.10 ];
optional double object_position_height_threshold = 4 [ default = -1.6 ];
optional string name = 1 [default = "LowObjectFilter"];
optional string version = 2 [default = "1.0.0"];
optional double object_height_threshold = 3 [default = 0.10];
optional double object_position_height_threshold = 4 [default = -1.6];
}
......@@ -3,30 +3,30 @@ syntax = "proto2";
package apollo.perception.modest_radar_detector_config;
message ModelConfigs {
optional string name = 1 [ default = "ModestRadarDetector" ];
optional string version = 2 [ default = "1.0.0" ];
optional bool use_had_map = 3 [ default = true ];
optional double max_theta = 4 [ default = 30.0 ];
optional int32 delay_frames = 5 [ default = 4 ];
optional bool use_fp_filter = 6 [ default = true ];
optional double probexist_vehicle = 7 [ default = 0.9 ];
optional double probexist_pedestrian = 8 [ default = 0.25 ];
optional double probexist_bicycle = 9 [ default = 0.25 ];
optional double probexist_unknown = 10 [ default = 0.99 ];
optional double lo_vel_rms_vehicle = 11 [ default = 0.2 ];
optional double la_vel_rms_vehicle = 12 [ default = 0.3 ];
optional double lo_dist_rms_vehicle = 13 [ default = 0.15 ];
optional double la_dist_rms_vehicle = 14 [ default = 0.2 ];
optional double lo_vel_rms_pedestrian = 15 [ default = 0.5 ];
optional double la_vel_rms_pedestrian = 16 [ default = 0.8 ];
optional double lo_dist_rms_pedestrian = 17 [ default = 0.5 ];
optional double la_dist_rms_pedestrian = 18 [ default = 0.8 ];
optional double lo_vel_rms_bicycle = 19 [ default = 0.5 ];
optional double la_vel_rms_bicycle = 20 [ default = 0.8 ];
optional double lo_dist_rms_bicycle = 21 [ default = 0.5 ];
optional double la_dist_rms_bicycle = 22 [ default = 0.8 ];
optional double lo_vel_rms_unknown = 23 [ default = 0.2 ];
optional double la_vel_rms_unknown = 24 [ default = 0.3 ];
optional double lo_dist_rms_unknown = 25 [ default = 0.2 ];
optional double la_dist_rms_unknown = 26 [ default = 0.3 ];
optional string name = 1 [default = "ModestRadarDetector"];
optional string version = 2 [default = "1.0.0"];
optional bool use_had_map = 3 [default = true];
optional double max_theta = 4 [default = 30.0];
optional int32 delay_frames = 5 [default = 4];
optional bool use_fp_filter = 6 [default = true];
optional double probexist_vehicle = 7 [default = 0.9];
optional double probexist_pedestrian = 8 [default = 0.25];
optional double probexist_bicycle = 9 [default = 0.25];
optional double probexist_unknown = 10 [default = 0.99];
optional double lo_vel_rms_vehicle = 11 [default = 0.2];
optional double la_vel_rms_vehicle = 12 [default = 0.3];
optional double lo_dist_rms_vehicle = 13 [default = 0.15];
optional double la_dist_rms_vehicle = 14 [default = 0.2];
optional double lo_vel_rms_pedestrian = 15 [default = 0.5];
optional double la_vel_rms_pedestrian = 16 [default = 0.8];
optional double lo_dist_rms_pedestrian = 17 [default = 0.5];
optional double la_dist_rms_pedestrian = 18 [default = 0.8];
optional double lo_vel_rms_bicycle = 19 [default = 0.5];
optional double la_vel_rms_bicycle = 20 [default = 0.8];
optional double lo_dist_rms_bicycle = 21 [default = 0.5];
optional double la_dist_rms_bicycle = 22 [default = 0.8];
optional double lo_vel_rms_unknown = 23 [default = 0.2];
optional double la_vel_rms_unknown = 24 [default = 0.3];
optional double lo_dist_rms_unknown = 25 [default = 0.2];
optional double la_dist_rms_unknown = 26 [default = 0.3];
}
......@@ -3,19 +3,19 @@ syntax = "proto2";
package apollo.perception.probabilistic_fusion_config;
message ModelConfigs {
optional string name = 1 [ default = "ProbabilisticFusion" ];
optional string version = 2 [ default = "1.0.0" ];
optional string match_method = 3 [ default = "hm_matcher" ];
optional float max_match_distance = 4 [ default = 4.0 ];
optional float max_lidar_invisible_period = 5 [ default = 0.25 ];
optional float max_radar_invisible_period = 6 [ default = 0.25 ];
optional float max_radar_confident_angle = 7 [ default = 30 ];
optional float min_radar_confident_distance = 8 [ default = 40 ];
optional bool publish_if_has_lidar = 9 [ default = true ];
optional bool publish_if_has_radar = 10 [ default = true ];
optional string name = 1 [default = "ProbabilisticFusion"];
optional string version = 2 [default = "1.0.0"];
optional string match_method = 3 [default = "hm_matcher"];
optional float max_match_distance = 4 [default = 4.0];
optional float max_lidar_invisible_period = 5 [default = 0.25];
optional float max_radar_invisible_period = 6 [default = 0.25];
optional float max_radar_confident_angle = 7 [default = 30];
optional float min_radar_confident_distance = 8 [default = 40];
optional bool publish_if_has_lidar = 9 [default = true];
optional bool publish_if_has_radar = 10 [default = true];
// candidate values: "velodyne_64", "radar", "camera_front_short"
optional string publish_sensor = 11 [ default = "velodyne_64" ];
optional bool use_radar = 12 [ default = true ];
optional bool use_lidar = 13 [ default = true ];
optional float max_camera_invisible_period = 14 [ default = 0.25 ];
optional string publish_sensor = 11 [default = "velodyne_64"];
optional bool use_radar = 12 [default = true];
optional bool use_lidar = 13 [default = true];
optional float max_camera_invisible_period = 14 [default = 0.25];
}
......@@ -3,9 +3,13 @@ syntax = "proto2";
package apollo.perception.sequence_type_fuser_config;
message ModelConfigs {
optional string name = 1 [ default = "SequenceTypeFuser" ];
optional string version = 2 [ default = "1.1.0" ];
optional float temporal_window = 3 [ default = 20.0 ];
optional string classifiers_property_file_path = 4 [ default = "modules/perception/model/sequence_type_fuser/classifiers.property" ];
optional string transition_property_file_path = 5 [ default = "modules/perception/model/sequence_type_fuser/transition.property" ];
optional string name = 1 [default = "SequenceTypeFuser"];
optional string version = 2 [default = "1.1.0"];
optional float temporal_window = 3 [default = 20.0];
optional string classifiers_property_file_path = 4
[default =
"modules/perception/model/sequence_type_fuser/classifiers.property"];
optional string transition_property_file_path = 5
[default =
"modules/perception/model/sequence_type_fuser/transition.property"];
}
......@@ -9,9 +9,9 @@ message CameraFocusConfig {
}
message MultiCamerasProjectionConfig {
optional string name = 1 [ default = "MultiCamerasProjection" ];
optional string version = 2 [ default = "1.0.0" ];
optional string single_projection = 3 [ default = "BoundaryProjection" ];
optional string name = 1 [default = "MultiCamerasProjection"];
optional string version = 2 [default = "1.0.0"];
optional string single_projection = 3 [default = "BoundaryProjection"];
repeated string camera_names = 4;
repeated CameraFocusConfig camera_focus_config = 5;
}
......
......@@ -3,11 +3,11 @@ syntax = "proto2";
package apollo.perception.traffic_light.preprocessor_config;
message ModelConfigs {
optional string name = 1 [ default = "TLPreprocessor" ];
optional string version = 2 [ default = "1.0.0" ];
optional int32 max_cached_lights_size = 3 [ default = 100 ];
optional int32 projection_image_cols = 4 [ default = 1920 ];
optional int32 projection_image_rows = 5 [ default = 1080 ];
optional float sync_interval_seconds = 6 [ default = 0.1 ];
optional float no_signals_interval_seconds = 7 [ default = 0.5 ];
optional string name = 1 [default = "TLPreprocessor"];
optional string version = 2 [default = "1.0.0"];
optional int32 max_cached_lights_size = 3 [default = 100];
optional int32 projection_image_cols = 4 [default = 1920];
optional int32 projection_image_rows = 5 [default = 1080];
optional float sync_interval_seconds = 6 [default = 0.1];
optional float no_signals_interval_seconds = 7 [default = 0.5];
}
......@@ -15,5 +15,3 @@ message RecognizerConfig {
message ModelConfigs {
repeated RecognizerConfig recognizer_config = 1;
}
此差异已折叠。
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册