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

Develop #3

Open
wants to merge 146 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
146 commits
Select commit Hold shift + click to select a range
ff203e5
Merge branch 'FIRST-Tech-Challenge:master' into master
LeChocolatChaud Sep 9, 2024
b38b73f
Merge branch 'FIRST-Tech-Challenge:master' into master
Sep 9, 2024
843b168
Merge branch 'FIRST-Tech-Challenge:master' into master
Sep 9, 2024
0e39465
Merge branch 'FIRST-Tech-Challenge:master' into master
LeoLBWK Sep 9, 2024
a3571a4
Merge branch 'FIRST-Tech-Challenge:master' into master
LeoLBWK Sep 9, 2024
b245e54
Merge branch 'FIRST-Tech-Challenge:master' into master
LeoLBWK Sep 9, 2024
97110fc
Merge branch 'FIRST-Tech-Challenge:master' into master
LeoLBWK Sep 9, 2024
3e70e46
Merge branch 'FIRST-Tech-Challenge:master' into master
LeoLBWK Sep 9, 2024
018781a
Merge branch 'FIRST-Tech-Challenge:master' into master
LeoLBWK Sep 9, 2024
3de097a
Merge branch 'FIRST-Tech-Challenge:master' into master
LeoLBWK Sep 10, 2024
d569d6b
Fix this damn S-word looking commit history by doing a reasonable change
LeChocolatChaud Sep 15, 2024
234fd46
Add new ManualOpMode structure
LeoLBWK Sep 15, 2024
d4df22b
Add new ManualOpMode structure
LeoLBWK Sep 15, 2024
39bb7e5
Some concepts about Task based multitask
LeChocolatChaud Sep 15, 2024
914b2b6
add register method
LeChocolatChaud Sep 15, 2024
550f481
feat: a more detailed concept demo on Task
LeChocolatChaud Sep 15, 2024
f8a4a0a
feat: adding scheduler design and some frequently used task
LeChocolatChaud Sep 16, 2024
4a4183c
fix: finalizing the task design and delete unused demo classes
LeChocolatChaud Sep 16, 2024
55c9e8e
fix: rollback non deployment changes
LeChocolatChaud Sep 16, 2024
7fb639d
Merge pull request #1 from FFFabulousRobotics/task-concept
Eternity0xd3 Sep 16, 2024
8747d2a
Merge branch 'FFFabulousRobotics:master' into master
LeChocolatChaud Sep 16, 2024
cb6709e
Merge branch 'FFFabulousRobotics:master' into master
LeChocolatChaud Sep 16, 2024
1ef66dc
Create android.yml
LeChocolatChaud Sep 16, 2024
70758d1
Add new ManualOpMode structure
LeoLBWK Sep 16, 2024
a3b3d9b
Fix:try to change the logic of TaskOp to make it less complex
Eternity0xd3 Sep 16, 2024
e3bcaa0
fix: simplify the design by add more prebuilt tasks and clean up unus…
LeChocolatChaud Sep 16, 2024
c17ab60
Merge branch 'master' into task-concept
LeChocolatChaud Sep 16, 2024
a021735
Docs: add docs
Eternity0xd3 Sep 17, 2024
19d33f9
Merge pull request #2 from FFFabulousRobotics/task-concept
LeChocolatChaud Sep 17, 2024
40b86b6
Fix: call task.init() in a right timing
Eternity0xd3 Sep 17, 2024
e7d4314
Fix: call task.init() method at a right timing
Eternity0xd3 Sep 17, 2024
1f705f8
Merge branch 'task-concept' of https://github.com/FFFabulousRobotics/…
Eternity0xd3 Sep 17, 2024
d13596a
Merge branch 'master' into task-concept
Eternity0xd3 Sep 17, 2024
6de00a3
Update android.yml
LeChocolatChaud Sep 17, 2024
2cf8363
Fix: tasks with no link will not init
Eternity0xd3 Sep 17, 2024
56eab54
Merge branch 'task-concept' of https://github.com/FFFabulousRobotics/…
Eternity0xd3 Sep 17, 2024
7b88b25
Merge pull request #3 from FFFabulousRobotics/task-concept
LeChocolatChaud Sep 17, 2024
2ff59d0
Update android.yml
LeChocolatChaud Sep 17, 2024
ded2788
Merge pull request #4 from FFFabulousRobotics/status-check-fix
LeChocolatChaud Sep 17, 2024
345889a
Fix: solve the warnings
Eternity0xd3 Sep 17, 2024
4ffa2a6
Merge branch 'master' into task-concept
Eternity0xd3 Sep 17, 2024
48640c6
Merge pull request #5 from FFFabulousRobotics/task-concept
Eternity0xd3 Sep 17, 2024
e8a1516
Rename ManualOpMode.java
LeoLBWK Sep 17, 2024
8ea0624
fix: prepare for a proper sync
LeChocolatChaud Sep 30, 2024
1a4bb13
Merge pull request #7 from FFFabulousRobotics/master
Eternity0xd3 Oct 1, 2024
0f997ee
Feat: unfinished ManualOpMode
Eternity0xd3 Nov 22, 2024
28b48cf
unfinished
Eternity0xd3 Nov 22, 2024
fab5a35
Feat:Some fix,small progress.
LeoLBWK Nov 22, 2024
382c9b9
unfinished
Eternity0xd3 Nov 22, 2024
2535541
unfinished
Eternity0xd3 Nov 22, 2024
0798c82
这是第一版视觉识别,可以识别摄像头中心的颜色。
Ehicy Nov 24, 2024
e937287
这是第一版视觉识别,可以识别摄像头中心的颜色。
Ehicy Nov 24, 2024
590a57e
这是第一版视觉识别,可以识别摄像头中心的颜色。
Ehicy Nov 24, 2024
84bed6c
这是第二版视觉识别,可以识别摄像头中心的颜色
Ehicy Nov 25, 2024
74ab281
1111
Ehicy Nov 25, 2024
2ff6a2c
wtf
Ehicy Nov 25, 2024
1d0d8e7
Feat:Add some exegeses
LeoLBWK Nov 26, 2024
192cd21
Feat:Add some armServos in RobotTop.java
LeoLBWK Nov 26, 2024
d5cdeb8
Feat:Add roadrunner
LeoLBWK Nov 27, 2024
91cef18
Feat:Fix some low errors
LeoLBWK Nov 27, 2024
54241be
Feat:Add ServoTest
LeoLBWK Nov 28, 2024
451788f
third commit to improve the vision
Ehicy Nov 28, 2024
78514df
third commit to improve the vision
Ehicy Nov 28, 2024
faadba1
Feat:Fixed some errors
LeoLBWK Nov 28, 2024
63e3f76
Merge remote-tracking branch 'origin/develop' into develop
Ehicy Nov 28, 2024
462f867
forth commit to improve the vision
Ehicy Nov 28, 2024
fb1c5b6
forth commit to improve the vision
Ehicy Nov 28, 2024
d133d08
fuck the commit to improve the vision
Ehicy Nov 28, 2024
cc4b3e9
temp commit
Eternity0xd3 Nov 29, 2024
72e0bc0
Feat:Rename the VisionCameraTest
LeoLBWK Nov 29, 2024
7f0312e
temp commit2
Eternity0xd3 Nov 29, 2024
fb27156
Feat:Add Tests package
LeoLBWK Nov 29, 2024
97550a0
Feat:Enhanced dtx's Vision
LeoLBWK Nov 29, 2024
ebe25d7
Feat: robot arm finished
Eternity0xd3 Nov 29, 2024
feb9d9c
Feat: robot arm finished
Eternity0xd3 Nov 29, 2024
be85839
Feat: slow down the servos
Eternity0xd3 Nov 29, 2024
f4fc949
Feat: slow down the servos
Eternity0xd3 Nov 29, 2024
ed24a6d
Feat:Fixed a lot errors
LeoLBWK Nov 29, 2024
b08b3f1
Merge remote-tracking branch 'origin/develop' into develop
Eternity0xd3 Nov 29, 2024
ab63216
Feat:Fixed a lot errors
LeoLBWK Nov 29, 2024
4bb7db5
Merge branch 'refs/heads/Leo-experiments' into develop
LeoLBWK Nov 29, 2024
2318682
Sort the files, add RoadRunner
Eternity0xd3 Nov 29, 2024
d686913
Sort the files, add RoadRunner
Eternity0xd3 Nov 29, 2024
8171ace
Feat:Fixed errors
LeoLBWK Nov 29, 2024
77bbdb7
Merge remote-tracking branch 'origin/develop' into develop
LeoLBWK Nov 29, 2024
4a6c15f
Feat:Added MeepMeepTest
LeoLBWK Nov 29, 2024
4606a63
Style: use constants & formatting
Eternity0xd3 Nov 29, 2024
866a99f
Feat:Added RRTest
LeoLBWK Dec 1, 2024
d80278d
Merge remote-tracking branch 'origin/develop' into develop
LeoLBWK Dec 1, 2024
92baaa9
Feat:Change Op
LeoLBWK Dec 2, 2024
15c0dc1
add the 负数 in rotate
Ehicy Dec 2, 2024
ec67232
Feat:Change Op
LeoLBWK Dec 2, 2024
a5c10b0
add the minus in rotate
Ehicy Dec 2, 2024
6927c2f
Merge remote-tracking branch 'origin/develop' into develop
Ehicy Dec 2, 2024
8d00b89
Feat:Replace Space
LeoLBWK Dec 2, 2024
e7dbd99
Feat:Fit the robot
LeoLBWK Dec 2, 2024
51ed8e0
Feat:Fit the robot
LeoLBWK Dec 2, 2024
8bb0bdc
add the distance detection
Ehicy Dec 2, 2024
66ff218
Merge remote-tracking branch 'origin/develop' into develop
Ehicy Dec 2, 2024
06047e3
add the distance detection
Ehicy Dec 2, 2024
9f81293
add the new function
Ehicy Dec 3, 2024
2359d29
Feat: manual op seemly completed
Eternity0xd3 Dec 3, 2024
2dbc378
Feat:Add Sparkfun device
LeoLBWK Dec 3, 2024
7fab928
add the new function
Ehicy Dec 3, 2024
d22e320
Merge remote-tracking branch 'origin/develop' into develop
Ehicy Dec 4, 2024
4ab9ba4
Feat:Fixed Sync problems.
LeoLBWK Dec 4, 2024
f30cf00
add the new function
Ehicy Dec 4, 2024
c6c0831
add the new function
Ehicy Dec 4, 2024
88f039e
add the new function
Ehicy Dec 4, 2024
8e17663
Merge remote-tracking branch 'origin/develop' into develop
Ehicy Dec 4, 2024
2334c40
add the new function
Ehicy Dec 4, 2024
f17672a
Feat:Fixed RR problems.The next step is to make the stability
LeoLBWK Dec 4, 2024
924ea89
Feat:Fixed RR problems.The next step is to make the stability
LeoLBWK Dec 4, 2024
4e67253
Feat:Fixed RR problems.The next step is to make the stability
LeoLBWK Dec 4, 2024
994b6c1
Update RobotCameraDistance.java
Ehicy Dec 4, 2024
6c61ad9
Feat:Refactored the roadrunner.
LeoLBWK Dec 4, 2024
d21d4ea
Manual temporarily completed, which is seemly a piece of sh!t
Eternity0xd3 Dec 5, 2024
d7f4a9e
Merge remote-tracking branch 'origin/develop' into develop
Eternity0xd3 Dec 5, 2024
1146afe
Update RobotVisionAngle.java
Ehicy Dec 5, 2024
49e54b7
Feat:FIXED.
LeoLBWK Dec 5, 2024
046df6c
Merge remote-tracking branch 'origin/develop' into develop
LeoLBWK Dec 5, 2024
999e279
Feat:FIXED RRTest.
LeoLBWK Dec 5, 2024
b9ee321
Manual completed
Eternity0xd3 Dec 5, 2024
3a331c1
Manual completed
Eternity0xd3 Dec 5, 2024
7b09c61
Feat:FIXED RRTest.
LeoLBWK Dec 5, 2024
1c48953
Update ManualOpMode.java
Ehicy Dec 5, 2024
2cbc477
fuck the sdk
Ehicy Dec 4, 2024
0285bb1
Feat:FIXED RRTest.
LeoLBWK Dec 5, 2024
67fe2c6
Merge remote-tracking branch 'origin/develop' into develop
Ehicy Dec 6, 2024
6ecdd73
the day before the first qualification race
Eternity0xd3 Dec 6, 2024
73b9606
the day before the first qualification race
Eternity0xd3 Dec 6, 2024
3e670d1
Merge remote-tracking branch 'origin/develop' into develop
Ehicy Dec 6, 2024
72b1cd0
Feat:Unified
LeoLBWK Dec 6, 2024
1c32dbf
fix the strange screen presentation
Ehicy Dec 6, 2024
b1ca9e0
Merge remote-tracking branch 'origin/develop' into develop
Ehicy Dec 6, 2024
6ff6095
try to solve the mis-record of a missing '}' in Github
Eternity0xd3 Dec 6, 2024
736e7d3
Merge remote-tracking branch 'origin/develop' into develop
Eternity0xd3 Dec 6, 2024
270cfd0
f~~k the robot
Eternity0xd3 Dec 7, 2024
e0b369a
A good ManualOpMode
Eternity0xd3 Dec 7, 2024
3f5acc5
???
Eternity0xd3 Dec 7, 2024
5d0cd2a
code of HangZhou FTC
Eternity0xd3 Dec 8, 2024
7b694b3
Feat:Deleted unused roadrunner,fixed gradle building.
LeoLBWK Dec 8, 2024
7416265
Feat:Completed the fix
LeoLBWK Dec 8, 2024
5880e48
Feat:Delete Meepmeep.
LeoLBWK Dec 26, 2024
2c4244f
pid test
Eternity0xd3 Dec 26, 2024
0f60bcc
Update FTC SDK, Gradle version
Eternity0xd3 Dec 31, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Android CI

