-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into support_nox
- Loading branch information
Showing
22 changed files
with
3,376 additions
and
5 deletions.
There are no files selected for viewing
Submodule .travis
updated
24 files
+4 −4 | .github/workflows/generate_action_config.py | |
+10 −4 | .github/workflows/indigo.yml | |
+10 −4 | .github/workflows/kinetic.yml | |
+38 −24 | .github/workflows/main.yml | |
+10 −4 | .github/workflows/melodic.yml | |
+10 −4 | .github/workflows/noetic.yml | |
+1 −1 | .github/workflows/python2.yml | |
+1 −1 | .github/workflows/python3.yml | |
+3 −2 | .travis.yml | |
+0 −0 | CATKIN_IGNORE | |
+41 −0 | CHANGELOG.rst | |
+5 −1 | action.yml | |
+1 −1 | docker/Dockerfile.ros-ubuntu:14.04-pcl | |
+1 −1 | docker/Dockerfile.ros-ubuntu:14.04-pcl1.8 | |
+1 −1 | docker/Dockerfile.ros-ubuntu:16.04 | |
+1 −1 | docker/Dockerfile.ros-ubuntu:16.04-pcl | |
+1 −1 | docker/Dockerfile.ros-ubuntu:18.04 | |
+1 −1 | docker/Dockerfile.ros-ubuntu:18.04-pcl | |
+1 −1 | docker/Dockerfile.ros-ubuntu:20.04-pcl | |
+1 −1 | package.xml | |
+12 −0 | rosdep_snapshots/30-bionic.list | |
+12 −0 | rosdep_snapshots/30-xenial.list | |
+9 −3 | travis.sh | |
+11 −1 | travis_jenkins.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
!.gitignore | ||
requirements.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
cmake_minimum_required(VERSION 2.8.3) | ||
project(urdf_mesh_converter) | ||
|
||
Find_package( | ||
catkin REQUIRED | ||
catkin_virtualenv | ||
) | ||
|
||
if (${catkin_virtualenv_VERSION} VERSION_LESS "0.5.1") | ||
message(WARNING "${PROJECT_NAME} requires catkin_virtualenv >= 0.5.1") | ||
return() | ||
endif() | ||
|
||
|
||
catkin_python_setup() | ||
|
||
catkin_package( | ||
CATKIN_DEPENDS | ||
) | ||
|
||
if($ENV{ROS_DISTRO} STREQUAL "noetic") | ||
catkin_generate_virtualenv( | ||
INPUT_REQUIREMENTS requirements.in | ||
PYTHON_INTERPRETER python3 | ||
) | ||
else() | ||
message(WARNING "This package uses trimesh for model conversion. Trimesh has discontinued support for Python 2 quite some time ago. Please use Python 3 or later.") | ||
return() | ||
endif() | ||
|
||
file(GLOB SCRIPTS_FILES scripts/*) | ||
catkin_install_python( | ||
PROGRAMS ${SCRIPTS_FILES} | ||
DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION} | ||
) | ||
|
||
if(CATKIN_ENABLE_TESTING) | ||
find_package(catkin REQUIRED COMPONENTS rostest) | ||
|
||
set(python_test_scripts | ||
tests/test_urdf_mesh_converter.py | ||
) | ||
|
||
catkin_install_python(PROGRAMS ${python_test_scripts} | ||
DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}) | ||
|
||
add_rostest(tests/test_urdf_mesh_converter.test | ||
DEPENDENCIES ${PROJECT_NAME}_generate_virtualenv) | ||
endif() | ||
|
||
|
||
install(DIRECTORY scripts | ||
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION} | ||
USE_SOURCE_PERMISSIONS | ||
) | ||
|
||
install(FILES requirements.txt | ||
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION} | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# URDF Mesh Converter | ||
|
||
This package converts the colored output of the URDF Exporter plugin of SolidWorks into the format readable by ROS systems. | ||
Specifically, this package generates colored `.dae` models from `.3dxml` files. | ||
|
||
JSK users should refer to the URDF Exporter documentation for [guidance](https://docs.google.com/presentation/d/1c2fdw6f_ny4jizH5VS3M7yLNd60M3rzsZs-ACR1ghNI). | ||
|
||
|
||
## Quick Start | ||
After building this package, source your workspace. Then, simply execute the command below, specifying your .3dxml URDF file path and the desired output URDF path. | ||
|
||
``` | ||
rosrun urdf_mesh_converter convert_urdf_mesh.py <YOUR_URDF_PATH> --output <OUTPUT_URDF_PATH> | ||
``` | ||
|
||
For a practical example, you can apply this package to an actual URDF by running the following command: | ||
|
||
``` | ||
rosrun urdf_mesh_converter convert_urdf_mesh.py $(rospack find urdf_mesh_converter)/samples/pitch_yaw_2axis_camera_module.urdf --output $(rospack find urdf_mesh_converter)/samples/pitch_yaw_2axis_camera_module_modified.urdf | ||
``` | ||
|
||
![](./doc/samples_pitch_yaw_2axis_camera_module.jpg "Sample Converted URDF") |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<package format="3"> | ||
|
||
<name>urdf_mesh_converter</name> | ||
<version>0.4.5</version> | ||
<description> | ||
Convert urdf mesh. | ||
</description> | ||
|
||
<license>BSD</license> | ||
<maintainer email="[email protected]">Iori Yanokura</maintainer> | ||
<author email="[email protected]">Iori Yanokura</author> | ||
|
||
<buildtool_depend>catkin</buildtool_depend> | ||
<buildtool_depend>catkin_virtualenv</buildtool_depend> | ||
|
||
<!-- ALPHABETICAL ORDER --> | ||
<build_depend condition="$ROS_PYTHON_VERSION == 3">python3</build_depend> | ||
<!-- ALPHABETICAL ORDER --> | ||
|
||
<!-- ALPHABETICAL ORDER --> | ||
<exec_depend condition="$ROS_PYTHON_VERSION == 3">python3</exec_depend> | ||
<!-- ALPHABETICAL ORDER --> | ||
|
||
<test_depend>rostest</test_depend> | ||
|
||
<export> | ||
<pip_requirements>requirements.txt</pip_requirements> | ||
</export> | ||
|
||
</package> |
Empty file.
Oops, something went wrong.