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

problem with workstations name and type #43

Open
MRJ-XZ opened this issue Feb 24, 2024 · 0 comments
Open

problem with workstations name and type #43

MRJ-XZ opened this issue Feb 24, 2024 · 0 comments

Comments

@MRJ-XZ
Copy link

MRJ-XZ commented Feb 24, 2024

Greetings, I tried to generate a task; however using rostopic echo command, i noticed that workstations type comes in the place of their names and their type is empty. I investigated a bit in generator.cpp of simple task generator and found out this:

Line468: task.arena_start_state[i].name = table.second.name;
Line469: task.arena_start_state[i].name = table.second.type;
Line470: task.arena_target_state[i].name = table.second.name;
Line471: task.arena_target_state[i].name = table.second.type;

It seems that workstation type overwrites workstation name, so the incoming task only contains workstations type. after changing the code a bit, everything works fine and workstation name and type are correct.

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