Skip to content

Commit

Permalink
Merge migration documentation, add code tags
Browse files Browse the repository at this point in the history
  • Loading branch information
luca-della-vedova committed Mar 30, 2020
2 parents cebf302 + a789489 commit 7ddb36e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
3 changes: 3 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@

### Ignition Gazebo 4.0.0 (20XX-XX-XX)

1. Added support for removing sensors at runtime
* [Pull Request 558](https://bitbucket.org/ignitionrobotics/ign-gazebo/pull-requests/558)

1. Support <actor><pose> and <actor><plugin>
* [Pull Request 542](https://bitbucket.org/ignitionrobotics/ign-gazebo/pull-requests/542)

Expand Down
10 changes: 9 additions & 1 deletion Migration.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,15 @@ release will remove the deprecated code.

## Ignition Gazebo 3.x to 4.x

* The CreateSensor function in the Sensors system, as well as the callbacks in gazebo rendering, have a new required function argument for the Entity of the sensor.
* The `RenderUtil::SetEnabledSensors` callback in gazebo rendering has a new
required function argument for the Entity of the sensor.
* ***Removed***
`public: void SetEnableSensors(bool, std::function<
std::string(const sdf::Sensor &, const std::string &)>)`
* ***Replacement***
`public: void SetEnableSensors(bool, std::function<
std::string(const gazebo::Entity &,
const sdf::Sensor &, const std::string &)>)`

## Ignition Gazebo 2.x to 3.x

Expand Down

0 comments on commit 7ddb36e

Please sign in to comment.