original gazebo_ros_pkgs

This commit is contained in:
zhangshuai 2019-05-28 10:10:14 +08:00
parent f27ddfc6ac
commit a2f35361c5
323 changed files with 642 additions and 1675 deletions

Binary file not shown.

View File

@ -0,0 +1,17 @@
# vi stuff
.*.sw?
# Python stuff
*.pyc
# Data files
*.dat
*.csv
# Emacs temp files
.#*
# OSX Files
.DS_Store
CATKIN_IGNORE

View File

@ -211,6 +211,15 @@ details about which code should be submitted to this repository.
- ***example:*** gazebo_plugins/test/tricycle_drive/ - ***example:*** gazebo_plugins/test/tricycle_drive/
xacro, launch, world, rviz, etc. xacro, launch, world, rviz, etc.
* ***gazebo_ros_triggered_camera / gazebo_ros_triggered_multicamera***
- ***description:*** These camera sensors do not publish unless triggered. They have an
additional topic (default name `image_trigger`) that subscribes to std_msgs/Empty messages
and will publish a single update after being triggered. Its maximum update rate is currently
set by the <update_rate> sdf tag in the <sensor> block.
Publishes: sensor_msgs::Image, sensor_msgs::CameraInfo
- ***status:*** maintained
- ***example:*** gazebo_plugins/test/camera/triggered_camera.*
* ***gazebo_ros_video*** * ***gazebo_ros_video***
- ***description:*** Video plugin for displaying ROS image topics on Ogre textures - ***description:*** Video plugin for displaying ROS image topics on Ogre textures
- ***status:*** maintained - ***status:*** maintained

View File

@ -2,6 +2,12 @@
Changelog for package gazebo_dev Changelog for package gazebo_dev
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2.5.17 (2018-06-07)
-------------------
2.5.16 (2018-06-04)
-------------------
2.5.15 (2018-02-12) 2.5.15 (2018-02-12)
------------------- -------------------

View File

@ -1,7 +1,7 @@
<?xml version="1.0"?> <?xml version="1.0"?>
<package format="2"> <package format="2">
<name>gazebo_dev</name> <name>gazebo_dev</name>
<version>2.5.15</version> <version>2.5.17</version>
<description> <description>
Provides a cmake config for the default version of Gazebo for the ROS distribution. Provides a cmake config for the default version of Gazebo for the ROS distribution.
</description> </description>

View File

@ -2,6 +2,12 @@
Changelog for package gazebo_msgs Changelog for package gazebo_msgs
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2.5.17 (2018-06-07)
-------------------
2.5.16 (2018-06-04)
-------------------
2.5.15 (2018-02-12) 2.5.15 (2018-02-12)
------------------- -------------------

View File

@ -1,7 +1,7 @@
<?xml version="1.0"?> <?xml version="1.0"?>
<package format="2"> <package format="2">
<name>gazebo_msgs</name> <name>gazebo_msgs</name>
<version>2.5.15</version> <version>2.5.17</version>
<description> <description>
Message and service data structures for interacting with Gazebo from ROS. Message and service data structures for interacting with Gazebo from ROS.
</description> </description>

View File

