mbeutelspacher / ros.el

A package to ease the interaction ROS nodes and the development of ROS software
GNU General Public License v3.0
10 stars 3 forks source link

Can't echo ros2 topics #34

Open MuhamedAgic opened 8 months ago

MuhamedAgic commented 8 months ago

I really like the ros package for emacs! Unfortunately, i can't echo ros 2 topics. It uses the "rostopic echo" command from ros1 instead of "ros2 ropic echo" from ros2.

This is the error message: "Process rostopic echo /rosout exited abnormally with code 127"

I'm on emacs 27.1

mbeutelspacher commented 7 months ago

Hi, sorry for the late reply.

Good catch, I'm using the package mainly for building and running tests and therefore the interactive interaction with topics and services is not tested that well. Very good catch in fact, there were two bugs in there, firstly I didn't not distinguish between ros1 and ros2 here and secondly I ignored the tramp prefix and therefore did run the process always on the main machine.

Both should be fixed with https://github.com/mbeutelspacher/ros.el/pull/35. Feel free to close this issue, if that solves your problem.

MuhamedAgic commented 7 months ago

Nice! I am planning to look into this this weekend