Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ros2 turtlesim] SIGINT signal on parent not terminated Turtlesim GUI application #160

Open
ionutnechita-intel opened this issue Dec 18, 2023 · 0 comments

Comments

@ionutnechita-intel
Copy link

Bug report

SIGINT signal on parent not terminated Turtlesim GUI application

Required Info:

  • Operating System:
    • Ubuntu 22.04 IOT LTS (Desktop Variant)
  • Installation type:
    • Binary
  • Version or commit hash:
    • 3.3.11-1jammy.20231117.192526
  • DDS implementation:
    • default DDS
  • Client library (if applicable):
    • rclpy
  • ROS Distro:
    • Humble

Steps to reproduce issue

Execute command:

  1. Execute in terminal: " ros2 run turtlesim turtlesim_node & "
  2. Search parent process ID(PID).
  3. Send SIGINT(2) signal turtlesim_node parent process ID to terminate application.

Expected behavior

No error on output terminal. GUI Application is stopped completly.

Actual behavior

Application is not stopped.

Turtlesim version:

dpkg -l | grep turtlesim
ii ros-humble-turtlesim 1.4.2-1jammy.20231117.205321 amd64 turtlesim is a tool made for teaching ROS and ROS packages.

ros2 run turtlesim turtlesim_node &
[1] 34134
$ [INFO] [1701706328.680594516] [turtlesim]: Starting turtlesim with node name /turtlesim
   [INFO] [1701706328.682257037] [turtlesim]: Spawning turtle [turtle1] at x=[5,544445], y=[5,544445], theta=[0,000000]

kill -2 34134

34134  0.0  0.1  29232 17288 pts/0    S    18:12   0:00 /usr/bin/python3 /opt/ros/humble/bin/ros2 run turtlesim turtlesim_node
34440  0.0  0.0  12084  2544 pts/1    S+   18:13   0:00 grep --color=auto 34134

Turtlesim GUI application is not stopped.

34134  0.0  0.1  29232 17288 pts/0    S    18:12   0:00 /usr/bin/python3 /opt/ros/humble/bin/ros2 run turtlesim turtlesim_node
34135  0.7  0.6 615320 98808 pts/0    Sl   18:12   0:01 /opt/ros/humble/lib/turtlesim/turtlesim_node
34442  0.0  0.0  12084  2616 pts/1    S+   18:15   0:00 grep --color=auto ros


When using: kill -2 -34134, application is terminated. But i used minus on parent ID. And this is not correctly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant