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

[Bug]: Caddy cannot move around in the airport simulation #214

Open
1 task done
Jerrybaoyilei opened this issue Feb 26, 2024 · 2 comments
Open
1 task done

[Bug]: Caddy cannot move around in the airport simulation #214

Jerrybaoyilei opened this issue Feb 26, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@Jerrybaoyilei
Copy link

Before proceeding, is there an existing issue or discussion for this?

OS and version

Ubuntu 22.04

Open-RMF installation type

Binaries

Other Open-RMF installation methods

No response

Open-RMF version or commit hash

2.0.4

ROS distribution

Humble

ROS installation type

Binaries

Other ROS installation methods

No response

Package or library, if applicable

No response

Description of the bug

When running the airport simulation, the caddy cannot be moved around by pressing the corresponding keys (u, i, o, j, k, l, m, ,, .). However, pressing the keys to change velocity (q, z, w, x) actually lead to changes in velocity.

Steps to reproduce the bug

  1. In a new terminal, source the setup.bash file and launch RMF using ros2 launch rmf_demos_gz_classic airport_terminal.launch.xml
  2. In another new terminal, source the setup.bash file and run ros2 run teleop_twist_keyboard teleop_twist_keyboard to enable keyboard controls to move the caddy around
  3. Keep this terminal in step 2 in focus, and press the corresponding keys to try to move the caddy around, and the caddy won't be moving around. However, its velocity can be changed.

Expected behavior

The caddy is expected to move around when corresponding keys (u, i, o, j, k, l, m, ,, .) are pressed.

Actual behavior

The caddy stays stationary even when these keys are pressed.

Additional information or screenshots

I checked the output on the terminal in step 1, and found the following:

[INFO] [simple_api_server - 14]: process started with pid [12438]
...
[ERROR] [simple_api-server - 14]: process has died [pid 12438, exit code 1, cmd '/home/jbao/one_robot_ws/install/rmf_demos_panel/lib/rmf_demos_panel/simple_api_server --ros-args --params-file /tmp/launch_params_4_9bokri']

@Jerrybaoyilei Jerrybaoyilei added the bug Something isn't working label Feb 26, 2024
@Yadunund
Copy link
Member

Yadunund commented Feb 26, 2024

Does it work with the _gz_classic launch?

Might be due to the forward slash in the filename attribute. Could you remove the forward slash, rebuild, and try again? If that works then we need to find a better way to list both plugins. But we're planning to drop the *_gz_classic pkgs for jazzy release so it won't be a problem moving forward. Although if you find a fix, it might be a worthwhile backport to iron and humble.

@Jerrybaoyilei
Copy link
Author

Hi, I was actually using the gz_classic launch when the problem occured. I never used the non-classic launch. I launched the demo using command ros2 launch rmf_demos_gz_classic (I am not entirely sure if this is what you are referring to, as I am fairly new to ROS 2 and open-rmf (I'm sorry!))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants