Skip to content

Commit

Permalink
Update SdfGenerator to save link and sensor data to file (#1201)
Browse files Browse the repository at this point in the history
* update more model properties and add code to update link properties

Signed-off-by: Ian Chen <[email protected]>

* update sensors, and add test

Signed-off-by: Ian Chen <[email protected]>

* Suggestion to #1170

Signed-off-by: Nate Koenig <[email protected]>

* update to use new api

Signed-off-by: Ian Chen <[email protected]>

* use updated api

Signed-off-by: Ian Chen <[email protected]>

* require sdf 12.2

Signed-off-by: Nate Koenig <[email protected]>

* Update SdfGenerator to save light data to file (#1209)

* save lights

Signed-off-by: Ian Chen <[email protected]>

* fix doc

Signed-off-by: Ian Chen <[email protected]>

* use updated api

Signed-off-by: Ian Chen <[email protected]>

* Update SdfGenerator to save joint data to file (#1220)

* save joints

Signed-off-by: Ian Chen <[email protected]>

* use joinPaths

Signed-off-by: Ian Chen <[email protected]>

* Only output thread_pitch for screw joints

Signed-off-by: Nate Koenig <[email protected]>

Co-authored-by: Nate Koenig <[email protected]>

Co-authored-by: Nate Koenig <[email protected]>

* Fix test

Signed-off-by: Nate Koenig <[email protected]>

Co-authored-by: Nate Koenig <[email protected]>
  • Loading branch information
iche033 and Nate Koenig authored Dec 1, 2021
1 parent 3ae7098 commit 442fbfd
Show file tree
Hide file tree
Showing 9 changed files with 1,481 additions and 13 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ set(CMAKE_POLICY_DEFAULT_CMP0077 NEW)
# as protobuf could be find transitively by any dependency
set(protobuf_MODULE_COMPATIBLE TRUE)

ign_find_package(sdformat12 REQUIRED)
ign_find_package(sdformat12 REQUIRED VERSION 12.2)
set(SDF_VER ${sdformat12_VERSION_MAJOR})

#--------------------------------------
Expand Down
Loading

0 comments on commit 442fbfd

Please sign in to comment.