synapticon / ros_ethercat_igh

EtherCAT ROS support based on IgH Master and Motorcortex
39 stars 21 forks source link

Roslaunch motion_control motion_control.launch produces an error #4

Closed JauriG closed 5 years ago

JauriG commented 5 years ago

The crash comes after the command : mcx::log::Module logger(path_log);

The launch command outputs :

setting /run_id to 36355bac-14d8-11e9-a3b1-001500cbe25b process[rosout-1]: started with pid [8208] started core service [/rosout] process[ros_ethercat_server-2]: started with pid [8211] 2019-00-10 14:04:07.312 [ERROR] Failed to configure malloc behavior

[ros_ethercat_server-2] process has died [pid 8211, exit code -11, cmd /home/synapticon/catkin_ws/devel/lib/ethercat_master/ethercat_master_server name:=ros_ethercat_server log:=/home/synapticon/.ros/log/36355bac-14d8-11e9-a3b1-001500cbe25b/ros_ethercat_server-2.log]. log file: /home/synapticon/.ros/log/36355bac-14d8-11e9-a3b1-001500cbe25b/ros_ethercat_server-2*.log

vtretyakov commented 5 years ago

@JauriG could you describe your slave devices configuration, i.e., which devices are connected and firmware version?

JauriG commented 5 years ago

The error came from the fact that the pdo.xml file still had two drives defined, when I had only one connected. Once the second configuration has been erased, the program worked as intended. The issue is now solved