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 world reset UI button #270

Merged
merged 3 commits into from
Sep 17, 2024
Merged

Add world reset UI button #270

merged 3 commits into from
Sep 17, 2024

Conversation

sea-bass
Copy link
Owner

@sea-bass sea-bass commented Sep 17, 2024

This only currently works if the world was loaded from a YAML file. Otherwise, we need to actually store a full state.

... maybe in future we can make a function that serializes a world to file which should help.

image

Copy link

github-actions bot commented Sep 17, 2024

Coverage

Coverage Report
FileStmtsMissCoverMissing
__init__.py00100% 
core
   __init__.py90100% 
   dynamics.py47197%140
   gazebo.py136894%55, 124, 230, 244–248
   hallway.py94891%200, 242–245, 269–271
   locations.py1311886%69, 71, 88, 104, 117–118, 120–121, 138, 196, 211, 236, 246, 302–303, 305–306, 335
   objects.py69494%78, 106, 137, 197
   robot.py4646985%263–264, 276, 279, 283–284, 289–290, 336, 359–360, 401–403, 407–411, 436, 439, 443–445, 472, 474, 516–517, 519–520, 537–539, 555–557, 624–626, 651–653, 704–706, 775–777, 829–831, 854, 860, 863, 865, 867, 870–872, 882, 890, 896, 902, 908, 920, 962, 980, 983, 988
   room.py48197%113
   world.py80518976%154–155, 191–192, 196, 270–271, 273–274, 304–305, 367, 381–382, 384–385, 400–402, 422–426, 428–430, 432–433, 436, 438–441, 445–449, 452–454, 457–468, 484–485, 503–505, 519, 521, 524–525, 530–532, 571, 573, 576–577, 582–584, 594–596, 631, 633, 636–637, 642–644, 667, 669, 672–673, 678–680, 726–727, 730, 751, 781–782, 793, 796, 804, 820–824, 826–828, 831–832, 835–838, 840, 843, 845–847, 849–851, 853, 868, 875, 886–890, 925–926, 930–931, 949–950, 956–957, 959–960, 962, 964–965, 967, 969–970, 980–981, 984, 986, 1000, 1002, 1009, 1056, 1087–1088, 1111–1112, 1116–1117, 1136–1137, 1141–1142, 1165, 1167–1168, 1204, 1221–1222, 1246, 1311, 1318, 1336–1339, 1351–1354, 1368, 1382, 1426–1427, 1479, 1559–1560, 1626, 1636
   yaml_utils.py109694%62, 66, 168–169, 188–189
gui
   __init__.py20100% 
   main.py2637173%22–24, 45, 85, 89–92, 238–247, 259–268, 275–278, 280, 283–289, 293, 298–299, 303–304, 315, 355–356, 365–366, 370–371, 382, 385–388, 390–391, 394–397, 399–401, 405–408
   world_canvas.py3025880%46–47, 49–53, 56, 169–172, 176–177, 182–183, 190, 192, 194, 251–253, 259, 261, 281–283, 328, 385–386, 413–414, 416, 418–420, 423–426, 428, 432–438, 441, 444–445, 461, 480, 523, 547, 577, 597, 614
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__.py11190%37
   a_star.py771185%83–88, 90–92, 180, 189
   execution.py90792%73–75, 80–82, 119
   occupancy_grid.py1391489%44–47, 49–53, 56, 192, 226, 234, 238
   prm.py56492%60–61, 140, 149
   rrt.py1610100% 
   visualization.py32681%88–93
   world_graph.py58493%117, 120, 130, 139
planning
   __init__.py00100% 
   actions.py1120100% 
planning/pddlstream
   __init__.py7185%13
   default_mappings.py90100% 
   planner.py40880%119–126
   primitives.py61493%68, 82, 94, 232
   utils.py99891%66, 93, 105, 115–116, 207–208, 211
utils
   __init__.py00100% 
   general.py33487%23, 45, 51–52
   knowledge.py1542285%86, 117, 156–161, 163–164, 167–168, 170–173, 189, 204, 208, 250, 266, 329
   motion.py70395%93–94, 96
   polygon.py1110100% 
   pose.py890100% 
   search_graph.py93396%240–242
   trajectory.py67297%130, 165
TOTAL428559686% 

Tests Skipped Failures Errors Time
195 0 💤 0 ❌ 0 🔥 3m 26s ⏱️

@sea-bass sea-bass changed the title Add world reset button Add world reset UI button Sep 17, 2024
@sea-bass
Copy link
Owner Author

@facontidavide @dcconner FYI

@sea-bass sea-bass enabled auto-merge (squash) September 17, 2024 01:54
@sea-bass sea-bass disabled auto-merge September 17, 2024 02:17
@sea-bass sea-bass merged commit 0c94fd2 into main Sep 17, 2024
7 checks passed
@sea-bass sea-bass deleted the reset-button branch September 17, 2024 02:18
@sea-bass sea-bass mentioned this pull request Oct 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant