Skip to content

Commit

Permalink
Last cleaning
Browse files Browse the repository at this point in the history
  • Loading branch information
OscarMrZ committed Oct 20, 2024
1 parent f57f2fb commit 879ddb1
Show file tree
Hide file tree
Showing 5 changed files with 81 additions and 82 deletions.
136 changes: 68 additions & 68 deletions backend/filesystem/laser_bump_and_go/code/trees/main.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,15 @@
{
"id": "5f0bde8d-f789-4317-93b7-4f6af6b2208b",
"type": "point",
"x": 772.6407041392494,
"y": 493.8437517498554
"x": 772.6314115152493,
"y": 494.3449739981743
},
{
"id": "16135ffb-5cd2-4d8b-8d15-2fde3f759306",
"type": "point",
"selected": true,
"x": 887.4844026327885,
"y": 328.73438293063066
"x": 887.4932231142297,
"y": 330.2568388033286
}
],
"labels": [],
Expand All @@ -52,14 +52,14 @@
{
"id": "c63696cb-ea44-4c43-b306-b79aca03b479",
"type": "point",
"x": 778.2812625242266,
"y": 545.0000117077714
"x": 778.2808011121804,
"y": 545.5170292707878
},
{
"id": "fb1d3fd6-c8f8-4587-bbb4-4486e86df61d",
"type": "point",
"x": 887.4844026327885,
"y": 351.73439992776275
"x": 887.4932231142297,
"y": 354.2606201501608
}
],
"labels": [],
Expand All @@ -80,15 +80,15 @@
{
"id": "05e0483b-34a0-447f-a887-2bb71e70c173",
"type": "point",
"x": 722.7187535964399,
"y": 468.9687922682714
"x": 722.7487775709807,
"y": 469.473877501163
},
{
"id": "82d69fb5-25f9-437b-8084-0092ff2dd797",
"type": "point",
"selected": true,
"x": 886.4844046930469,
"y": 305.73437666401117
"x": 886.508762956881,
"y": 306.2530896480346
}
],
"labels": [],
Expand All @@ -109,14 +109,14 @@
{
"id": "e200ac8f-1192-41a5-ae33-2b520e1f200f",
"type": "point",
"x": 600.4062748857768,
"y": 417.0937596475127
"x": 600.4092579683082,
"y": 417.59863027015024
},
{
"id": "44e73609-daf5-4007-9ff9-598b92a37912",
"type": "point",
"x": 640.9375674644514,
"y": 468.9687922682714
"x": 640.9625266369967,
"y": 469.473877501163
}
],
"labels": [],
Expand All @@ -137,14 +137,14 @@
{
"id": "be60ca90-eec4-4a0d-b249-0233c23937a0",
"type": "point",
"x": 600.4062748857768,
"y": 417.0937596475127
"x": 600.4092579683082,
"y": 417.59863027015024
},
{
"id": "95925c70-424f-4316-a1d8-497fca1f233c",
"type": "point",
"x": 628.7343991990242,
"y": 332.20314992776275
"x": 628.7496579880867,
"y": 332.7181608849039
}
],
"labels": [],
Expand All @@ -165,14 +165,14 @@
{
"id": "dd2fad6f-c19e-4da1-8f90-1719569ce20f",
"type": "point",
"x": 116.28125290968643,
"y": 294.00000303751676
"x": 116.30243494176054,
"y": 294.5090692906209
},
{
"id": "b1eb51c2-fe74-4255-961c-990c011922d9",
"type": "point",
"x": 223.4843971387653,
"y": 332.50002029218126
"x": 223.49879748681164,
"y": 332.99943981436616
}
],
"labels": [],
Expand All @@ -193,14 +193,14 @@
{
"id": "df596725-4545-47e2-b41c-74425700b588",
"type": "point",
"x": 382.79688546396767,
"y": 332.50002029218126
"x": 382.8284546323374,
"y": 332.99943981436616
},
{
"id": "b0738f8b-071f-4bc9-b15f-11a8acb1a6f5",
"type": "point",
"x": 451.000024199024,
"y": 417.0937596475127
"x": 450.9953671565112,
"y": 417.59863027015024
}
],
"labels": [],
Expand All @@ -221,15 +221,15 @@
{
"id": "8a889d50-0064-415e-866d-2dde8117da91",
"type": "point",
"x": 382.79688546396767,
"y": 332.50002029218126
"x": 382.8284546323374,
"y": 332.99943981436616
},
{
"id": "8d12a7dd-cf8a-4189-9cb9-5d2c0adb2721",
"type": "point",
"selected": true,
"x": 499.0781292831924,
"y": 174.5937549260869
"x": 499.0965535735021,
"y": 175.09978444409631
}
],
"labels": [],
Expand All @@ -250,14 +250,14 @@
{
"id": "f7c8cfa7-567b-44fb-98b9-2b1aa9bfa059",
"type": "point",
"x": 474.5937604639678,
"y": 285.29689194426123
"x": 474.5770745167158,
"y": 285.8123965049866
},
{
"id": "0c2d0f08-5a39-488b-bba3-581b5e86e6ac",
"type": "point",
"x": 500.07812722293403,
"y": 197.59375046219367
"x": 500.1045457452068,
"y": 199.10353359939035
}
],
"labels": [],
Expand All @@ -284,8 +284,8 @@
{
"id": "42be04c1-b9a7-482f-a3ad-14af212d8195",
"type": "children",
"x": 111.28126321097862,
"y": 289.00000260829626,
"x": 111.29774527848917,
"y": 289.5043796273496,
"name": "children",
"alignment": "right",
"parentNode": "e6829f4f-5e0c-494a-be5c-be3b1a0b5a4c",
Expand All @@ -309,8 +309,8 @@
{
"id": "178fa7e2-f83f-4ba9-8f57-a11e60db962f",
"type": "tag output",
"x": 767.6406285964399,
"y": 488.8437620511476,
"x": 767.6267218519779,
"y": 489.34028433490295,
"name": "tag output",
"alignment": "right",
"parentNode": "a284a54f-fd9e-4235-8275-5000bdfbaf7d",
Expand All @@ -335,8 +335,8 @@
{
"id": "c36b298a-6ca3-4e7a-a81a-606ba64b6109",
"type": "tag output",
"x": 469.59368492115834,
"y": 280.2968915150407,
"x": 469.5723955839572,
"y": 280.8077068417153,
"name": "tag output",
"alignment": "right",
"parentNode": "38631cfc-99fa-40ab-acc5-89c9012d4ee7",
Expand All @@ -361,8 +361,8 @@
{
"id": "038945d3-b1c2-4db8-9741-f7dbe9aa4ad7",
"type": "parent",
"x": 881.4843291502375,
"y": 300.73437623479066,
"x": 881.5040732936096,
"y": 301.2484107152759,
"name": "parent",
"alignment": "left",
"parentNode": "55b29236-163f-4c8a-9fc9-441e637ec731",
Expand All @@ -375,8 +375,8 @@
{
"id": "7c380a1f-2368-4135-bab5-34d7d03ba015",
"type": "input",
"x": 882.4844129340808,
"y": 323.7343932319228,
"x": 882.4885334509584,
"y": 325.25215987057,
"name": "amplitude",
"alignment": "left",
"parentNode": "55b29236-163f-4c8a-9fc9-441e637ec731",
Expand All @@ -389,8 +389,8 @@
{
"id": "f37432e4-42b2-46bb-8efb-e06b54460eaa",
"type": "input",
"x": 882.4844129340808,
"y": 346.73438876802953,
"x": 882.4885334509584,
"y": 349.25593048688944,
"name": "obs_dist",
"alignment": "left",
"parentNode": "55b29236-163f-4c8a-9fc9-441e637ec731",
Expand All @@ -415,8 +415,8 @@
{
"id": "cd2270b0-efb9-47de-94a7-7c524c10b8b0",
"type": "tag output",
"x": 773.2812728255187,
"y": 539.9999790870127,
"x": 773.2761221794217,
"y": 540.5123396075164,
"name": "tag output",
"alignment": "right",
"parentNode": "45584467-28b6-45ce-9f96-6ffeceb57b15",
Expand All @@ -441,8 +441,8 @@
{
"id": "e07050ec-80fe-47a8-8914-a271069971fe",
"type": "parent",
"x": 623.7343236562148,
"y": 327.20313876802953,
"x": 623.7449683248153,
"y": 327.71348195214523,
"name": "parent",
"alignment": "left",
"parentNode": "26f08fa7-c226-42a3-a177-4462b056031c",
Expand All @@ -467,8 +467,8 @@
{
"id": "e2cd6528-76ba-4c0d-9f3f-22396a195c92",
"type": "parent",
"x": 635.9375777657436,
"y": 463.9688025695636,
"x": 635.9578369737253,
"y": 464.46918783789164,
"name": "parent",
"alignment": "left",
"parentNode": "478c5369-cda7-4146-9d9b-cc755610e152",
Expand All @@ -481,8 +481,8 @@
{
"id": "ade1685e-705c-4fbc-b027-b103b1496d0a",
"type": "children",
"x": 717.7188497418338,
"y": 463.9688025695636,
"x": 717.7440879077093,
"y": 464.46918783789164,
"name": "children",
"alignment": "right",
"parentNode": "478c5369-cda7-4146-9d9b-cc755610e152",
Expand All @@ -507,8 +507,8 @@
{
"id": "5ce8bfd9-37ce-4bb0-87a3-d6af9c552ea3",
"type": "parent",
"x": 445.99994865621454,
"y": 412.0937270267541,
"x": 445.99067749323984,
"y": 412.5939406068789,
"name": "parent",
"alignment": "left",
"parentNode": "8abddf62-30cb-4417-8869-859fc37ccd1b",
Expand All @@ -521,8 +521,8 @@
{
"id": "0221083d-596a-4bba-8f6c-84c00b918db6",
"type": "children",
"x": 595.4062851870691,
"y": 412.0937270267541,
"x": 595.4045683050368,
"y": 412.5939406068789,
"name": "children",
"alignment": "right",
"parentNode": "8abddf62-30cb-4417-8869-859fc37ccd1b",
Expand All @@ -548,8 +548,8 @@
{
"id": "36e40ad6-1c14-47b1-84f3-b8e73789312e",
"type": "parent",
"x": 218.4844074400575,
"y": 327.50003059347347,
"x": 218.49410782354028,
"y": 327.99475015109476,
"name": "parent",
"alignment": "left",
"parentNode": "ac94de35-3590-41a2-9126-2e77c61ee0ca",
Expand All @@ -562,8 +562,8 @@
{
"id": "ddfba7cc-8323-4f0f-b4b4-bb98530f1139",
"type": "children",
"x": 377.79680992115823,
"y": 327.50003059347347,
"x": 377.8237649690661,
"y": 327.99475015109476,
"name": "children",
"alignment": "right",
"parentNode": "ac94de35-3590-41a2-9126-2e77c61ee0ca",
Expand All @@ -588,8 +588,8 @@
{
"id": "fedfde51-31f9-4207-b3f6-2f6484aa13ac",
"type": "parent",
"x": 494.07813958448463,
"y": 169.59375449686638,
"x": 494.09187464074347,
"y": 170.09510551133764,
"name": "parent",
"alignment": "left",
"parentNode": "cb0af77d-3029-47fd-89ab-c64a248dd6da",
Expand All @@ -602,8 +602,8 @@
{
"id": "38ed462d-e857-4794-9698-40337497d94a",
"type": "input",
"x": 495.0780516801246,
"y": 192.59375003297313,
"x": 495.0998560819354,
"y": 194.0988546666317,
"name": "speed",
"alignment": "left",
"parentNode": "cb0af77d-3029-47fd-89ab-c64a248dd6da",
Expand Down
2 changes: 0 additions & 2 deletions backend/filesystem/library_demo/code/actions/Turn.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,6 @@ def update(self) -> py_trees.common.Status:
# Get values from the ports
speed = tree_tools.get_port_content(self.ports["speed"])
direction = tree_tools.get_port_content(self.ports["direction"])
print(speed)
print(direction)

# Check if speed and direction are not empty before converting
if speed and direction:
Expand Down
Loading

0 comments on commit 879ddb1

Please sign in to comment.