Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
rafal-gorecki committed Nov 30, 2023
1 parent 76f0197 commit bc8dd8c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions rosbot_xl_gazebo/test/test_diff_drive_simulation.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def test_diff_drive_simulation():
# 0.9 m/s and 3.0 rad/s are controller's limits defined in
# rosbot_controller/config/diff_drive_controller.yaml
node.set_destination_speed(0.9, 0.0, 0.0)
time.sleep(3) # Wait 3 seconds for the velocity ​​to stabilize
time.sleep(5) # Wait 5 seconds for the velocity ​​to stabilize
assert (
node.controller_odom_flag
), "ROSbot does not move properly in x direction. Check rosbot_xl_base_controller!"
Expand All @@ -71,7 +71,7 @@ def test_diff_drive_simulation():
), "ROSbot does not move properly in x direction. Check ekf_filter_node!"

node.set_destination_speed(0.0, 0.0, 3.0)
time.sleep(3) # Wait 3 seconds for the velocity ​​to stabilize
time.sleep(5) # Wait 5 seconds for the velocity ​​to stabilize
assert (
node.controller_odom_flag
), "ROSbot does not rotate properly. Check rosbot_xl_base_controller!"
Expand Down
6 changes: 3 additions & 3 deletions rosbot_xl_gazebo/test/test_mecanum_simulation.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def test_mecanum_simulation():
# 0.9 m/s and 3.0 rad/s are controller's limits defined in
# rosbot_controller/config/mecanum_drive_controller.yaml
node.set_destination_speed(0.9, 0.0, 0.0)
time.sleep(3) # Wait 3 seconds for the velocity ​​to stabilize
time.sleep(5) # Wait 5 seconds for the velocity ​​to stabilize
assert (
node.controller_odom_flag
), "ROSbot does not move properly in x direction. Check rosbot_xl_base_controller!"
Expand All @@ -71,7 +71,7 @@ def test_mecanum_simulation():
), "ROSbot does not move properly in x direction. Check ekf_filter_node!"

node.set_destination_speed(0.0, 0.9, 0.0)
time.sleep(3) # Wait 3 seconds for the velocity ​​to stabilize
time.sleep(5) # Wait 5 seconds for the velocity ​​to stabilize
assert (
node.controller_odom_flag
), "ROSbot does not move properly in y direction. Check rosbot_xl_base_controller!"
Expand All @@ -80,7 +80,7 @@ def test_mecanum_simulation():
), "ROSbot does not move properly in y direction. Check ekf_filter_node!"

node.set_destination_speed(0.0, 0.0, 3.0)
time.sleep(3) # Wait 3 seconds for the velocity ​​to stabilize
time.sleep(5) # Wait 5 seconds for the velocity ​​to stabilize
assert (
node.controller_odom_flag
), "ROSbot does not rotate properly. Check rosbot_xl_base_controller!"
Expand Down

0 comments on commit bc8dd8c

Please sign in to comment.