on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'zulu'
cache: gradle

- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew build
6 changes: 5 additions & 1 deletion FtcRobotController/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,11 @@ android {
buildConfigField "String", "APP_BUILD_TIME", '"' + (new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSSZ", Locale.ROOT).format(new Date())) + '"'
}

compileSdkVersion 29
buildFeatures {
buildConfig = true
}

compileSdkVersion 30

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
Expand Down
4 changes: 2 additions & 2 deletions FtcRobotController/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:versionCode="56"
android:versionName="10.1">
android:versionCode="57"
android:versionName="10.1.1">

<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />

Expand Down
21 changes: 20 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ This repository contains the public FTC SDK for the INTO THE DEEP (2024-2025) co
This GitHub repository contains the source code that is used to build an Android app to control a *FIRST* Tech Challenge competition robot. To use this SDK, download/clone the entire project to your local computer.

## Requirements
To use this Android Studio project, you will need Android Studio 2021.2 (codename Chipmunk) or later.
To use this Android Studio project, you will need Android Studio Ladybug (2024.2) or later.

To program your robot in Blocks or OnBot Java, you do not need Android Studio.

Expand Down Expand Up @@ -59,6 +59,25 @@ The readme.md file located in the [/TeamCode/src/main/java/org/firstinspires/ftc

# Release Information

## Version 10.1.1 (20241102-092223)

### Breaking Changes

* Support for Android Studio Ladybug. Requires Android Studio Ladybug.

### Known Issues

* Android Studio Ladybug's bundled JDK is version 21. JDK 21 has deprecated support for Java 1.8, and Ladybug will warn on this deprecation.
OnBotJava only supports Java 1.8, therefore, in order to ensure that software developed using Android Studio will
run within the OnBotJava environment, the targetCompatibility and sourceCompatibility versions for the SDK have been left at VERSION_1_8.
FIRST has decided that until it can devote the resources to migrating OnBotJava to a newer version of Java, the deprecation is the
lesser of two non-optimal situations.

### Enhancements

* Added `toString()` method to Pose2D
* Added `toString()` method to SparkFunOTOS.Pose2D

## Version 10.1 (20240919-122750)

### Enhancements
Expand Down
2 changes: 1 addition & 1 deletion TeamCode/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ android {

dependencies {
implementation project(':FtcRobotController')
}
}
Loading
Loading