Skip to content

Publish msg type 'ros2:my_ros2_proto/msg/JointCommand' failed in ros2 channel backend #34

@2212168851

Description

@2212168851

./run_sim.s启动总是报段错误,然后gdb调试发现下面的报错

[2025-05-17 11:42:22.169846][Warn][28295][core][/home/liudahai/Desktop/projects/agibot_x1_infer/build/_deps/aimrt-src/src/plugins/ros2_plugin/ros2_channel_backend.cc:418:9 @publish]Publish msg type 'ros2:my_ros2_proto/msg/JointCommand' failed in ros2 channel backend, topic '/joint_cmd', module 'ControlModule', lib path '/home/liudahai/Desktop/projects/agibot_x1_infer/build/libpkg1.so', error info: publisher implementation is invalid, at ./src/rcl/publisher.c:401

Thread 17 "joy_stic..hread" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffe27fc640 (LWP 28296)]
0x00007ffff01e924f in xyber_x1_infer::joy_stick_module::JoyStickModule::MainLoop (this=) at /home/liudahai/Desktop/projects/agibot_x1_infer/src/module/joy_stick_module/src/joy_stick_module.cc:109
109 ret &= joy_data.buttons[button];

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions