Skip to content

Appendix A: The example robots

The tables below come straight from the model files in my_models/, so they always match the program. Units are metres, kilograms and radians. a, α and b place the joint of each link relative to its parent (section 2.2 of the manual), after the branch angle φ and branch offset h of a joint that is a further child of its parent (0 otherwise); length and tip give the rod that touches the ground; the second table gives each link's centre of mass d = [dx, dy, dz] and the inertia about it.

To use one as a starting point, run redysim-floating --export <name> my_robot.yaml, or copy the file from my_models/.

Run: redysim-floating fordyn biped and redysim-floating invdyn biped

7 links (6 joints). Gravity: [0, -9.81, 0]. Available: forward dynamics, inverse dynamics.

Ground: Hunt–Crossley contact, equivalent_stiffness 20000, exponent 1.5, restitution 0.1, reference_speed 0.3, friction 0.7, friction_slope 1000, axes [2, 1, 3].

Links (the joint of link i turns about (R) or slides along (P) the z axis of its frame; q marks the joint variable)

link parent joint a (m) α (rad) b (m) θ (rad) φ (rad) h (m) length (m) tip (m) mass (kg)
1 0 – 0 0 0 – 0 0 0.5 0.25 5
2 1 R 0.25 0 0 q 0 0 0.5 0.5 1
3 2 R 0.5 0 0 q 0 0 0.5 0.5 1
4 3 R 0.5 0 0 q 0 0 0.15 0.075 0.2
5 1 R 0.25 0 0 q 0 0 0.5 0.5 1
6 5 R 0.5 0 0 q 0 0 0.5 0.5 1
7 6 R 0.5 0 0 q 0 0 0.15 0.075 0.2

Centre of mass and inertia (about the centre of mass, in the link frame)

link dx dy dz Ixx Iyy Izz Ixy Iyz Izx
1 0 0 0 0.0008333 0.1083 0 0 0 0
2 0.25 0 0 0 0.02083 0.02083 0 0 0
3 0.25 0 0 0 0.02083 0.02083 0 0 0
4 0 0 0 0 0.000375 0.000375 0 0 0
5 0.25 0 0 0 0.02083 0.02083 0 0 0
6 0.25 0 0 0 0.02083 0.02083 0 0 0
7 0 0 0 0 0.000375 0.000375 0 0 0

Run: redysim-floating fordyn quadruped and redysim-floating invdyn quadruped

13 links (12 joints). Gravity: [0, -9.81, 0]. Available: forward dynamics, inverse dynamics.

Ground: Hunt–Crossley contact, equivalent_stiffness 2500, exponent 1.0, restitution 0.1, reference_speed 0.2, friction 0.7, friction_slope 1500, axes [2, 1, 3].

Links (the joint of link i turns about (R) or slides along (P) the z axis of its frame; q marks the joint variable)

link parent joint a (m) α (rad) b (m) θ (rad) φ (rad) h (m) length (m) tip (m) mass (kg)
1 0 – 0 0 0 – 0 0 1 0 4
2 1 R -0.25 0 -0.5 q 0 0 0 0 0
3 2 R 0 1.5708 0 q 0 0 0.3 0.3 1
4 3 R 0.3 0 0 q 0 0 0.3 0.3 1
5 1 R 0.25 0 -0.5 q 0 0 0 0 0
6 5 R 0 1.5708 0 q 0 0 0.3 0.3 1
7 6 R 0.3 0 0 q 0 0 0.3 0.3 1
8 1 R -0.25 0 0.5 q 0 0 0 0 0
9 8 R 0 1.5708 0 q 0 0 0.3 0.3 1
10 9 R 0.3 0 0 q 0 0 0.3 0.3 1
11 1 R 0.25 0 0.5 q 0 0 0 0 0
12 11 R 0 1.5708 0 q 0 0 0.3 0.3 1
13 12 R 0.3 0 0 q 0 0 0.3 0.3 1

Centre of mass and inertia (about the centre of mass, in the link frame)

link dx dy dz Ixx Iyy Izz Ixy Iyz Izx
1 0 0 0 0.3333 0.4167 0.08333 0 0 0
2 0 0 0 0 0 0 0 0 0
3 0.15 0 0 0 0.0075 0.0075 0 0 0
4 0.15 0 0 0 0.0075 0.0075 0 0 0
5 0 0 0 0 0 0 0 0 0
6 0.15 0 0 0 0.0075 0.0075 0 0 0
7 0.15 0 0 0 0.0075 0.0075 0 0 0
8 0 0 0 0 0 0 0 0 0
9 0.15 0 0 0 0.0075 0.0075 0 0 0
10 0.15 0 0 0 0.0075 0.0075 0 0 0
11 0 0 0 0 0 0 0 0 0
12 0.15 0 0 0 0.0075 0.0075 0 0 0
13 0.15 0 0 0 0.0075 0.0075 0 0 0

Run: redysim-floating fordyn spot and redysim-floating invdyn spot

13 links (12 joints). Gravity: [0, -9.81, 0]. Available: forward dynamics, inverse dynamics.

Ground: Hunt–Crossley contact, equivalent_stiffness 20000, exponent 1.5, restitution 0.1, reference_speed 0.3, friction 0.7, friction_slope 1500, axes [2, 1, 3].

Links (the joint of link i turns about (R) or slides along (P) the z axis of its frame; q marks the joint variable)

link parent joint a (m) α (rad) b (m) θ (rad) φ (rad) h (m) length (m) tip (m) mass (kg)
1 0 – 0 0 0 – 0 0 0.84 0 25.5532
2 1 R -0.1658 0 -0.29785 q 0 0 0 0 0
3 2 R 0 1.5708 0 q 0 0 0.32098 0.32098 1.5107
4 3 R 0.32098 0 0 q 0 0 0.3725 0.3725 0.226
5 1 R 0.1658 0 -0.29785 q 0 0 0 0 0
6 5 R 0 1.5708 0 q 0 0 0.32098 0.32098 1.5107
7 6 R 0.32098 0 0 q 0 0 0.3725 0.3725 0.226
8 1 R -0.1658 0 0.29785 q 0 0 0 0 0
9 8 R 0 1.5708 0 q 0 0 0.32098 0.32098 1.5107
10 9 R 0.32098 0 0 q 0 0 0.3725 0.3725 0.226
11 1 R 0.1658 0 0.29785 q 0 0 0 0 0
12 11 R 0 1.5708 0 q 0 0 0.32098 0.32098 1.5107
13 12 R 0.32098 0 0 q 0 0 0.3725 0.3725 0.226

Centre of mass and inertia (about the centre of mass, in the link frame)

link dx dy dz Ixx Iyy Izz Ixy Iyz Izx
1 0 0 0 1.696 1.731 0.1625 0 0 0
2 0 0 0 0 0 0 0 0 0
3 0.12104 0 0 0.001839 0.01779 0.01766 0 0 0
4 0.18008 0 0 9.6e-05 0.002582 0.002615 0 0 0
5 0 0 0 0 0 0 0 0 0
6 0.12104 0 0 0.001839 0.01779 0.01766 0 0 0
7 0.18008 0 0 9.6e-05 0.002582 0.002615 0 0 0
8 0 0 0 0 0 0 0 0 0
9 0.12104 0 0 0.001839 0.01779 0.01766 0 0 0
10 0.18008 0 0 9.6e-05 0.002582 0.002615 0 0 0
11 0 0 0 0 0 0 0 0 0
12 0.12104 0 0 0.001839 0.01779 0.01766 0 0 0
13 0.18008 0 0 9.6e-05 0.002582 0.002615 0 0 0

Run: redysim-floating fordyn hexapod and redysim-floating invdyn hexapod

13 links (12 joints). Gravity: [0, -9.81, 0]. Available: forward dynamics, inverse dynamics.

Ground: Hunt–Crossley contact, equivalent_stiffness 12000, exponent 1.5, restitution 0.1, reference_speed 0.3, friction 0.7, friction_slope 2000, axes [2, 1, 3].

Links (the joint of link i turns about (R) or slides along (P) the z axis of its frame; q marks the joint variable)

link parent joint a (m) α (rad) b (m) θ (rad) φ (rad) h (m) length (m) tip (m) mass (kg)
1 0 – 0 0 0 – 0 0 1 0.5 2
2 1 R -0.6 0 0.25 q 0 0 0.3 0.3 1
3 2 R 0.3 0 0 q 0 0 0.3 0.3 1
4 1 R -0.6 0 -0.25 q 0 0 0.3 0.3 1
5 4 R 0.3 0 0 q 0 0 0.3 0.3 1
6 1 R 0 0 0.25 q 0 0 0.3 0.3 1
7 6 R 0.3 0 0 q 0 0 0.3 0.3 1
8 1 R 0 0 -0.25 q 0 0 0.3 0.3 1
9 8 R 0.3 0 0 q 0 0 0.3 0.3 1
10 1 R 0.6 0 0.25 q 0 0 0.3 0.3 1
11 10 R 0.3 0 0 q 0 0 0.3 0.3 1
12 1 R 0.6 0 -0.25 q 0 0 0.3 0.3 1
13 12 R 0.3 0 0 q 0 0 0.3 0.3 1

Centre of mass and inertia (about the centre of mass, in the link frame)

link dx dy dz Ixx Iyy Izz Ixy Iyz Izx
1 0.5 0 0 0.04167 0.2083 0.1667 0 0 0
2 0.15 0 0 0 0.0075 0.0075 0 0 0
3 0.15 0 0 0 0.0075 0.0075 0 0 0
4 0.15 0 0 0 0.0075 0.0075 0 0 0
5 0.15 0 0 0 0.0075 0.0075 0 0 0
6 0.15 0 0 0 0.0075 0.0075 0 0 0
7 0.15 0 0 0 0.0075 0.0075 0 0 0
8 0.15 0 0 0 0.0075 0.0075 0 0 0
9 0.15 0 0 0 0.0075 0.0075 0 0 0
10 0.15 0 0 0 0.0075 0.0075 0 0 0
11 0.15 0 0 0 0.0075 0.0075 0 0 0
12 0.15 0 0 0 0.0075 0.0075 0 0 0
13 0.15 0 0 0 0.0075 0.0075 0 0 0

Run: redysim-floating fordyn space_robot and redysim-floating invdyn space_robot

7 links (6 joints). Gravity: [0, 0, 0]. Available: forward dynamics, inverse dynamics.

No ground: the robot floats freely.

Links (the joint of link i turns about (R) or slides along (P) the z axis of its frame; q marks the joint variable)

link parent joint a (m) α (rad) b (m) θ (rad) φ (rad) h (m) length (m) tip (m) mass (kg)
1 0 – 0 0 0 – 0 0 1 0.5 500
2 1 R 0.5 0 0 q 0 0 1 1 10
3 2 R 1 0 0 q 0 0 1 1 10
4 3 R 1 0 0 q 0 0 0.5 0.5 5
5 1 R -0.5 0 0 q 0 0 1 1 10
6 5 R 1 0 0 q 0 0 1 1 10
7 6 R 1 0 0 q 0 0 0.5 0.5 5

Centre of mass and inertia (about the centre of mass, in the link frame)

link dx dy dz Ixx Iyy Izz Ixy Iyz Izx
1 0 0 0 83.61 83.61 83.61 0 0 0
2 0.5 0 0 0.01 1.05 1.05 0 0 0
3 0.5 0 0 0.01 1.05 1.05 0 0 0
4 0.25 0 0 0.005 0.105 0.105 0 0 0
5 0.5 0 0 0.01 1.05 1.05 0 0 0
6 0.5 0 0 0.01 1.05 1.05 0 0 0
7 0.25 0 0 0.005 0.105 0.105 0 0 0

satellite with a 7-joint arm (free-floating, no gravity, no ground)

Run: redysim-floating fordyn satellite_arm7 and redysim-floating invdyn satellite_arm7

8 links (7 joints). Gravity: [0, 0, 0]. Available: forward dynamics, inverse dynamics.

