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

Add navigation of simulated curio #18

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions SIMULATION.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
In order to start up the simulation:
```
roslaunch mybot_gazebo mybot_world.launch
roslaunch roslaunch curio_viz view_model.launch
```

Send a base controller command and ensure that the robot moves in both Gazebo and rviz:
```
rostopic pub /cmd_vel geometry_msgs/Twist "linear:
x: 0.2
y: 0.0
z: 0.0
angular:
x: 0.0
y: 0.0
z: 0.1"
```

To make a map:
Terminal A:
A$: roslaunch curio_gazebo curio_shapes_world.launch
will start up gazebo and rqt_robot_steering
Terminal B:
B$: ± roslaunch curio_viz view_robot.launch
Terminal B:
C$: ± rosrun gmapping slam_gmapping scan:=sensors/laser
Gazebo:
Don't forget to hit 'play' before you move the robot around.

Driver the robot around, making a map as seen in rviz. When you are happy with the map:
rosrun map_server map_saver -f <map_name>



Trying to mirror https://emanual.robotis.com/docs/en/platform/turtlebot3/navigation/#navigation

roslaunch curio_navigation curio_navigation.launch map_file:=$HOME/curio_shapes_map.yaml
1 change: 0 additions & 1 deletion curio_gazebo/launch/curio_shapes_world.launch
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@

<!-- Spawn the model -->
<include file="$(find curio_gazebo)/launch/curio_spawn.launch">
<arg name="use_rqt_robot_steering" value="$(arg use_rqt_robot_steering)"/>
</include>

</launch>