Skip to content

test: Remove humanworker from scene when testing - #60

Merged
knicked merged 3 commits into
developmentfrom
kd/remove_humanworker
Jul 14, 2026
Merged

knicked merged 3 commits into
developmentfrom
kd/remove_humanworker

Conversation

@knicked

@knicked knicked commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

Added a simple script that will destroy the humanworker after receiving a message from a topic.
image

Added code to send the message before initializing scene_manager fixture in tests.

@boczekbartek boczekbartek left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@knicked Nice feature! Tested is in a clean repository clone to be sure.

When I run:

pixi run ros2 topic pub /remove_humanworker std_msgs/msg/Int32 "data: 0"

HumanWorker is despawned correctly.

But unfortunately it doesn't work in tests for me. Any ideas why?

pixi run sim
pixi run stack
pixi run agents
pixi run test

Signed-off-by: Kacper Dąbrowski <kacper.dabrowski@robotec.ai>
@knicked
knicked force-pushed the kd/remove_humanworker branch from 5090f75 to cd1f8db Compare July 14, 2026 13:09
@knicked
knicked changed the base branch from kd/batch_spawning to development July 14, 2026 13:09
@knicked
knicked merged commit 55c91ed into development Jul 14, 2026
1 check passed
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

Successfully merging this pull request may close these issues.

2 participants