cyber_recorder record -c /apollo/localization/pose /apollo/canbus/chassis /apollo/perception/obstacles /apollo/prediction /apollo/planning /apollo/control
cyber_channel echo /apollo/prediction
df -hl
1、scp命令的实际应用概述:
(1) 复制文件:
命令格式:
scp local_file remote_username@remote_ip:remote_folder
或者
scp local_file remote_username@remote_ip:remote_file
或者
scp local_file remote_ip:remote_folder
或者
scp local_file remote_ip:remote_file
第1,2个指定了用户名,命令执行后需要输入用户密码,第1个仅指定了远程的目录,文件名字不变,第2个指定了文件名
第3,4个没有指定用户名,命令执行后需要输入用户名和密码,第3个仅指定了远程的目录,文件名字不变,第4个指定了文件名
(2) 复制目录:
命令格式:
scp -r local_folder remote_username@remote_ip:remote_folder
或者
scp -r local_folder remote_ip:remote_folder
从远程服务器复制到本地服务器:
从远程复制到本地的scp命令与上面的命令雷同,只要将从本地复制到远程的命令后面2个参数互换顺序就行了。
实例1:从远处复制文件到本地目录
命令:
scp root@192.168.120.204:/opt/soft/nginx-0.5.38.tar.gz /opt/soft/
实例2:从远处复制到本地
命令:
scp -r root@192.168.120.204:/opt/soft/mongodb /opt/soft/
./bazel-bin/cyber/mainboard -d modules/tools/prediction/fake_prediction/fake_prediction.dag
cyber_recorder record -a
ROS Cyber 备注
rosbag play example.bag cyber_recorder play -f example.record 播放一个包
rosbag info example.bag cyber_recorder info example.record 查看一个包的信息
rosbag record /apollo/canbus/chassis \ /apollo/canbus/chassis_detail cyber_recorder record /apollo/canbus/chassis \ /apollo/canbus/chassis_detail 录制多个topic
rosbag filter input.bag output.bag ‘topic != “/apollo/planning”’ cyber_recorder split -f input_file.record -o ouput_file.record -k “/apollo/planning” 滤除一个topic
rosbag filter csc.bag csc_no_plannig_and_relativemap.bag ‘topic != “/apollo/planning” and “/apollo/relative_map”’ cyber_recorder split -f input_file.record -o ouput_file.record -k “/apollo/planning” -k “/apollo/relative_map”’ 滤除多个topic
rostopic list cyber_channel list 列出所有活动的topic
rostopic info /apollo/planning cyber_channel info /apollo/planning 查看 /apollo/planning topic的概要信息
rostopic echo /apollo/planning cyber_channel echo /apollo/planning 查看 /apollo/planning topic的内容
rostopic hz /apollo/planning cyber_channel hz /apollo/planning 查看 /apollo/planning topic的发送频率
rostopic bw /apollo/planning cyber_channel bw /apollo/planning 查看 /apollo/planning topic的带宽
rostopic type /apollo/planning cyber_channel type /apollo/planning 查看 /apollo/planning topic的数据类型