File: double_pendulum.toml

package info (click to toggle)
sdformat 12.3.0%2Bds-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 7,980 kB
  • sloc: cpp: 54,706; python: 3,729; javascript: 704; ruby: 366; sh: 97; ansic: 30; makefile: 16
file content (70 lines) | stat: -rw-r--r-- 1,608 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
# This file is part of the interface_api integration test. The test contains a
# very limited toml parser that is not capable of parsing the full toml syntax.
# Specifically, arrays are not supported.
name = "double_pendulum"
pose = "1 0 0 0 0 0"
canonical_link = "base"

[links.base]
pose = "1 0 0.5 0 0 0"

[links.upper_link]
pose = "0 0 2.1 -1.5708 0 0"

[links.lower_link]
pose = "0.25 1.0 2.1 -2 0 0"

[joints.upper_joint]
parent = "base"
child = "upper_link"
type = "revolute"
pose = "0.001 0.0 0.0 0 0 0"

[joints.lower_joint]
parent = "upper_link"
child = "lower_link"
type = "revolute"
pose = "0.0 0.001 0.0 0 0 0"

[frames.frame_1]
pose = "0 1 0 0 0 0"

[frames.frame_2]
attached_to = "lower_link"
pose = "0 0 1 0 0 0"

[models.child_model]
pose = "2 0 0 0 0 0"
canonical_link = "base_link"

  [models.child_model.links.base_link]
  pose = "1 0 0 0 0 0"

[models.child_dp]
pose = "3 0 0 0 0 0"
canonical_link = "base"

  [models.child_dp.links.base]
  pose = "1 0 0.5 0 0 0"

    [models.child_dp.models.model_0]
    canonical_link = "upper_link"
      [models.child_dp.models.model_0.links.upper_link]
      pose = "0 0 2.1 -1.5708 0 0"

    [models.child_dp.models.model_1]
    canonical_link = "lower_link"
      [models.child_dp.models.model_1.links.lower_link]
      pose = "0.25 1.0 2.1 -2 0 0"

  [models.child_dp.joints.upper_joint]
  parent = "base"
  child = "model_0::upper_link"
  type = "revolute"
  pose = "0.001 0.0 0.0 0 0 0"

  [models.child_dp.joints.lower_joint]
  parent = "model_0::upper_link"
  child = "model_1::lower_link"
  type = "revolute"
  pose = "0.0 0.001 0.0 0 0 0"