A tick-tock release cycle allows easy migration to new software versions. Obsolete code is marked as deprecated for one major release. Deprecated code produces compile-time warnings. These warning serve as notification to users that their code should be upgraded. The next major release will remove the deprecated code.
- spherical_coordinates.proto
-
The
LOCAL2
field inSphericalCoordinatesType
is deprecated, useLOCAL
instead. See gazebosim/gz-math#616 for more details. When converting and passing the value togz::math::SphericalCoordinates
class for processing, beware that in gz-math 9, some methods yield different results when they are passed agz::math::Vector3d
inLOCAL
frame (wrong, but backwards-compatible ones) and different ones when passed agz::math::CoordinateVector3
(the correct ones). PassingVector3d
to theSphericalCoordinates
methods will be removed in gz-math 10. You need to carefully consider this during migration. This table should help with the migration decisions:Old frame Old vector type Migrated frame Migrated vector type Behavior LOCAL2
Vector3d
LOCAL
CoordinateVector3
no behavior change, correct computation LOCAL2
Vector3d
LOCAL
Vector3d
behavior change, wrong computation (before was correct computation), deprecated call (removed in gz-math 10) LOCAL2
Vector3d
LOCAL2
CoordinateVector3
no behavior change, correct computation, deprecated constant (removed in gz-math 10) LOCAL2
Vector3d
LOCAL2
Vector3d
no behavior change, correct computation, deprecated constant and call (removed in gz-math 10) LOCAL
Vector3d
LOCAL
CoordinateVector3
behavior change, correct computation (before was wrong computation) LOCAL
Vector3d
LOCAL
Vector3d
no behavior change, wrong computation, deprecated call (removed in gz-math 10) When the table says behavior change, it means that the wrong computation incorrectly worked in West-South-Up frame, even though it told it works in East-North-Up frame. The old code using the wrong computation had to either (i) flip the sign of latitude and longitude, or (ii) rotate the results by 180 degrees in heading. When you migrate away from the wrong computations, you should drop these corrections.
-
- Th message generation pipeline is now accessible in downstream packages .
- For more information, consult the
using_gz_msgs
example. - Note that there will no longer be Ruby generated messages, this support will be restored as-needed.
- SuppressWarnings.hh is deprecated and isn't part of
msgs.hh
anymore. Use gz-utils instead. - Header files under
ignition/...
are deprecated and will be removed in future versions. Usegz/...
instead. - Protobuf messages and packages will no longer use
ignition.msgs
, usegz.msgs
instead INSTALL_IGN_MSGS_GEN_EXECUTABLE
andIGN_MSGS_GEN_EXECUTABLE
are deprecated and will be removed. UseINSTALL_GZ_MSGS_GEN_EXECUTABLE
andGZ_MSGS_GEN_EXECUTABLE
instead.IGN_DESCRIPTOR_PATH
is deprecated and will be removed. UseGZ_DESCRIPTOR_PATH
instead.camerasensor.proto
has deprected thestring image_format = 4
. Please usePixelFormatType pixel_format = 21;
- The project name has been changed to use the
gz-
prefix, you must use thegz
prefix!
- This also means that any generated code that use the project name (e.g. CMake variables, in-source macros) would have to be migrated.
- Some non-exhaustive examples of this include:
GZ_<PROJECT>_<VISIBLE/HIDDEN>
- CMake
-config
files - Paths that depend on the project name
-
gps.proto
- Recommend the use of navsat.proto instead. The GPS message will be deprecated in the future.
-
gps_sensor.proto
- Recommend the use of navsat_sensor.proto instead. The GPS message will be deprecated in the future.
-
bool use_parent_model_frame
fromaxis.proto
. -
double force
fromjoint_cmd.proto
. -
double target
,double p_gain
,double i_gain
,double d_gain
,double i_max
,double i_min
,double limit
frompid.proto
.
- particle_emitter.proto
- Fields have changed from plain data types to messages.
- See PR 137
- Fields have changed from plain data types to messages.
- axis.proto
- The
use_parent_model_frame
field is deprecated, usexyz_expressed_in
instead. Settingxyz_expressed_in = "__model__"
is equivalent touse_parent_model_frame = true
and leavingxyz_expressed_in
empty is equivalent touse_parent_model_frame = false
- The
-
image.proto
- Corrected
BAYER_RGGR8
toBAYER_BGGR8
inPixelFormatType
.
- Corrected
-
joint.proto
- The
axis.proto
message contains joint position, velocity, force, and acceleration information.
- The
-
serialized.proto
SerializedComponent
'scomponent
field type changed fromstring
tobytes
.
-
sensor.proto
- Deprecating
RaySensor
, and replacing withLidarSensor
.
- Deprecating
-
joint.proto
- The
angle
field is deprecated, useposition
in the axis.proto message instead. - The
velocity
field is deprecated, usevelocity
in the axis.proto message instead.
- The
-
image.proto
pixel_format
field is deprecated, usepixel_format_type
with enumPixelFormatType
instead.
- include/gz/msgs/gz.hh is no longer installed.
-
axis_aligned_box.proto
- New message for axis-aligned bounding boxes.
-
entity.proto
- New message to uniquely identify an entity.
-
entity_factory.proto
- Add
Model
field to allow model insertion.
- Add
-
light.proto
- Add
id
,parent_id
fields.
- Add
-
link.proto
- Add repeated
light
field.
- Add repeated
-
twist.proto
- New message for storing linear and angular velocity.
-
Utility.hh
- Conversion functions for
axis_aligned_box.proto
.
- Conversion functions for
-
Use ignition-cmake2 and ignition-math6.
-
Use protobuf3 for all messages.
-
contacts.proto
- Use
Entity
instead of string to specify entities in contact.
- Use
-
entity_factory.proto
- Rename
clone_model_name
field toclone_name
. - Remove
edit_name
field. - Use
oneof
to indicate only one method can be used at a time.
- Rename
- Use
gz-math6
instead ofgz-math5
. This implies an indirect dependency ongz-cmake2
and cmake 3.10.2, which are not available on Ubuntu Xenial, so migration to Ubuntu Bionic may be required.
-
log_control.proto
- Add
record_resources
bool to match osrf/gazebo PR 3008.
- Add
-
log_status.proto
- Add
record_resources
bool to match osrf/gazebo PR 3008.
- Add
-
sonar.proto
- Add
geometry
field.
- Add
-
world_statistics.proto
- Add
real_time_factor
field.
- Add
-
Use ignition-cmake1 and ignition-math5.
-
Use inline versioned namespace.
- Generator.hh
- This file is no longer installed. It served only to make an internal protc plugin that customized the protobuf compiler output.