提交 48efb690 编写于 作者: A Aaron Xiao 提交者: Dong Li

Tiny fix on code styles.

上级 cf0e6520
......@@ -14,10 +14,10 @@
* limitations under the License.
*****************************************************************************/
#include <stdio.h>
#include <termios.h>
#include <iostream>
#include <memory>
#include <stdio.h>
#include <termios.h>
#include <thread>
#include "ros/include/ros/ros.h"
......@@ -381,7 +381,7 @@ void signal_handler(int32_t signal_num) {
ros::shutdown();
}
} // end of namespace;
} // namespace
int main(int32_t argc, char** argv) {
google::InitGoogleLogging(argv[0]);
......
......@@ -14,7 +14,8 @@ package apollo.common;
message PointENU {
optional double x = 1 [default = nan]; // East from the origin, in meters.
optional double y = 2 [default = nan]; // North from the origin, in meters.
optional double z = 3 [default = 0.0]; // Up from the WGS-84 ellipsoid, in meters.
optional double z = 3 [default = 0.0]; // Up from the WGS-84 ellipsoid, in
// meters.
}
// A point in the global reference frame. Similar to PointENU, PointLLH allows
......
......@@ -11,9 +11,9 @@ message StreamStatus {
CONNECTED = 1;
}
optional Type ins_stream_type = 2 [default=DISCONNECTED];
optional Type rtk_stream_in_type = 3 [default=DISCONNECTED];
optional Type rtk_stream_out_type = 4 [default=DISCONNECTED];
optional Type ins_stream_type = 2 [default = DISCONNECTED];
optional Type rtk_stream_in_type = 3 [default = DISCONNECTED];
optional Type rtk_stream_out_type = 4 [default = DISCONNECTED];
}
message InsStatus {
......@@ -30,14 +30,14 @@ message InsStatus {
// Safe to use. The INS has fully converged.
GOOD = 2;
}
optional Type type = 2 [default=INVALID];
optional Type type = 2 [default = INVALID];
}
message GnssStatus {
optional apollo.common.Header header = 1;
optional bool solution_completed = 2 [default=false];
optional uint32 solution_status = 3 [default=0];
optional uint32 position_type = 4 [default=0];
optional bool solution_completed = 2 [default = false];
optional uint32 solution_status = 3 [default = 0];
optional uint32 position_type = 4 [default = 0];
// Number of satellites in position solution.
optional int32 num_sats = 5 [default=0];
optional int32 num_sats = 5 [default = 0];
}
......@@ -11,9 +11,9 @@ message StreamStatus {
CONNECTED = 1;
}
optional Type ins_stream_type = 2 [default=DISCONNECTED];
optional Type rtk_stream_in_type = 3 [default=DISCONNECTED];
optional Type rtk_stream_out_type = 4 [default=DISCONNECTED];
optional Type ins_stream_type = 2 [default = DISCONNECTED];
optional Type rtk_stream_in_type = 3 [default = DISCONNECTED];
optional Type rtk_stream_out_type = 4 [default = DISCONNECTED];
}
message InsStatus {
......@@ -30,14 +30,14 @@ message InsStatus {
// Safe to use. The INS has fully converged.
GOOD = 2;
}
optional Type type = 2 [default=INVALID];
optional Type type = 2 [default = INVALID];
}
message GnssStatus {
optional apollo.common.Header header = 1;
optional bool solution_completed = 2 [default=false];
optional uint32 solution_status = 3 [default=0];
optional uint32 position_type = 4 [default=0];
optional bool solution_completed = 2 [default = false];
optional uint32 solution_status = 3 [default = 0];
optional uint32 position_type = 4 [default = 0];
// Number of satellites in position solution.
optional int32 num_sats = 5 [default=0];
optional int32 num_sats = 5 [default = 0];
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册