No ground: the robot floats freely.

Links (the joint of link i turns about (R) or slides along (P) the z axis of its frame; q marks the joint variable)

link parent joint a (m) α (rad) b (m) θ (rad) φ (rad) h (m) length (m) tip (m) mass (kg)
1 0 – 0 0 0 – 0 0 0 0 1000
2 1 R -0.56 3.14159 -0.9 q 0 0 0 0 6
3 2 R 0 1.5708 0 q 0 0 0 0 7
4 3 R 0 1.5708 -0.9 q 0 0 0 0 3
5 4 R 0 1.5708 0 q 0 0 0 0 5
6 5 R 0 1.5708 -0.76 q 0 0 0 0 1.6
7 6 R 0 1.5708 0 q 0 0 0 0 1.2
8 7 R 0 1.5708 -0.16 q 0 0 0 0 1

Centre of mass and inertia (about the centre of mass, in the link frame)

link dx dy dz Ixx Iyy Izz Ixy Iyz Izx
1 0 0 0 240 240 240 0 0 0
2 0 0 0.15 0.06528 0.06528 0.004655 0 0 0
3 0 0.35 0 0.3278 0.004234 0.3278 0 0 0
4 0 0 0.1 0.01563 0.01563 0.001482 0 0 0
5 0 0.3 0 0.172 0.002222 0.172 0 0 0
6 0 0 0.08 0.00528 0.00528 0.0004828 0 0 0
7 0 0.08 0 0.003757 0.0002814 0.003757 0 0 0
8 0 0 -0.05 0.001455 0.001455 0.02019 0 0 0

Pioneer-size differential-drive robot

Run: redysim-floating fordyn pioneer and redysim-floating invdyn pioneer

3 links (2 joints). Gravity: [0, -9.81, 0]. Available: forward dynamics, inverse dynamics.

No leg-tip ground: the robot rolls on the flat ground (the plane y = 0) on the wheels below.

Links (the joint of link i turns about (R) or slides along (P) the z axis of its frame; q marks the joint variable)

link parent joint a (m) α (rad) b (m) θ (rad) φ (rad) h (m) length (m) tip (m) mass (kg)
1 0 – 0 0 0 – 0 0 0.445 0.2225 9
2 1 R 0 3.14159 -0.165 q 0 0 0 0 0.5
3 1 R 0 3.14159 0.165 q 0 0 0 0 0.5

Centre of mass and inertia (about the centre of mass, in the link frame)

link dx dy dz Ixx Iyy Izz Ixy Iyz Izx
1 -0.04 0.05 0 0.165 0.269 0.194 0 0 0
2 0 0 0 0.0009 0.0009 0.02 0 0 0
3 0 0 0 0.0009 0.0009 0.02 0 0 0

Wheels (wheels:; the hub point and the axle are in the frame of the link; a zero axle is a caster ball)

link radius (m) point axle stiffness (N/m) damping (N s/m) longitudinal lateral friction
2 0.0825 [0, 0, 0] [0, 0, 1] 30000 300 2000 2000 0.8
3 0.0825 [0, 0, 0] [0, 0, 1] 30000 300 2000 2000 0.8
1 0.025 [-0.2, -0.0575, 0] [0, 0, 0] 30000 300 2000 20 0.1

Four-wheel car with Ackermann steering

Run: redysim-floating fordyn four_wheel_car and redysim-floating invdyn four_wheel_car

7 links (6 joints). Gravity: [0, -9.81, 0]. Available: forward dynamics, inverse dynamics.

No leg-tip ground: the robot rolls on the flat ground (the plane y = 0) on the wheels below.

Links (the joint of link i turns about (R) or slides along (P) the z axis of its frame; q marks the joint variable)

link parent joint a (m) α (rad) b (m) θ (rad) φ (rad) h (m) length (m) tip (m) mass (kg)
1 0 – 0 0 0 – 0 0 0.5 0.25 12
2 1 R -0.2 3.14159 -0.17 q 0 0 0 0 0.5
3 1 R -0.2 3.14159 0.17 q 0 0 0 0 0.5
4 1 R 0.2 -1.5708 0 q 0 0.17 0 0 0.2
5 4 R 0 1.5708 0 q 0 0 0 0 0.5
6 1 R 0.2 -1.5708 0 q 0 -0.17 0 0 0.2
7 6 R 0 1.5708 0 q 0 0 0 0 0.5

