sea-bass / pyrobosim

ROS 2 enabled 2D mobile robot simulator for behavior prototyping.
https://pyrobosim.readthedocs.io/
MIT License
220 stars 37 forks source link

Fix GUI threading errors when clicking Navigate button #195

Closed sea-bass closed 2 months ago

sea-bass commented 2 months ago

I think this finally fixes the annoying QBasicTimer error messages!!!

Closes https://github.com/sea-bass/pyrobosim/issues/194

github-actions[bot] commented 2 months ago

Coverage

Coverage Report
FileStmtsMissCoverMissing
__init__.py00100% 
core
   __init__.py90100% 
   dynamics.py430100% 
   gazebo.py136894%55, 124, 230, 244–248
   hallway.py731086%59, 61, 63, 96, 158, 196–199, 205
   locations.py1262183%53, 55, 69, 84–85, 87, 98–99, 101–102, 119, 177, 192, 217, 227, 273, 284–285, 287–288, 312
   objects.py69494%78, 106, 137, 197
   robot.py2545677%151–152, 238, 251, 298, 312–313, 317, 321, 327–328, 330–331, 348–349, 377, 379–380, 401–402, 405–408, 411–413, 471, 477–478, 480, 482–485, 493–496, 507, 515, 521, 526–527, 530, 550–551, 558, 567, 570, 575, 588–592
   room.py48197%113
   world.py57514175%146–147, 183–184, 188, 241–242, 244–245, 273–274, 325, 339–340, 342–343, 372–376, 378–380, 382–383, 386, 390–394, 397–399, 402–409, 440, 476–477, 480, 496, 526–527, 538, 541, 549, 565–569, 571–573, 576–577, 580–583, 585, 588, 590–592, 594–596, 598, 613, 620, 631–635, 670–671, 675–676, 694–695, 701–702, 704–705, 707, 709–710, 712, 714–715, 725–726, 729, 731, 745, 747, 754, 801, 832–833, 852–853, 857–858, 893–894, 896, 913–914, 933–937, 949–952, 964–967, 981, 992–993, 995, 1039–1040, 1092, 1172–1173, 1219
   yaml_utils.py1061189%64, 68, 153–155, 159–160, 183–184, 208–209
gui
   __init__.py20100% 
   main.py1873481%24, 26, 28–30, 32, 53, 85–86, 201, 213–217, 224–227, 229, 232–238, 242–244, 248–249, 260, 271
   world_canvas.py2426772%41–43, 45–52, 55–62, 64–65, 73–74, 76–78, 153–156, 163, 165, 223, 261, 265, 318, 327, 333, 340–341, 343, 345–347, 350–353, 355, 359–364, 367, 370–371, 386–388, 391, 408, 451, 472, 476, 498
manipulation
   __init__.py10100% 
   grasping.py2366174%102, 110–112, 114–122, 124, 132, 462, 464–466, 470–472, 566–568, 571–575, 583, 586–588, 593–594, 600–604, 607–614, 617–619, 628, 630, 632–638
navigation
   __init__.py30100% 
   a_star.py781087%67–72, 74–76, 165
   execution.py34488%45–46, 48–49
   occupancy_grid.py1391489%44–47, 49–53, 56, 192, 226, 234, 238
   path_planner.py26676%33, 36, 38, 42, 85, 90
   planner_base.py593147%29–35, 51, 57–59, 86, 98, 101, 105, 113–114, 117–119, 122–124, 127, 129, 140–145
   prm.py725622%40–44, 46, 50–51, 54, 57–64, 66–67, 76–79, 85, 101–102, 104–109, 111–112, 115–118, 121–126, 135, 144, 154, 156, 158–159, 161, 174–178
   rrt.py172795%228, 353–354, 360–361, 363, 392
   world_graph.py70395%118, 121, 145
planning
   __init__.py00100% 
   actions.py704732%59–60, 62, 66–75, 77–80, 82–86, 88–91, 93–97, 99–102, 104–105, 107–109, 155–156, 159–163
planning/pddlstream
   __init__.py7185%13
   defaultmappings.py90100% 
   planner.py40880%119–126
   primitives.py57296%68, 208
   utils.py85396%66, 99–100
utils
   __init_\.py00100% 
   general.py33487%23, 45, 51–52
   knowledge.py1441688%95–96, 105, 140–143, 150, 154–155, 168, 183, 187, 229, 245, 308
   motion.py60690%56, 67–71
   polygon.py1110100% 
   pose.py89297%211, 227
   search_graph.py93396%240–242
   trajectory.py650100% 
TOTAL362363782% 

Tests Skipped Failures Errors Time
172 0 :zzz: 0 :x: 0 :fire: 3m 33s :stopwatch: