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

Simulation issue #117

Open
aimethierry opened this issue Apr 8, 2024 · 5 comments
Open

Simulation issue #117

aimethierry opened this issue Apr 8, 2024 · 5 comments

Comments

@aimethierry
Copy link

Hey @grassjelly,

First and foremost, thank you for your hard work. I am attempting to utilize this package but am getting warnings during the launch of gazebo, which I am using.
Am on

  • Ubuntu 20.04
  • ROS2 FOXY

this is how i launch the bring up file
ros2 launch linorobot2_bringup bringup.launch.py base_serial_port:=/dev/ttyUSB0 joy:=true

this is how launch the gazebo
ros2 launch linorobot2_gazebo gazebo.launch.py

the following is my error.

error

@grassjelly
Copy link
Member

Hey, you can't run gazebo.launch.py and bringup.launch.py at the same time. If you're running simulation., just run gazebo.launch.py

@aimethierry
Copy link
Author

Hey, you can't run gazebo.launch.py and bringup.launch.py at the same time. If you're running simulation., just run gazebo.launch.py

Thank you, i will look into it. However, Can I test the robot navigation using my PC instead of the Raspberry Pi?

@aimethierry
Copy link
Author

run

Hey, you can't run gazebo.launch.py and bringup.launch.py at the same time. If you're running simulation., just run gazebo.launch.py

Hey @grassjelly ,

Now am running the package on a real robot, However, when i open a new terminal to run gazebo after the bring up i always get the same issue, Do you have an idea on how i can solve this problem if TF.

These are the command i am using
ros2 launch linorobot2_bringup bringup.launch.py use_sim_time:=False
ros2 launch linorobot2_gazebo gazebo.launch.py

@mich1342
Copy link
Contributor

In real robot you just run the bringup without the gazebo

@aimethierry
Copy link
Author

In real robot you just run the bringup without the gazebo

Hey @mich1342 ,

Thanks for your response, by not launching gazebo i cant set initial position

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

3 participants