From 4cc8917c92157810e9f0ee8c33edf6c3f44bf6a9 Mon Sep 17 00:00:00 2001 From: Declan Gregar Date: Sun, 16 Feb 2025 15:28:30 -0700 Subject: [PATCH] code for liam to Liam, with love --- DialedIn.iqblocks | 2 +- New robo.iqblocks | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 New robo.iqblocks diff --git a/DialedIn.iqblocks b/DialedIn.iqblocks index 9a86fff..f0e3775 100644 --- a/DialedIn.iqblocks +++ b/DialedIn.iqblocks @@ -1 +1 @@ -{"mode":"Blocks","hardwareTarget":"brain","workspace":"OpisiteSideClearedFirstLoopBringDownmessage1BringDownTrayNLoadLOADWaitnFiremyVariableTurnAmountSpinnerfwddegfalse13500.2Spinnerrevdegfalse500.2Spinnerfwddegfalse1340pct100pct100Spinnerpct100Spinnerpct100Spinner100Spinner100Spinnerpct100Movment(mm)fwdmmfalse200Movment(mm)0.20.2Spinnerfwdrevfalse7TouchLED7pressedButtonLUppressedTouchLED7pressedTouchLED7redFirstLoopBringDowntrueButtonFDownpressedSpinner20BrainInertial00BrainInertial0Checkpressedtrue1Angle TurnDirectionAngle TurnDirectionrighttrue90Angle Turn0.2leftfalse90Angle Turn0.2110TouchLED7slowBrainfalseEntered MainBringDownTrayNLoad7001true55.51true47.51670BrainfalseAt first goal4BrainfalseGetting Ball2005000BrainfalseFiringSpinnerfwddegfalse13000.2numberrevmmfalse200number0.2TouchLED1pressed0.2BringDownTrayNLoad0.2200200WaitnFire5Spinnerrevdegfalse1350leftfalse5headingRight side of robot moter # 1 Left side # 2New right side # 3Motor4pct100Spinnerpct100Motor4100Spinner100pct100pct100Motor4fwddegfalse1090New left side # 4BrainTouchLED1pressedSpinnerfwdrevmmfalse1802false901revmmfalse100002false900pct1003revmmfalse40001Motor4revdegfalse70Motor43.9Motor4fwddegfalse1200Motor40TouchLED7pressedTouchLED7pressedpct751.52fwdmmfalse7500pct1002rightfalse9001.2revmmfalse100002.5false9004revmmfalse40001Motor4revdegfalse75Motor43.9Motor4fwddegfalse1200Motor400pct752.5fwdmmfalse70003revmmfalse70002Motor4revdegfalse70Motor43.9Motor4fwddegfalse1230Motor400pct752.5fwdmmfalse70003revmmfalse7000SpinnerSpinnerrevdegfalse30Spinnerfwddegfalse30Spinnerfwd2Motor4revdegfalse70Spinnerfwd90rightfalse901","robotConfig":[{"port":[10],"name":"Spinner","customName":true,"deviceType":"Motor","deviceClass":"motor","setting":{"reversed":"false","fwd":"forward","rev":"reverse"},"triportSourcePort":22},{"port":[2,11,9,6,8],"name":"Drivetrain","customName":false,"deviceType":"Drivetrain","deviceClass":"smartdrive","setting":{"type":"4-motor","wheelSize":"200mm","gearRatio":"1:1","direction":"rev","gyroType":"smart","width":"173","unit":"mm","wheelbase":"76","wheelbaseUnit":"mm","xOffset":"0","yOffset":"0","thetaOffset":"0"},"triportSourcePort":22},{"port":[4],"name":"Motor4","customName":false,"deviceType":"Motor","deviceClass":"motor","setting":{"reversed":"false","fwd":"forward","rev":"reverse"},"triportSourcePort":22},{"port":[7],"name":"TouchLED7","customName":false,"deviceType":"TouchLED","deviceClass":"touchled","setting":{},"triportSourcePort":22},{"port":[1],"name":"TouchLED1","customName":false,"deviceType":"TouchLED","deviceClass":"touchled","setting":{},"triportSourcePort":22}],"slot":2,"platform":"IQ","sdkVersion":"20230818.11.00.00","appVersion":"4.0.8","fileFormat":"2.0.0","targetBrainGen":"Second","v5SoundsEnabled":false,"downloadLanguage":"python","virtualSkillsYear":"2023"} \ No newline at end of file +{"mode":"Blocks","hardwareTarget":"brain","workspace":"myVariableCatafwddegfalse1150Spinnerpct100Catapct100Spinner100Cata100pct100pct100TouchLED7pressedpct100pct100Spinnerfwdrevmmfalse2101.5false900revmmfalse2000.25fwdmmfalse2000.25pct1001.4revmmfalse5000false901revmmfalse5000Catarevdegfalse700.5Catafwddegtrue12200.5fwdmmfalse200pct100false135fwdmmfalse590false901revmmfalse500270revmmfalse500BrainfalseIMA SHOOOOOOOOTCatarevdegfalse700.5Catafwddegtrue12201902fwdmmfalse350false90fwdmmfalse3002.5revmmfalse550false89revmmfalse150Catarevdegfalse700.25Catafwddegtrue12200.252fwdmmfalse350false90fwdmmfalse3502.5revmmfalse550false89revmmfalse150Catarevdegfalse700.25Catafwddegtrue12200.5fwdmmfalse350false92fwdmmfalse3502revmmfalse550false90revmmfalse350Catarevdegfalse700.5Catafwddegtrue12201","robotConfig":[{"port":[2,11,9,6,8],"name":"Drivetrain","customName":false,"deviceType":"Drivetrain","deviceClass":"smartdrive","setting":{"type":"4-motor","wheelSize":"200mm","gearRatio":"1:1","direction":"rev","gyroType":"smart","width":"173","unit":"mm","wheelbase":"76","wheelbaseUnit":"mm","xOffset":"0","yOffset":"0","thetaOffset":"0"},"triportSourcePort":22},{"port":[10],"name":"Spinner","customName":true,"deviceType":"Motor","deviceClass":"motor","setting":{"reversed":"false","fwd":"forward","rev":"reverse"},"triportSourcePort":22},{"port":[4],"name":"Cata","customName":true,"deviceType":"Motor","deviceClass":"motor","setting":{"reversed":"false","fwd":"forward","rev":"reverse"},"triportSourcePort":22},{"port":[7],"name":"TouchLED7","customName":false,"deviceType":"TouchLED","deviceClass":"touchled","setting":{},"triportSourcePort":22},{"port":[1],"name":"TouchLED1","customName":false,"deviceType":"TouchLED","deviceClass":"touchled","setting":{},"triportSourcePort":22}],"slot":2,"platform":"IQ","sdkVersion":"20230818.11.00.00","appVersion":"4.0.8","fileFormat":"2.0.0","targetBrainGen":"Second","v5SoundsEnabled":false,"downloadLanguage":"python","virtualSkillsYear":"2023"} \ No newline at end of file diff --git a/New robo.iqblocks b/New robo.iqblocks new file mode 100644 index 0000000..d2f58a3 --- /dev/null +++ b/New robo.iqblocks @@ -0,0 +1 @@ +{"mode":"Blocks","hardwareTarget":"brain","workspace":"myVariableMotor1pct100Motor1100pct100Motor1pct100Motor4pct100Motor1100Motor4100","robotConfig":[{"port":[],"name":"Controller","customName":false,"deviceType":"Controller","deviceClass":"controller","setting":{"left":"","leftDir":"false","right":"Motor1","rightDir":"false","e":"Motor4","eDir":"false","f":"","fDir":"false","l3r3":"","l3r3Dir":"false","drive":"split"},"triportSourcePort":22},{"port":[12,6,0],"name":"Drivetrain","customName":false,"deviceType":"Drivetrain","deviceClass":"smartdrive","setting":{"type":"2-motor","wheelSize":"200mm","gearRatio":"1:1","direction":"fwd","gyroType":"integrated","width":"173","unit":"mm","wheelbase":"76","wheelbaseUnit":"mm","xOffset":"0","yOffset":"0","thetaOffset":"0"},"triportSourcePort":22},{"port":[1],"name":"Motor1","customName":false,"deviceType":"Motor","deviceClass":"motor","setting":{"reversed":"false","fwd":"forward","rev":"reverse"},"triportSourcePort":22},{"port":[4],"name":"Motor4","customName":false,"deviceType":"Motor","deviceClass":"motor","setting":{"reversed":"false","fwd":"forward","rev":"reverse"},"triportSourcePort":22}],"slot":0,"platform":"IQ","sdkVersion":"20230818.11.00.00","appVersion":"4.0.8","fileFormat":"2.0.0","targetBrainGen":"Second","v5SoundsEnabled":false,"downloadLanguage":"python","virtualSkillsYear":"2023"} \ No newline at end of file