@ -2,6 +2,39 @@
Changelog for package gazebo_plugins Changelog for package gazebo_plugins
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2.5.17 (2018-06-07)
-------------------
* gazebo_plugins: install triggered camera plugins (`#740 <https://github.com/ros-simulation/gazebo_ros_pkgs/issues/740>`_)
Fixes `#739 <https://github.com/ros-simulation/gazebo_ros_pkgs/issues/739>`_.
* Contributors: Steven Peters
2.5.16 (2018-06-04)
-------------------
* Add publishOdomTF flag (`#692 <https://github.com/ros-simulation/gazebo_ros_pkgs/issues/692>`_) (`#716 <https://github.com/ros-simulation/gazebo_ros_pkgs/issues/716>`_)
* ROS UTILS: prevent segfault when using alternative GazeboRos constructor (kinetic-devel) (`#721 <https://github.com/ros-simulation/gazebo_ros_pkgs/issues/721>`_)
* Triggered camera / multicamera plugins (`#687 <https://github.com/ros-simulation/gazebo_ros_pkgs/issues/687>`_)
* Fix sensors after time reset (`#683 <https://github.com/ros-simulation/gazebo_ros_pkgs/issues/683>`_)
World resets result in a negative time differences between current world
time and the last recorded sensor update time, preventing the plugin
from publishing new frames. This commit detects such events and resets
the internal sensor update timestamp.
* block_laser, range, and joint_state_publisher keep publishing after clock reset
* p3d keeps publishing after clock reset
* Support 16-bit cameras (`#675 <https://github.com/ros-simulation/gazebo_ros_pkgs/issues/675>`_)
* extend camera util to support 16 bit rgb image encoding: support 16 bit mono
* Add warnings when the user is affected by gazebo not preserving world velocity when set positions (`#691 <https://github.com/ros-simulation/gazebo_ros_pkgs/issues/691>`_)
Issue `#612 <https://github.com/ros-simulation/gazebo_ros_pkgs/issues/612>`_. Workaround at https://github.com/mintar/mimic_joint_gazebo_tutorial
* Fix for preserving world velocity when set positions for Gazebo9: `#612 <https://github.com/ros-simulation/gazebo_ros_pkgs/issues/612>`_
This commit fixes `#612 <https://github.com/ros-simulation/gazebo_ros_pkgs/issues/612>`_, but only for Gazebo9.
Fixing it for Gazebo7 (the version used in ROS Kinetic) requires the
following PR to be backported to Gazebo 7 and 8:
https://bitbucket.org/osrf/gazebo/pull-requests/2814/fix-issue-2111-by-providing-options-to/diff
* gazebo_plugins: unique names for distortion tests (`#685 <https://github.com/ros-simulation/gazebo_ros_pkgs/issues/685>`_)
* Fix tests and compiler warnings on kinetic-devel `#678 <https://github.com/ros-simulation/gazebo_ros_pkgs/issues/678>`_
* fix gazebo9 warnings by removing Set.*Accel calls
* gazebo_plugins: don't use -r in tests
* Contributors: Jose Luis Rivero, Julian Kooij, Kevin Allen, Martin Günther, Steven Peters, krzysztof-zurad
2.5.15 (2018-02-12) 2.5.15 (2018-02-12)
------------------- -------------------
* Merge pull request `#669 <https://github.com/ros-simulation/gazebo_ros_pkgs/issues/669>`_ from ahcorde/kinetic-devel * Merge pull request `#669 <https://github.com/ros-simulation/gazebo_ros_pkgs/issues/669>`_ from ahcorde/kinetic-devel

View File

@ -304,11 +304,12 @@ install(TARGETS
gazebo_ros_utils gazebo_ros_utils
gazebo_ros_camera_utils gazebo_ros_camera_utils
gazebo_ros_camera gazebo_ros_camera
gazebo_ros_triggered_camera
gazebo_ros_multicamera gazebo_ros_multicamera
MultiCameraPlugin MultiCameraPlugin
gazebo_ros_triggered_multicamera
gazebo_ros_depth_camera gazebo_ros_depth_camera
gazebo_ros_openni_kinect gazebo_ros_openni_kinect
gazebo_ros_openni_kinect
gazebo_ros_laser gazebo_ros_laser
gazebo_ros_block_laser gazebo_ros_block_laser
gazebo_ros_p3d gazebo_ros_p3d

View File

@ -149,6 +149,7 @@ namespace gazebo {
// Flags // Flags
bool publishWheelTF_; bool publishWheelTF_;
bool publishOdomTF_;
bool publishWheelJointState_; bool publishWheelJointState_;
}; };
@ -156,4 +157,3 @@ namespace gazebo {
} }
#endif #endif

View File

@ -89,6 +89,7 @@ namespace gazebo {
double y_; double y_;
double rot_; double rot_;
bool alive_; bool alive_;
bool enable_y_axis_; ///< Enable Y-axis movement.
common::Time last_odom_publish_time_; common::Time last_odom_publish_time_;
ignition::math::Pose3d last_odom_pose_; ignition::math::Pose3d last_odom_pose_;

View File

@ -160,6 +160,7 @@ public:
} else { } else {
ss << "the 'robotNamespace' param did not exit"; ss << "the 'robotNamespace' param did not exit";
} }
rosnode_ = boost::shared_ptr<ros::NodeHandle> ( new ros::NodeHandle ( namespace_ ) );
info_text = plugin_ + "(ns = " + namespace_ + ")"; info_text = plugin_ + "(ns = " + namespace_ + ")";
ROS_INFO_NAMED("utils", "%s: %s" , info_text.c_str(), ss.str().c_str() ); ROS_INFO_NAMED("utils", "%s: %s" , info_text.c_str(), ss.str().c_str() );
readCommonParameter (); readCommonParameter ();

View File

@ -1,7 +1,7 @@
<?xml version="1.0"?> <?xml version="1.0"?>
<package format="2"> <package format="2">
<name>gazebo_plugins</name> <name>gazebo_plugins</name>
<version>2.5.15</version> <version>2.5.17</version>
<description> <description>
Robot-independent Gazebo plugins for sensors, motors and dynamic reconfigurable components. Robot-independent Gazebo plugins for sensors, motors and dynamic reconfigurable components.
</description> </description>

Some files were not shown because too many files have changed in this diff Show More