Skip to content

Andy-Leo10/tortoisebot_ros1_test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tortoisebot_ros1_test

Simulation

start

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

reset

rosservice call /gazebo/reset_world "{}"

Action

compile

cd simulation_ws/;catkin_make;source devel/setup.bash

start server

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

run client

source ~/simulation_ws/devel/setup.bash
rosrun tortoisebot_waypoints exp_action_client.py

TEST

build

cd simulation_ws/;catkin_make;source devel/setup.bash

run test

cd simulation_ws/;catkin_make run_tests

launch test

rostest --text tortoisebot_waypoints waypoints_test.test --reuse-master

check log

vim /home/user/.ros/test_results/tortoisebot_waypoints/rostest-test_waypoints_test.xml

clean tests

rm -r /home/user/simulation_ws/build/test_results/tortoisebot_waypoints

RESULTS

[!NOTE] test-pass: tests pass correctly if the goal is reached before and before timeout test-pass

[!CAUTION] test-fail: tests don't pass correctly if the goal is not reached or due to timeout test-fail

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages