File tree 6 files changed +9
-6
lines changed
6 files changed +9
-6
lines changed Original file line number Diff line number Diff line change 28
28
platforms : | # ESP32公式のpackage indexを使用する
29
29
- name: esp32:esp32
30
30
source-url: https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
31
+ version: 2.0.17
31
32
sketch-paths : |
32
33
- pico_v2_STEP1_LED
33
34
- pico_v2_STEP2_SWITCH
40
41
41
42
# This step is needed to pass the size data to the report job
42
43
- name : Upload sketches report to workflow artifact
43
- uses : actions/upload-artifact@v3
44
+ uses : actions/upload-artifact@v4
44
45
with :
45
46
name : ${{ env.SKETCHES_REPORTS_ARTIFACT_NAME }}
46
47
path : ${{ env.SKETCHES_REPORTS_PATH }}
@@ -52,12 +53,14 @@ jobs:
52
53
steps :
53
54
# This step is needed to get the size data produced by the compile jobs
54
55
- name : Download sketches reports artifact
55
- uses : actions/download-artifact@v3
56
+ uses : actions/download-artifact@v4
56
57
with :
57
58
name : ${{ env.SKETCHES_REPORTS_ARTIFACT_NAME }}
58
59
path : ${{ env.SKETCHES_REPORTS_PATH }}
60
+ continue-on-error : true
59
61
60
62
- uses : arduino/report-size-deltas@v1
61
63
with :
62
64
sketches-reports-source : ${{ env.SKETCHES_REPORTS_PATH }}
63
65
github-token : ${{ secrets.GITHUB_TOKEN }}
66
+ continue-on-error : true
Original file line number Diff line number Diff line change 28
28
29
29
#define MIN_HZ 40
30
30
#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 ))
32
32
#define MIN_SPEED (MIN_HZ * PULSE)
33
33
34
34
hw_timer_t * g_timer0 = NULL ;
Original file line number Diff line number Diff line change 28
28
29
29
#define MIN_HZ 40
30
30
#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 ))
32
32
#define MIN_SPEED (MIN_HZ * PULSE)
33
33
#define TREAD_WIDTH (31.5 )
34
34
Original file line number Diff line number Diff line change 37
37
38
38
#define MIN_HZ 40
39
39
#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 ))
41
41
#define MIN_SPEED (MIN_HZ * PULSE)
42
42
43
43
// 環境に合わせて変更する
Original file line number Diff line number Diff line change 4
4
#define TIRE_DIAMETER (24.7)
5
5
#define TREAD_WIDTH (31.5)
6
6
#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))
8
8
#define MIN_HZ 40
9
9
10
10
#define WAITLOOP_SLED 10
You can’t perform that action at this time.
0 commit comments