From e31f07087313ebcd22c7c2bd5ebaf85be8f74cc4 Mon Sep 17 00:00:00 2001 From: rubymrym-svg Date: Sat, 14 Mar 2026 20:49:09 +0000 Subject: [PATCH 1/4] new project --- .vscode/launch.json | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .vscode/launch.json diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..28785c9 --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,23 @@ +{ + // Use IntelliSense to learn about possible attributes. + // Hover to view descriptions of existing attributes. + // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 + "version": "0.2.0", + "configurations": [ + + { + "name": "Launch Chrome", + "request": "launch", + "type": "chrome", + "url": "http://localhost:8080", + "webRoot": "${workspaceFolder}" + }, + { + "type": "chrome", + "request": "launch", + "name": "Launch Chrome against localhost", + "url": "http://localhost:8080", + "webRoot": "${workspaceFolder}" + } + ] +} \ No newline at end of file From 786c1d6ccfc30674f6d1ec791ebfd1802d0c5c4b Mon Sep 17 00:00:00 2001 From: rubymrym-svg Date: Sat, 14 Mar 2026 22:12:26 +0000 Subject: [PATCH 2/4] mmm --- .vscode/settings.json | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .vscode/settings.json diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..6c2ff60 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,5 @@ +{ + "githubPullRequests.ignoredPullRequestBranches": [ + "master" + ] +} \ No newline at end of file From 008a6bb3b0e14634153172d3c4e90010f50c0d01 Mon Sep 17 00:00:00 2001 From: rubymrym-svg Date: Fri, 10 Apr 2026 20:23:46 +0000 Subject: [PATCH 3/4] mmmm --- .vscode/launch.json | 40 ++++++++++++++++++++++++++++++++++++---- tools/dc_motor_plot.py | 4 ++-- 2 files changed, 38 insertions(+), 6 deletions(-) diff --git a/.vscode/launch.json b/.vscode/launch.json index 28785c9..82d305a 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -6,18 +6,50 @@ "configurations": [ { - "name": "Launch Chrome", + "type": "cmake", + "request": "launch", + "name": "CMake: Script debugging", + "cmakeDebugType": "script", + "scriptPath": "${workspaceFolder}/<...>.cmake" + }, + { + "type": "cmake", "request": "launch", + "name": "CMake: Externally launched", + "cmakeDebugType": "external", + "pipeName": "<...>" + }, + + + { + "name": "Attach to Chrome", + "port": 9222, + "request": "attach", "type": "chrome", - "url": "http://localhost:8080", "webRoot": "${workspaceFolder}" }, + { - "type": "chrome", + "type": "cmake", + "request": "launch", + "name": "CMake: Configure project", + "cmakeDebugType": "configure", + "clean": false, + "configureAll": false + }, + + + { + "name": "Launch Chrome", "request": "launch", - "name": "Launch Chrome against localhost", + "type": "chrome", "url": "http://localhost:8080", "webRoot": "${workspaceFolder}" + } + + + + ] } \ No newline at end of file diff --git a/tools/dc_motor_plot.py b/tools/dc_motor_plot.py index 6ead6ae..6d720e7 100644 --- a/tools/dc_motor_plot.py +++ b/tools/dc_motor_plot.py @@ -13,9 +13,9 @@ MAX_FRICTION_FORCE = NORMAL_FORCE * FRICTION_COEFFICIENT -# Mimics coulomb friction model (model used in b2FrictionJoint) +# نموذج الاحتكاك الكولومي ( نموذج المستخدم في b2FrictionJoint ) def get_friction_force(force): - if force < 0: # No friction force if no force applied + if force < 0: # لاقوه احتكاك اذا لم تطبق قوه return 0 if force > MAX_FRICTION_FORCE: return MAX_FRICTION_FORCE From b06d6f1bb9db500e51f47dfcb9ab95d49d27389c Mon Sep 17 00:00:00 2001 From: rubymrym-svg Date: Fri, 10 Apr 2026 20:26:17 +0000 Subject: [PATCH 4/4] 999 8888