提交 c9873419 编写于 作者: J Jiangtao Hu 提交者: Liangliang Zhang

script: deprecate /apollo/meta. new info is available from /apollo/monitor/static_info.

上级 449417a4
...@@ -49,16 +49,6 @@ function start() { ...@@ -49,16 +49,6 @@ function start() {
cd "${BAG_DIR}" cd "${BAG_DIR}"
echo "Recording bag to: $(pwd)" echo "Recording bag to: $(pwd)"
# record some meta info into bag
if [ -e /apollo/meta.ini ]; then
META_STR=`cat /apollo/meta.ini | tr '[]:\n' ' '`
nohup rostopic pub -l /apollo/meta std_msgs/String "$META_STR" < /dev/null &
else
META_STR=`git rev-parse HEAD`
META_STR="git commit $META_STR"
nohup rostopic pub -l /apollo/meta std_msgs/String "$META_STR" < /dev/null &
fi
# Start recording. # Start recording.
LOG="/tmp/apollo_record.out" LOG="/tmp/apollo_record.out"
NUM_PROCESSES="$(pgrep -c -f "rosbag record")" NUM_PROCESSES="$(pgrep -c -f "rosbag record")"
...@@ -79,7 +69,6 @@ function start() { ...@@ -79,7 +69,6 @@ function start() {
/apollo/canbus/chassis_detail \ /apollo/canbus/chassis_detail \
/apollo/control \ /apollo/control \
/apollo/control/pad \ /apollo/control/pad \
/apollo/meta \
/apollo/perception/obstacles \ /apollo/perception/obstacles \
/apollo/perception/traffic_light \ /apollo/perception/traffic_light \
/apollo/planning \ /apollo/planning \
...@@ -100,7 +89,6 @@ function start() { ...@@ -100,7 +89,6 @@ function start() {
function stop() { function stop() {
pkill -SIGINT -f record pkill -SIGINT -f record
pkill -SIGINT -f "rostopic pub"
} }
function help() { function help() {
......
...@@ -7,7 +7,6 @@ ...@@ -7,7 +7,6 @@
/apollo/localization/msf_lidar /apollo/localization/msf_lidar
/apollo/localization/msf_status /apollo/localization/msf_status
/apollo/localization/pose /apollo/localization/pose
/apollo/meta
/apollo/monitor /apollo/monitor
/apollo/monitor/static_info /apollo/monitor/static_info
/apollo/perception/obstacles /apollo/perception/obstacles
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册