You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: tutorials/08-implementing-a-custom-feature.md
+5-5
Original file line number
Diff line number
Diff line change
@@ -133,7 +133,7 @@ will not run at the same time when requested.
133
133
134
134
### Define custom feature template
135
135
136
-
With the requirements and restrictions above, we first need to define a feature template for the custom feature. In this case, this feature will be responsible for retrieving world pointer from the physics engine. The template is placed in [World.hh](https://github.com/gazebosim/gz-physics/blob/gz-physics8/dartsim/src/World.hh):
136
+
With the requirements and restrictions above, we first need to define a feature template for the custom feature. In this case, this feature will be responsible for retrieving world pointer from the physics engine. The template is placed in [World.hh](https://github.com/gazebosim/gz-physics/blob/main/dartsim/src/World.hh):
137
137
138
138
\snippet dartsim/src/World.hh feature template
139
139
@@ -176,24 +176,24 @@ After defining the feature template, we can add it to a custom
176
176
The custom feature `RetrieveWorld` is added to `CustomFeatureList`, other custom
177
177
features could also be added here.
178
178
The `CustomFeatures` "FeatureList" here uses data structures and classes from:
179
-
-[Base.hh](https://github.com/gazebosim/gz-physics/blob/gz-physics8/dartsim/src/Base.hh), which defines structures that contain information to create `Model`, `Joint`, `Link`, and `Shape` objects in Dartsim API.
179
+
-[Base.hh](https://github.com/gazebosim/gz-physics/blob/main/dartsim/src/Base.hh), which defines structures that contain information to create `Model`, `Joint`, `Link`, and `Shape` objects in Dartsim API.
180
180
They act as an interface between Gazebo Physics Library and the actual physics engine.
181
181
- \ref gz::physics::Implements3d "Implements3d" for implementing the
182
182
custom feature with \ref gz::physics::FeaturePolicy3d "FeaturePolicy3d"
183
183
("FeaturePolicy" of 3 dimensions and scalar type `double`).
184
184
185
-
We will then implement the actual function with Dartsim API in [CustomFeatures.cc](https://github.com/gazebosim/gz-physics/blob/gz-physics8/dartsim/src/CustomFeatures.cc) to override the member function
185
+
We will then implement the actual function with Dartsim API in [CustomFeatures.cc](https://github.com/gazebosim/gz-physics/blob/main/dartsim/src/CustomFeatures.cc) to override the member function
0 commit comments