Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Keisuke ANDO
socceR
Commits
cb5f6f04
Commit
cb5f6f04
authored
Apr 15, 2022
by
Keisuke ANDO
😌
Browse files
[update] ログの最新化とREADMEの更新
parent
7a17f0cb
Changes
4
Expand all
Show whitespace changes
Inline
Side-by-side
README.Rmd
View file @
cb5f6f04
...
@@ -3,15 +3,14 @@ title: "socceR"
...
@@ -3,15 +3,14 @@ title: "socceR"
output: github_document
output: github_document
---
---
### RCLファイルを読む関数ができました --- 使い方
RoboCup Soccer 2Dの試合分析のためのツール群
### `read_rcl`
指定されたrclファイルを解析し、tibbleにして返します。
```{r, message=FALSE, collapse = TRUE}
```{r, message=FALSE, collapse = TRUE}
# tidyverseをインポートする
library(tidyverse)
library(tidyverse)
# 作った関数を読み込む
source("R/read_rcl.R")
source("R/read_rcl.R")
read_rcl("data/20220405162804-HELIOS_base_3-vs-enemy_2.rcl")
# ファイルを指定するだけ
read_rcl("data/20220304142841-HELIOS_base_1-vs-ThunderLeague_1.rcl")
```
```
\ No newline at end of file
README.md
View file @
cb5f6f04
socceR
socceR
================
================
### RCLファイルを読む関数ができました — 使い方
RoboCup Soccer 2Dの試合分析のためのツール群
### `read_rcl`
指定されたrclファイルを解析し、tibbleにして返します。
```
r
```
r
# tidyverseをインポートする
library
(
tidyverse
)
library
(
tidyverse
)
# 作った関数を読み込む
source
(
"R/read_rcl.R"
)
source
(
"R/read_rcl.R"
)
read_rcl
(
"data/20220405162804-HELIOS_base_3-vs-enemy_2.rcl"
)
# ファイルを指定するだけ
## # A tibble: 867,098 x 6
read_rcl
(
"data/20220304142841-HELIOS_base_1-vs-ThunderLeague_1.rcl"
)
## # A tibble: 485,911 x 6
## step team unum command args line
## step team unum command args line
## <chr> <chr> <chr> <chr> <list> <chr>
## <chr> <chr> <chr> <chr> <list> <chr>
## 1 0 HELIOS_base 1 init <chr [1]> "0,1
9
\tRecv HELIOS_base_1: (i
nit
~
## 1 0 HELIOS_base 1 init
<chr [1]> "0,1
14
\tRecv HELIOS_base_1: (i~
## 2 0 HELIOS_base 1 version <chr [1]> "0,1
9
\tRecv HELIOS_base_1: (i
nit
~
## 2 0 HELIOS_base 1 version
<chr [1]> "0,1
14
\tRecv HELIOS_base_1: (i~
## 3 0 HELIOS_base 1 goalie <chr [0]> "0,1
9
\tRecv HELIOS_base_1: (i
nit
~
## 3 0 HELIOS_base 1 goalie
<chr [0]> "0,1
14
\tRecv HELIOS_base_1: (i~
## 4 0 HELIOS_base 1 synch_see <chr [0]> "0,1
9
\tRecv HELIOS_base_1: (s
ync
~
## 4 0 HELIOS_base 1 synch_see
<chr [0]> "0,1
15
\tRecv HELIOS_base_1: (s~
## 5 0 HELIOS_base 1 ear <chr [0]> "0,1
9
\tRecv HELIOS_base_1: (s
ync
~
## 5 0 HELIOS_base 1 ear
<chr [0]> "0,1
15
\tRecv HELIOS_base_1: (s~
## 6 0 HELIOS_base 1 off <chr [1]> "0,1
9
\tRecv HELIOS_base_1: (s
ync
~
## 6 0 HELIOS_base 1 off
<chr [1]> "0,1
15
\tRecv HELIOS_base_1: (s~
## 7 0 HELIOS_base 1 clang <chr [0]> "0,1
9
\tRecv HELIOS_base_1: (s
ync
~
## 7 0 HELIOS_base 1 clang
<chr [0]> "0,1
15
\tRecv HELIOS_base_1: (s~
## 8 0 HELIOS_base 1 ver <chr [1]> "0,1
9
\tRecv HELIOS_base_1: (s
ync
~
## 8 0 HELIOS_base 1 ver
<chr [1]> "0,1
15
\tRecv HELIOS_base_1: (s~
## 9 0 HELIOS_base 1
turn
<chr [1]> "0,
20
\tRecv HELIOS_base_1: (
turn
~
## 9 0 HELIOS_base 1
change_view
<chr [1]> "0,
115
\tRecv HELIOS_base_1: (
c
~
## 10 0 HELIOS_base 1 turn
_neck
<chr [1]> "0,
20
\tRecv HELIOS_base_1: (t
urn
~
## 10 0 HELIOS_base 1 turn
<chr [1]> "0,
115
\tRecv HELIOS_base_1: (t~
## # ... with
485,901
more rows
## # ... with
867,088
more rows
```
```
data/20220405162804-HELIOS_base_3-vs-enemy_2.rcg
0 → 100644
View file @
cb5f6f04
This diff is collapsed.
Click to expand it.
data/20220
304142841
-HELIOS_base_
1
-vs-
ThunderLeague_1
.rcl
→
data/20220
405162804
-HELIOS_base_
3
-vs-
enemy_2
.rcl
View file @
cb5f6f04
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment