Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,11 @@ repos:
- id: check-docstring-first
- id: check-merge-conflict
- id: check-symlinks
- id: check-xml
- id: debug-statements
- id: end-of-file-fixer
- id: mixed-line-ending
- id: trailing-whitespace
- id: fix-byte-order-marker
- repo: https://github.com/psf/black
rev: 24.10.0
Expand All @@ -36,3 +38,8 @@ repos:
- id: codespell
args: ['--write-changes']
exclude: CHANGELOG.rst
# XML Lint
- repo: https://github.com/comkieffer/xml-linter-hook.git
rev: 1.0.0
hooks:
- id: xmllint
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ This plugin can be started from your URDF or world.sdf file.
<render_engine>ogre2</render_engine>
</plugin>
</gazebo>
```
```

you can also refer to the the [example.urdf.xacro](./urdf/example_d415_gazebo.urdf.xacro) included.

Expand Down
2 changes: 1 addition & 1 deletion urdf/_d405.gazebo.xacro
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ For example:
Assumptions:
Simulated RGB and Depth sensors are in the same location as the RGB sensor of the physical camera.
Simulated RGB and Depth sensors and have the same FOV as the RGB physical sensor.
Note physical hardware publishes pointcloud in `camera_depth_optical_frame` where this sensor will use
Note: physical hardware publishes pointcloud in `camera_depth_optical_frame` where this sensor will use
the referenced camera color_frame. -->
<xacro:property name="realsense_h_fov" value="${69 * pi/180}" />
<xacro:property name="realsense_v_fov" value="${42 * pi/180}" />
Expand Down
2 changes: 1 addition & 1 deletion urdf/_d415.gazebo.xacro
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ For example:
Assumptions:
Simulated RGB and Depth sensors are in the same location as the RGB sensor of the physical camera.
Simulated RGB and Depth sensors and have the same FOV as the RGB physical sensor.
Note physical hardware publishes pointcloud in `camera_depth_optical_frame` where this sensor will use
Note: physical hardware publishes pointcloud in `camera_depth_optical_frame` where this sensor will use
the referenced camera color_frame. -->
<xacro:property name="realsense_h_fov" value="${69 * pi/180}" />
<xacro:property name="realsense_v_fov" value="${42 * pi/180}" />
Expand Down
4 changes: 2 additions & 2 deletions urdf/_d435.gazebo.xacro
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ For example:
image_width:=1280
image_height:=720">

<!-- Realsense D435 RGB properties
<!-- Realsense D435 RGB properties
Assumptions:
Simulated RGB and Depth sensors are in the same location as the RGB sensor of the physical camera.
Simulated RGB and Depth sensors and have the same FOV as the RGB physical sensor.
Note physical hardware publishes pointcloud in `camera_depth_optical_frame` where this sensor will use
Note: physical hardware publishes pointcloud in `camera_depth_optical_frame` where this sensor will use
the referenced camera color_frame. -->
<xacro:property name="realsense_h_fov" value="${87 * pi/180}" />
<xacro:property name="realsense_v_fov" value="${58 * pi/180}" />
Expand Down
Loading