Centre of mass and inertia (about the centre of mass, in the link frame)

link dx dy dz Ixx Iyy Izz Ixy Iyz Izx
1 0 0.05 0 0.13 0.34 0.29 0 0 0
2 0 0 0 0.0009 0.0009 0.02 0 0 0
3 0 0 0 0.0009 0.0009 0.02 0 0 0
4 0 0 0 0.001 0.001 0.001 0 0 0
5 0 0 0 0.0009 0.0009 0.02 0 0 0
6 0 0 0 0.001 0.001 0.001 0 0 0
7 0 0 0 0.0009 0.0009 0.02 0 0 0

Wheels (wheels:; the hub point and the axle are in the frame of the link; a zero axle is a caster ball)

link radius (m) point axle stiffness (N/m) damping (N s/m) longitudinal lateral friction
2 0.08 [0, 0, 0] [0, 0, 1] 30000 300 2000 2000 0.8
3 0.08 [0, 0, 0] [0, 0, 1] 30000 300 2000 2000 0.8
5 0.08 [0, 0, 0] [0, 0, 1] 30000 300 2000 2000 0.8
7 0.08 [0, 0, 0] [0, 0, 1] 30000 300 2000 2000 0.8

Differential-drive mobile manipulator

Run: redysim-floating fordyn mobile_manipulator and redysim-floating invdyn mobile_manipulator

5 links (4 joints). Gravity: [0, -9.81, 0]. Available: forward dynamics, inverse dynamics.

No leg-tip ground: the robot rolls on the flat ground (the plane y = 0) on the wheels below.

Links (the joint of link i turns about (R) or slides along (P) the z axis of its frame; q marks the joint variable)

link parent joint a (m) α (rad) b (m) θ (rad) φ (rad) h (m) length (m) tip (m) mass (kg)
1 0 – 0 0 0 – 0 0 0.445 0.2225 19
2 1 R 0 3.14159 -0.165 q 0 0 0 0 0.5
3 1 R 0 3.14159 0.165 q 0 0 0 0 0.5
4 1 R 0.284253 0 0 q 0.885067 0 0.18 0.18 0.4
5 4 R 0.18 0 0 q 0 0 0.16 0.16 0.3

Centre of mass and inertia (about the centre of mass, in the link frame)

link dx dy dz Ixx Iyy Izz Ixy Iyz Izx
1 -0.08 0.05 0 0.3483 0.5679 0.4096 0 0 0
2 0 0 0 0.0009 0.0009 0.02 0 0 0
3 0 0 0 0.0009 0.0009 0.02 0 0 0
4 0.09 0 0 0.001 0.0011 0.0011 0 0 0
5 0.08 0 0 0.0008 0.00064 0.00064 0 0 0

Wheels (wheels:; the hub point and the axle are in the frame of the link; a zero axle is a caster ball)

link radius (m) point axle stiffness (N/m) damping (N s/m) longitudinal lateral friction
2 0.0825 [0, 0, 0] [0, 0, 1] 30000 300 2000 2000 0.8
3 0.0825 [0, 0, 0] [0, 0, 1] 30000 300 2000 2000 0.8
1 0.025 [-0.2, -0.0575, 0] [0, 0, 0] 30000 300 2000 20 0.1

Run: redysim-floating fordyn wheel_legged and redysim-floating invdyn wheel_legged

17 links (16 joints). Gravity: [0, -9.81, 0]. Available: forward dynamics, inverse dynamics.

No leg-tip ground: the robot rolls on the flat ground (the plane y = 0) on the wheels below.

Links (the joint of link i turns about (R) or slides along (P) the z axis of its frame; q marks the joint variable)

