-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
1、目前存在一定概率用stop指令无法停止can模块运行,只能kill进程,需要排查一下;
2. 2、 目前参数设置文件较乱:
(1)、\modules\control\conf文件夹中有ControlSettings.config与control_setting_conf.pb.txt两个文件,其中部分参数取自config文件,部分参数取自txt文件,需要统一;
(2)、modules\canbus\conf中的配置文件在transport_controller.cc没有生效,改参数只能通过\modules\canbus\proto中的transport_can_conf.proto中修改默认值,需要排查;
最好把以上两个模块的参数配置合并到一个配置文件,便于统一设置。
3、目前启动程序步骤过于繁琐,开机后首先需要执行下述命令设置can总线波特率:
sudo ifconfig can0 down
sudo ip link set can0 type can bitrate 250000
sudo ip link set up can0
sudo ifconfig can1 down
sudo ip link set can1 type can bitrate 500000
sudo ip link set up can1
ifconfig
然后再进行程序编译,打开cyber_monitor等,分别启动can、gps、control模块才可以运行;因此希望使用编写脚本,简化canbus波特率设置与程序启动步骤。
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels

