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

Navigation Issue #118

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

Navigation Issue #118

aimethierry opened this issue Apr 12, 2024 · 5 comments

Comments

@aimethierry
Copy link

aimethierry commented Apr 12, 2024

Hey @hippo5329 , @grassjelly , @madgrizzle , @mich1342

Hey i am attempting to do navigation using; using

  1. Ubuntu 20.04
  2. ROS2 FOXY

The following are the commands am running

Bringup file
ros2 launch linorobot2_bringup bringup.launch.py

Gazebo
ros2 launch linorobot2_gazebo gazebo.launch.py

Rviz
ros2 launch linorobot2_navigation navigation.launch.py map:=./src/linorobot2/linorobot2_navigation/maps/klab.yaml sim:=True rviz:=True

Result

By setting initial position on map and set nav to goal in rviz2, as a result the robot moves in simulation but it does not do anything on a real robot and the following is TF view frame

nav_tf

@mich1342
Copy link
Contributor

Hi,

Please read the documentation carefully. All of your commands are for simulation only, not for real robot.

@aimethierry
Copy link
Author

Hi,

Please read the documentation carefully. All of your commands are for simulation only, not for real robot.

Can i see the command for the real robot please, cant see them in the documentation

@aimethierry
Copy link
Author

aimethierry commented Apr 12, 2024

Hi,
Please read the documentation carefully. All of your commands are for simulation only, not for real robot.

Can i see the command for the real robot please, cant see them in the documentation

@mich1342

Can you please help on the commands to use on real robot, i spent so many hours trying but seems like am not understanding the process of doing it

Your help would be so much helpful

@aimethierry
Copy link
Author

aimethierry commented Apr 12, 2024

@hippo5329 , @madgrizzle , @mich1342

Can you please help on the commands to use on real robot, i spent so many hours trying but seems like am not understanding the process of doing it

@hippo5329
Copy link
Contributor

hippo5329 commented Apr 24, 2024

  1. Remove the Gazebo. It is not needed for real robot. Do not run
    ros2 launch linorobot2_gazebo gazebo.launch.py

  2. Remove the sim:= true in navigation command.
    Rviz
    ros2 launch linorobot2_navigation navigation.launch.py map:=./src/linorobot2/linorobot2_navigation/maps/klab.yaml rviz:=True

You may check my wiki. It is for real robots.
https://github.com/hippo5329/linorobot2_hardware/wiki

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