-
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.
Imported upstream version '0.1.11' of 'upstream'
- Loading branch information
Showing
21 changed files
with
279 additions
and
54 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
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<package> | ||
<name>jsk_travis</name> | ||
<version>0.4.24</version> | ||
<version>0.4.35</version> | ||
<description>jsk_travis scripts</description> | ||
<license>BSD</license> | ||
<maintainer email="[email protected]">Kei Okada</maintainer> | ||
|
@@ -13,6 +13,7 @@ | |
<build_depend>rostest</build_depend> | ||
<test_depend>rospy_tutorials</test_depend> | ||
<test_depend>gazebo_ros</test_depend> | ||
<test_depend>gazebo_plugins</test_depend> | ||
|
||
<export/> | ||
</package> |
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,59 @@ | ||
<?xml version="1.0" ?> | ||
<sdf version="1.4"> | ||
<model name="cam_robot"> | ||
<static>true</static> | ||
<pose>0 0 0 0 0 0</pose> | ||
<link name="camera_link"> | ||
<visual name="visual"> | ||
<pose>-0.055 0 0 0 0 0</pose> | ||
<geometry> | ||
<box> | ||
<size>0.1 0.04 0.025</size> | ||
</box> | ||
</geometry> | ||
<material> | ||
<ambient>0.7 0.7 0.7 1</ambient> | ||
<diffuse>0.7 0.7 0.7 1</diffuse> | ||
<specular>0.1 0.1 0.1 1</specular> | ||
<emissive>0 0 0 0</emissive> | ||
</material> | ||
</visual> | ||
<visual name="visual"> | ||
<pose>0 0 0 0 1.57 0</pose> | ||
<geometry> | ||
<cylinder> | ||
<radius>0.013</radius> | ||
<length>0.01</length> | ||
</cylinder> | ||
</geometry> | ||
<material> | ||
<ambient>0.1 0.1 0.1 1</ambient> | ||
<diffuse>0.1 0.1 0.1 1</diffuse> | ||
<specular>0.1 0.1 0.1 1</specular> | ||
<emissive>0 0 0 0</emissive> | ||
</material> | ||
</visual> | ||
<sensor name="cam" type="camera"> | ||
<camera> | ||
<horizontal_fov>1.047</horizontal_fov> | ||
<image> | ||
<width>320</width> | ||
<height>240</height> | ||
<format>R8G8B8</format> | ||
</image> | ||
<clip> | ||
<near>0.1</near> | ||
<far>5.0</far> | ||
</clip> | ||
</camera> | ||
<update_rate>15.0</update_rate> | ||
<plugin filename="libgazebo_ros_camera.so" name="cam"> | ||
<cameraName>camera</cameraName> | ||
<imageTopicName>image_raw</imageTopicName> | ||
<cameraInfoTopicName>camera_info</cameraInfoTopicName> | ||
<frameName>camera_link</frameName> | ||
</plugin> | ||
</sensor> | ||
</link> | ||
</model> | ||
</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 |
---|---|---|
@@ -1,14 +1,29 @@ | ||
<launch> | ||
<include file="$(find gazebo_ros)/launch/shapes_world.launch" /> | ||
<include file="$(find gazebo_ros)/launch/empty_world.launch"> | ||
<arg name="gui" value="false" /> | ||
<arg name="headless" value="true"/> | ||
</include> | ||
<node name="$(anon spawn_camera)" pkg="gazebo_ros" type="spawn_model" output="screen" | ||
args="-sdf -file $(find jsk_travis)/test/camera.sdf -model cam"/> | ||
|
||
<test test-name="gazebo_sanity_checker" pkg="rostest" type="hztest" | ||
retry="3" time-limit="180"> | ||
retry="3" time-limit="300"> | ||
<rosparam> | ||
topic: /gazebo/model_states | ||
hz: 1000.0 | ||
hzerror: 500.0 | ||
hzerror: 800.0 | ||
test_duration: 10.0 | ||
wait_time: 180.0 | ||
wait_time: 300.0 | ||
</rosparam> | ||
</test> | ||
<test test-name="gazebo_camera_sanity_checker" pkg="rostest" type="hztest" | ||
retry="3" time-limit="300"> | ||
<rosparam> | ||
topic: /camera/image_raw | ||
hz: 15.0 | ||
hzerror: 15.0 | ||
test_duration: 10.0 | ||
wait_time: 300.0 | ||
</rosparam> | ||
</test> | ||
</launch> |
Oops, something went wrong.