-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
11,233 additions
and
0 deletions.
There are no files selected for viewing
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,16 @@ | ||
<?xml version="1.0"?> | ||
|
||
<model> | ||
<name>Turtlebot3 House Camera</name> | ||
<version>1.0</version> | ||
<sdf version="1.6">overhead_cam1.sdf</sdf> | ||
|
||
<author> | ||
<name>Ajay Kumar Sandula</name> | ||
<email>ajay.kumar.sandula@intel.com</email> | ||
</author> | ||
|
||
<description> | ||
Turtlebot3 House Camera | ||
</description> | ||
</model> |
47 changes: 47 additions & 0 deletions
47
Camera_House/turtlebot3_camera_house/cam1/overhead_cam1.sdf
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,47 @@ | ||
<?xml version="1.0" ?> | ||
<sdf version="1.6"> | ||
<model name="overhead_camera1"> | ||
<static>true</static> | ||
<link name="camera_link"> | ||
<pose>0 0 2 0 1.5708 0</pose> <!-- Adjust position and orientation as needed --> | ||
<sensor name="camera" type="camera"> | ||
<camera> | ||
<horizontal_fov>1.047</horizontal_fov> | ||
<image> | ||
<width>640</width> | ||
<height>480</height> | ||
<format>R8G8B8</format> | ||
</image> | ||
<clip> | ||
<near>0.01</near> | ||
<far>100</far> | ||
</clip> | ||
</camera> | ||
<plugin name="camera_controller" filename="libgazebo_ros_camera.so"> | ||
<update_rate>30.0</update_rate> | ||
<camera_name>overhead_camera1</camera_name> | ||
<image_topic_name>/overhead_camera1/image_raw</image_topic_name> | ||
<frame_name>camera_link</frame_name> | ||
<ros> | ||
<namespace>overhead_camera</namespace> | ||
</ros> | ||
</plugin> | ||
</sensor> | ||
<!-- Visual representation of the camera (cuboid) --> | ||
<visual name="camera_visual1"> | ||
<geometry> | ||
<box> | ||
<size>0.1 0.1 0.2</size> <!-- Size of the cuboid --> | ||
</box> | ||
</geometry> | ||
<material> | ||
<ambient>0.0 0.0 1.0 1.0</ambient> <!-- Blue color --> | ||
<diffuse>0.0 0.0 1.0 1.0</diffuse> | ||
<specular>0.0 0.0 0.5 1.0</specular> | ||
<emissive>0.0 0.0 0.0 1.0</emissive> | ||
</material> | ||
<pose>0 0 -0.1 0 0 0</pose> <!-- Position relative to the camera --> | ||
</visual> | ||
</link> | ||
</model> | ||
</sdf> |
11 changes: 11 additions & 0 deletions
11
Camera_House/turtlebot3_camera_house/cam1/overhead_camera1/model.config
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,11 @@ | ||
<?xml version="1.0" ?> | ||
<model> | ||
<name>overhead_camera1</name> | ||
<version>1.0</version> | ||
<sdf version="1.7">model.sdf</sdf> | ||
<author> | ||
<name></name> | ||
<email></email> | ||
</author> | ||
<description></description> | ||
</model> |
Oops, something went wrong.