File tree Expand file tree Collapse file tree 6 files changed +9
-6
lines changed
Expand file tree Collapse file tree 6 files changed +9
-6
lines changed Original file line number Diff line number Diff line change 2828 platforms : | # ESP32公式のpackage indexを使用する
2929 - name: esp32:esp32
3030 source-url: https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
31+ version: 2.0.17
3132 sketch-paths : |
3233 - pico_v2_STEP1_LED
3334 - pico_v2_STEP2_SWITCH
4041
4142 # This step is needed to pass the size data to the report job
4243 - name : Upload sketches report to workflow artifact
43- uses : actions/upload-artifact@v3
44+ uses : actions/upload-artifact@v4
4445 with :
4546 name : ${{ env.SKETCHES_REPORTS_ARTIFACT_NAME }}
4647 path : ${{ env.SKETCHES_REPORTS_PATH }}
@@ -52,12 +53,14 @@ jobs:
5253 steps :
5354 # This step is needed to get the size data produced by the compile jobs
5455 - name : Download sketches reports artifact
55- uses : actions/download-artifact@v3
56+ uses : actions/download-artifact@v4
5657 with :
5758 name : ${{ env.SKETCHES_REPORTS_ARTIFACT_NAME }}
5859 path : ${{ env.SKETCHES_REPORTS_PATH }}
60+ continue-on-error : true
5961
6062 - uses : arduino/report-size-deltas@v1
6163 with :
6264 sketches-reports-source : ${{ env.SKETCHES_REPORTS_PATH }}
6365 github-token : ${{ secrets.GITHUB_TOKEN }}
66+ continue-on-error : true
Original file line number Diff line number Diff line change 2828
2929#define MIN_HZ 40
3030#define TIRE_DIAMETER (24.70 )
31- #define PULSE (TIRE_DIAMETER * PI / (35.0 / 10.0 * 20.0 * 4 .0 ))
31+ #define PULSE (TIRE_DIAMETER * PI / (35.0 / 10.0 * 20.0 * 8 .0 ))
3232#define MIN_SPEED (MIN_HZ * PULSE)
3333
3434hw_timer_t * g_timer0 = NULL ;
Original file line number Diff line number Diff line change 2828
2929#define MIN_HZ 40
3030#define TIRE_DIAMETER (24.70 )
31- #define PULSE (TIRE_DIAMETER * PI / (35.0 / 10.0 * 20.0 * 4 .0 ))
31+ #define PULSE (TIRE_DIAMETER * PI / (35.0 / 10.0 * 20.0 * 8 .0 ))
3232#define MIN_SPEED (MIN_HZ * PULSE)
3333#define TREAD_WIDTH (31.5 )
3434
Original file line number Diff line number Diff line change 3737
3838#define MIN_HZ 40
3939#define TIRE_DIAMETER (24.70 )
40- #define PULSE (TIRE_DIAMETER * PI / (35.0 / 10.0 * 20.0 * 4 .0 ))
40+ #define PULSE (TIRE_DIAMETER * PI / (35.0 / 10.0 * 20.0 * 8 .0 ))
4141#define MIN_SPEED (MIN_HZ * PULSE)
4242
4343// 環境に合わせて変更する
Original file line number Diff line number Diff line change 44#define TIRE_DIAMETER (24.7)
55#define TREAD_WIDTH (31.5)
66#define TREAD_CIRCUIT (TREAD_WIDTH * PI / 4)
7- #define PULSE (TIRE_DIAMETER * PI / (35.0 / 10.0 * 20.0 * 4 .0))
7+ #define PULSE (TIRE_DIAMETER * PI / (35.0 / 10.0 * 20.0 * 8 .0))
88#define MIN_HZ 40
99
1010#define WAITLOOP_SLED 10
You can’t perform that action at this time.
0 commit comments