Skip to content

Andy-Leo10/tortoisebot_webapp

Repository files navigation

tortoisebot_webapp

2024-02-28.11-56-47.mp4

terminal 1 - simulation

source ~/simulation_ws/devel/setup.bash
roslaunch tortoisebot_gazebo tortoisebot_docking.launch

terminal 2 - http server

cd ~/webpage_ws/tortoisebot_webapp
python -m http.server 7000

terminal 3 - launch (if local ws/)

source ~/simulation_ws/devel/setup.bash
roslaunch my_package main.launch

terminal 3 - bridge

source ~/simulation_ws/devel/setup.bash
roslaunch course_web_dev_ros web.launch

terminal 4 - mapping

source ~/simulation_ws/devel/setup.bash
roslaunch tortoisebot_slam mapping.launch

terminal 5 - action server

source ~/simulation_ws/devel/setup.bash
rosrun course_web_dev_ros tortoisebot_action_server.py

terminal 6 - tf data

source ~/simulation_ws/devel/setup.bash
roslaunch course_web_dev_ros tf2_web.launch

terminal 7 - others

Check action server

rostopic type /tortoisebot_as/goal
rosmsg show course_web_dev_ros/WaypointActionActionGoal
rostopic pub /tortoisebot_as/goal course_web_dev_ros/WaypointActionActionGoal "

Run robot

rosrun teleop_twist_keyboard teleop_twist_keyboard.py

Links for application

webvideo_address
rosbridge_address
webpage_address

imagen