Skip to content

Commit efab5f2

Browse files
committed
v1.7, tagbot
1 parent 518e0e4 commit efab5f2

File tree

12 files changed

+178
-153
lines changed

12 files changed

+178
-153
lines changed

.github/workflows/CI.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
strategy:
1414
matrix:
1515
version:
16-
- '1.6'
16+
- '1.7'
1717
os:
1818
- ubuntu-latest
1919
# - macOS-latest
@@ -26,11 +26,6 @@ jobs:
2626
with:
2727
version: ${{ matrix.version }}
2828
arch: ${{ matrix.arch }}
29-
# - name: Add registries
30-
# run: |
31-
# julia --color=yes -e 'using Pkg; pkg"registry add https://github.com/JuliaRegistries/General.git"'
32-
# julia --color=yes -e 'using Pkg; pkg"registry add https://github.com/Lyceum/LyceumRegistry.git"'
33-
# shell: bash
3429
- uses: julia-actions/julia-runtest@latest
3530
- uses: julia-actions/julia-uploadcodecov@latest
3631
env:

.github/workflows/TagBot.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: TagBot
2+
on:
3+
issue_comment:
4+
types:
5+
- created
6+
workflow_dispatch:
7+
jobs:
8+
TagBot:
9+
if: github.event_name == 'workflow_dispatch' || github.actor == 'JuliaTagBot'
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: JuliaRegistries/TagBot@v1
13+
with:
14+
token: ${{ secrets.GITHUB_TOKEN }}
15+
ssh: ${{ secrets.DOCUMENTER_KEY }}

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,12 @@
33
[![](https://img.shields.io/badge/docs-dev-blue.svg)](https://dojo-sim.github.io/Dojo.jl/dev)
44

55
# Dojo
6-
A differentiable physics simulator for robotics
6+
A differentiable simulator for robotics
77
- arXiv preprint: https://arxiv.org/abs/2203.00806
88
- Python interface: https://github.com/dojo-sim/dojopy
9-
- Site: https://sites.google.com/view/dojo-sim
10-
# Examples (RSS 2022)
9+
- site: https://sites.google.com/view/dojo-sim
10+
11+
# Examples
1112

1213
## Simulation
1314

test/Manifest.toml

Lines changed: 85 additions & 70 deletions
Original file line numberDiff line numberDiff line change
@@ -1,210 +1,225 @@
11
# This file is machine-generated - editing it directly is not advised
22

3-
[[ArgTools]]
3+
julia_version = "1.7.2"
4+
manifest_format = "2.0"
5+
6+
[[deps.ArgTools]]
47
uuid = "0dad84c5-d112-42e6-8d28-ef12dabb789f"
58

6-
[[ArrayInterface]]
9+
[[deps.ArrayInterface]]
710
deps = ["Compat", "IfElse", "LinearAlgebra", "Requires", "SparseArrays", "Static"]
8-
git-tree-sha1 = "e527b258413e0c6d4f66ade574744c94edef81f8"
11+
git-tree-sha1 = "9f8186bc19cd1c129d367cb667215517cc03e144"
912
uuid = "4fba245c-0d91-5ea0-9b3e-6abc04ee57a9"
10-
version = "3.1.40"
13+
version = "5.0.1"
1114

12-
[[Artifacts]]
15+
[[deps.Artifacts]]
1316
uuid = "56f22d72-fd6d-98f1-02f0-08ddc0907c33"
1417

15-
[[Base64]]
18+
[[deps.Base64]]
1619
uuid = "2a0f44e3-6c83-55bd-87e4-b1978d98bd5f"
1720

18-
[[BenchmarkTools]]
21+
[[deps.BenchmarkTools]]
1922
deps = ["JSON", "Logging", "Printf", "Profile", "Statistics", "UUIDs"]
20-
git-tree-sha1 = "61adeb0823084487000600ef8b1c00cc2474cd47"
23+
git-tree-sha1 = "4c10eee4af024676200bc7752e536f858c6b8f93"
2124
uuid = "6e4b80f9-dd63-53aa-95a3-0cdb28fa8baf"
22-
version = "1.2.0"
25+
version = "1.3.1"
2326

24-
[[Compat]]
27+
[[deps.Compat]]
2528
deps = ["Base64", "Dates", "DelimitedFiles", "Distributed", "InteractiveUtils", "LibGit2", "Libdl", "LinearAlgebra", "Markdown", "Mmap", "Pkg", "Printf", "REPL", "Random", "SHA", "Serialization", "SharedArrays", "Sockets", "SparseArrays", "Statistics", "Test", "UUIDs", "Unicode"]
26-
git-tree-sha1 = "dce3e3fea680869eaa0b774b2e8343e9ff442313"
29+
git-tree-sha1 = "96b0bc6c52df76506efc8a441c6cf1adcb1babc4"
2730
uuid = "34da2185-b29b-5c13-b0c7-acf172513d20"
28-
version = "3.40.0"
31+
version = "3.42.0"
32+
33+
[[deps.CompilerSupportLibraries_jll]]
34+
deps = ["Artifacts", "Libdl"]
35+
uuid = "e66e0078-7015-5450-92f7-15fbd957f2ae"
2936

30-
[[Dates]]
37+
[[deps.Dates]]
3138
deps = ["Printf"]
3239
uuid = "ade2ca70-3891-5945-98fb-dc099432e06a"
3340

34-
[[DelimitedFiles]]
41+
[[deps.DelimitedFiles]]
3542
deps = ["Mmap"]
3643
uuid = "8bb1440f-4735-579b-a4ab-409b98df4dab"
3744

38-
[[Distributed]]
45+
[[deps.Distributed]]
3946
deps = ["Random", "Serialization", "Sockets"]
4047
uuid = "8ba89e20-285c-5b6f-9357-94700520ee1b"
4148

42-
[[Downloads]]
49+
[[deps.Downloads]]
4350
deps = ["ArgTools", "LibCURL", "NetworkOptions"]
4451
uuid = "f43a241f-c20a-4ad4-852c-f6b1247861c6"
4552

46-
[[FiniteDiff]]
53+
[[deps.FiniteDiff]]
4754
deps = ["ArrayInterface", "LinearAlgebra", "Requires", "SparseArrays", "StaticArrays"]
48-
git-tree-sha1 = "8b3c09b56acaf3c0e581c66638b85c8650ee9dca"
55+
git-tree-sha1 = "56956d1e4c1221000b7781104c58c34019792951"
4956
uuid = "6a86dc24-6348-571c-b903-95158fe2bd41"
50-
version = "2.8.1"
57+
version = "2.11.0"
5158

52-
[[IfElse]]
59+
[[deps.IfElse]]
5360
git-tree-sha1 = "debdd00ffef04665ccbb3e150747a77560e8fad1"
5461
uuid = "615f187c-cbe4-4ef1-ba3b-2fcf58d6d173"
5562
version = "0.1.1"
5663

57-
[[InteractiveUtils]]
64+
[[deps.InteractiveUtils]]
5865
deps = ["Markdown"]
5966
uuid = "b77e0a4c-d291-57a0-90e8-8db25a27a240"
6067

61-
[[JSON]]
68+
[[deps.JSON]]
6269
deps = ["Dates", "Mmap", "Parsers", "Unicode"]
63-
git-tree-sha1 = "8076680b162ada2a031f707ac7b4953e30667a37"
70+
git-tree-sha1 = "3c837543ddb02250ef42f4738347454f95079d4e"
6471
uuid = "682c06a0-de6a-54ab-a142-c8b1cf79cde6"
65-
version = "0.21.2"
72+
version = "0.21.3"
6673

67-
[[LibCURL]]
74+
[[deps.LibCURL]]
6875
deps = ["LibCURL_jll", "MozillaCACerts_jll"]
6976
uuid = "b27032c2-a3e7-50c8-80cd-2d36dbcbfd21"
7077

71-
[[LibCURL_jll]]
78+
[[deps.LibCURL_jll]]
7279
deps = ["Artifacts", "LibSSH2_jll", "Libdl", "MbedTLS_jll", "Zlib_jll", "nghttp2_jll"]
7380
uuid = "deac9b47-8bc7-5906-a0fe-35ac56dc84c0"
7481

75-
[[LibGit2]]
82+
[[deps.LibGit2]]
7683
deps = ["Base64", "NetworkOptions", "Printf", "SHA"]
7784
uuid = "76f85450-5226-5b5a-8eaa-529ad045b433"
7885

79-
[[LibSSH2_jll]]
86+
[[deps.LibSSH2_jll]]
8087
deps = ["Artifacts", "Libdl", "MbedTLS_jll"]
8188
uuid = "29816b5a-b9ab-546f-933c-edad1886dfa8"
8289

83-
[[Libdl]]
90+
[[deps.Libdl]]
8491
uuid = "8f399da3-3557-5675-b5ff-fb832c97cbdb"
8592

86-
[[LinearAlgebra]]
87-
deps = ["Libdl"]
93+
[[deps.LinearAlgebra]]
94+
deps = ["Libdl", "libblastrampoline_jll"]
8895
uuid = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
8996

90-
[[Logging]]
97+
[[deps.Logging]]
9198
uuid = "56ddb016-857b-54e1-b83d-db4d58db5568"
9299

93-
[[Markdown]]
100+
[[deps.Markdown]]
94101
deps = ["Base64"]
95102
uuid = "d6f4376e-aef5-505a-96c1-9c027394607a"
96103

97-
[[MbedTLS_jll]]
104+
[[deps.MbedTLS_jll]]
98105
deps = ["Artifacts", "Libdl"]
99106
uuid = "c8ffd9c3-330d-5841-b78e-0817d7145fa1"
100107

101-
[[Mmap]]
108+
[[deps.Mmap]]
102109
uuid = "a63ad114-7e13-5084-954f-fe012c677804"
103110

104-
[[MozillaCACerts_jll]]
111+
[[deps.MozillaCACerts_jll]]
105112
uuid = "14a3606d-f60d-562e-9121-12d972cd8159"
106113

107-
[[NetworkOptions]]
114+
[[deps.NetworkOptions]]
108115
uuid = "ca575930-c2e3-43a9-ace4-1e988b2c1908"
109116

110-
[[Parsers]]
117+
[[deps.OpenBLAS_jll]]
118+
deps = ["Artifacts", "CompilerSupportLibraries_jll", "Libdl"]
119+
uuid = "4536629a-c528-5b80-bd46-f80d51c5b363"
120+
121+
[[deps.Parsers]]
111122
deps = ["Dates"]
112-
git-tree-sha1 = "ae4bbcadb2906ccc085cf52ac286dc1377dceccc"
123+
git-tree-sha1 = "85b5da0fa43588c75bb1ff986493443f821c70b7"
113124
uuid = "69de0a69-1ddd-5017-9359-2bf0b02dc9f0"
114-
version = "2.1.2"
125+
version = "2.2.3"
115126

116-
[[Pkg]]
127+
[[deps.Pkg]]
117128
deps = ["Artifacts", "Dates", "Downloads", "LibGit2", "Libdl", "Logging", "Markdown", "Printf", "REPL", "Random", "SHA", "Serialization", "TOML", "Tar", "UUIDs", "p7zip_jll"]
118129
uuid = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f"
119130

120-
[[Printf]]
131+
[[deps.Printf]]
121132
deps = ["Unicode"]
122133
uuid = "de0858da-6303-5e67-8744-51eddeeeb8d7"
123134

124-
[[Profile]]
135+
[[deps.Profile]]
125136
deps = ["Printf"]
126137
uuid = "9abbd945-dff8-562f-b5e8-e1ebf5ef1b79"
127138

128-
[[REPL]]
139+
[[deps.REPL]]
129140
deps = ["InteractiveUtils", "Markdown", "Sockets", "Unicode"]
130141
uuid = "3fa0cd96-eef1-5676-8a61-b3b8758bbffb"
131142

132-
[[Random]]
133-
deps = ["Serialization"]
143+
[[deps.Random]]
144+
deps = ["SHA", "Serialization"]
134145
uuid = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
135146

136-
[[Requires]]
147+
[[deps.Requires]]
137148
deps = ["UUIDs"]
138-
git-tree-sha1 = "4036a3bd08ac7e968e27c203d45f5fff15020621"
149+
git-tree-sha1 = "838a3a4188e2ded87a4f9f184b4b0d78a1e91cb7"
139150
uuid = "ae029012-a4dd-5104-9daa-d747884805df"
140-
version = "1.1.3"
151+
version = "1.3.0"
141152

142-
[[SHA]]
153+
[[deps.SHA]]
143154
uuid = "ea8e919c-243c-51af-8825-aaa63cd721ce"
144155

145-
[[SafeTestsets]]
156+
[[deps.SafeTestsets]]
146157
deps = ["Test"]
147158
git-tree-sha1 = "36ebc5622c82eb9324005cc75e7e2cc51181d181"
148159
uuid = "1bc83da4-3b8d-516f-aca4-4fe02f6d838f"
149160
version = "0.0.1"
150161

151-
[[Serialization]]
162+
[[deps.Serialization]]
152163
uuid = "9e88b42a-f829-5b0c-bbe9-9e923198166b"
153164

154-
[[SharedArrays]]
165+
[[deps.SharedArrays]]
155166
deps = ["Distributed", "Mmap", "Random", "Serialization"]
156167
uuid = "1a1011a3-84de-559e-8e89-a11a2f7dc383"
157168

158-
[[Sockets]]
169+
[[deps.Sockets]]
159170
uuid = "6462fe0b-24de-5631-8697-dd941f90decc"
160171

161-
[[SparseArrays]]
172+
[[deps.SparseArrays]]
162173
deps = ["LinearAlgebra", "Random"]
163174
uuid = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"
164175

165-
[[Static]]
176+
[[deps.Static]]
166177
deps = ["IfElse"]
167-
git-tree-sha1 = "e7bc80dc93f50857a5d1e3c8121495852f407e6a"
178+
git-tree-sha1 = "87e9954dfa33fd145694e42337bdd3d5b07021a6"
168179
uuid = "aedffcd0-7271-4cad-89d0-dc628f76c6d3"
169-
version = "0.4.0"
180+
version = "0.6.0"
170181

171-
[[StaticArrays]]
182+
[[deps.StaticArrays]]
172183
deps = ["LinearAlgebra", "Random", "Statistics"]
173-
git-tree-sha1 = "3c76dde64d03699e074ac02eb2e8ba8254d428da"
184+
git-tree-sha1 = "74fb527333e72ada2dd9ef77d98e4991fb185f04"
174185
uuid = "90137ffa-7385-5640-81b9-e52037218182"
175-
version = "1.2.13"
186+
version = "1.4.1"
176187

177-
[[Statistics]]
188+
[[deps.Statistics]]
178189
deps = ["LinearAlgebra", "SparseArrays"]
179190
uuid = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"
180191

181-
[[TOML]]
192+
[[deps.TOML]]
182193
deps = ["Dates"]
183194
uuid = "fa267f1f-6049-4f14-aa54-33bafae1ed76"
184195

185-
[[Tar]]
196+
[[deps.Tar]]
186197
deps = ["ArgTools", "SHA"]
187198
uuid = "a4e569a6-e804-4fa4-b0f3-eef7a1d5b13e"
188199

189-
[[Test]]
200+
[[deps.Test]]
190201
deps = ["InteractiveUtils", "Logging", "Random", "Serialization"]
191202
uuid = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
192203

193-
[[UUIDs]]
204+
[[deps.UUIDs]]
194205
deps = ["Random", "SHA"]
195206
uuid = "cf7118a7-6976-5b1a-9a39-7adc72f591a4"
196207

197-
[[Unicode]]
208+
[[deps.Unicode]]
198209
uuid = "4ec0a83e-493e-50e2-b9ac-8f72acf5a8f5"
199210

200-
[[Zlib_jll]]
211+
[[deps.Zlib_jll]]
201212
deps = ["Libdl"]
202213
uuid = "83775a58-1f1d-513f-b197-d71354ab007a"
203214

204-
[[nghttp2_jll]]
215+
[[deps.libblastrampoline_jll]]
216+
deps = ["Artifacts", "Libdl", "OpenBLAS_jll"]
217+
uuid = "8e850b90-86db-534c-a0d3-1478176c7d93"
218+
219+
[[deps.nghttp2_jll]]
205220
deps = ["Artifacts", "Libdl"]
206221
uuid = "8e850ede-7688-5339-a07c-302acd2aaf8d"
207222

208-
[[p7zip_jll]]
223+
[[deps.p7zip_jll]]
209224
deps = ["Artifacts", "Libdl"]
210225
uuid = "3f19e933-33d8-53b3-aaab-bd5110c3b7a0"

test/behaviors.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ end
3434
opts=SolverOptions(btol=1e-6, rtol=1e-6,
3535
verbose=false))
3636

37-
@test norm(storage.v[1][end], Inf) < 1e-12
38-
@test norm(storage.x[1][end][3] - 0.25, Inf) < 1e-3
37+
@test norm(storage.v[1][end], Inf) < 1.0e-8
38+
@test norm(storage.x[1][end][3] - 0.25, Inf) < 1.0e-3
3939
end
4040
end
4141

test/data.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ function test_get_set_data(mechanism::Mechanism)
2525
data0 = rand(Nd)
2626
Dojo.set_data!(mechanism, data0)
2727
data1 = Dojo.get_data(mechanism)
28-
@test norm(data0 - data1) < 1e-10
28+
@test norm(data0 - data1) < 1.0e-8
2929
end
3030

3131
@testset "get and set data" begin
@@ -132,7 +132,7 @@ function test_data_system(model::Symbol;
132132

133133
# Test
134134
@testset "Data Jacobian: $(String(model))" begin
135-
@test norm(datajac0 - datajac1, Inf) < 1e-6
135+
@test norm(datajac0 - datajac1, Inf) < 1.0e-6
136136
end
137137
return nothing
138138
end

0 commit comments

Comments
 (0)