link parent joint a (m) α (rad) b (m) θ (rad) φ (rad) h (m) length (m) tip (m) mass (kg)
1 0 – 0 0 0 – 0 0 0.84 0 25.5532
2 1 R -0.1658 0 -0.29785 q 0 0 0 0 0
3 2 R 0 1.5708 0 q 0 0 0.32098 0.32098 1.5107
4 3 R 0.32098 0 0 q 0 0 0.3725 0.3725 0.226
5 4 R 0.3725 0 0 q 0 0 0 0 0.5
6 1 R 0.1658 0 -0.29785 q 0 0 0 0 0
7 6 R 0 1.5708 0 q 0 0 0.32098 0.32098 1.5107
8 7 R 0.32098 0 0 q 0 0 0.3725 0.3725 0.226
9 8 R 0.3725 0 0 q 0 0 0 0 0.5
10 1 R -0.1658 0 0.29785 q 0 0 0 0 0
11 10 R 0 1.5708 0 q 0 0 0.32098 0.32098 1.5107
12 11 R 0.32098 0 0 q 0 0 0.3725 0.3725 0.226
13 12 R 0.3725 0 0 q 0 0 0 0 0.5
14 1 R 0.1658 0 0.29785 q 0 0 0 0 0
15 14 R 0 1.5708 0 q 0 0 0.32098 0.32098 1.5107
16 15 R 0.32098 0 0 q 0 0 0.3725 0.3725 0.226
17 16 R 0.3725 0 0 q 0 0 0 0 0.5

Centre of mass and inertia (about the centre of mass, in the link frame)

link dx dy dz Ixx Iyy Izz Ixy Iyz Izx
1 0 0 0 1.696 1.731 0.1625 0 0 0
2 0 0 0 0 0 0 0 0 0
3 0.12104 0 0 0.001839 0.01779 0.01766 0 0 0
4 0.18008 0 0 9.6e-05 0.002582 0.002615 0 0 0
5 0 0 0 0.0009 0.0009 0.02 0 0 0
6 0 0 0 0 0 0 0 0 0
7 0.12104 0 0 0.001839 0.01779 0.01766 0 0 0
8 0.18008 0 0 9.6e-05 0.002582 0.002615 0 0 0
9 0 0 0 0.0009 0.0009 0.02 0 0 0
10 0 0 0 0 0 0 0 0 0
11 0.12104 0 0 0.001839 0.01779 0.01766 0 0 0
12 0.18008 0 0 9.6e-05 0.002582 0.002615 0 0 0
13 0 0 0 0.0009 0.0009 0.02 0 0 0
14 0 0 0 0 0 0 0 0 0
15 0.12104 0 0 0.001839 0.01779 0.01766 0 0 0
16 0.18008 0 0 9.6e-05 0.002582 0.002615 0 0 0
17 0 0 0 0.0009 0.0009 0.02 0 0 0

Wheels (wheels:; the hub point and the axle are in the frame of the link; a zero axle is a caster ball)

link radius (m) point axle stiffness (N/m) damping (N s/m) longitudinal lateral friction
5 0.1 [0, 0, 0] [0, 0, 1] 30000 300 2000 2000 0.8
9 0.1 [0, 0, 0] [0, 0, 1] 30000 300 2000 2000 0.8
13 0.1 [0, 0, 0] [0, 0, 1] 30000 300 2000 2000 0.8
17 0.1 [0, 0, 0] [0, 0, 1] 30000 300 2000 2000 0.8

Quadcopter with four rotors

Run: redysim-floating fordyn quadcopter

1 links (0 joints). Gravity: [0, -9.81, 0]. Available: forward dynamics.

No ground: the robot floats freely.

Links (the joint of link i turns about (R) or slides along (P) the z axis of its frame; q marks the joint variable)

link parent joint a (m) α (rad) b (m) θ (rad) φ (rad) h (m) length (m) tip (m) mass (kg)
1 0 – 0 0 0 – 0 0 0.25 0 1

Centre of mass and inertia (about the centre of mass, in the link frame)

link dx dy dz Ixx Iyy Izz Ixy Iyz Izx
1 0 0 0 0.008 0.015 0.008 0 0 0