Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
47 changes: 45 additions & 2 deletions Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,38 @@
1. Bumps in garden : ci_matching_branch/bump_garden_ign-msgs9
* [Pull request #203](https://github.com/gazebosim/gz-msgs/pull/203)

## Gazebo Msgs 8.x

### Gazebo Msgs 8.7.0 (2022-09-27)

1. ign -> gz Redirect Gz Headers
* [Pull request #300](https://github.com/gazebosim/gz-msgs/pull/300)
* [Pull request #307](https://github.com/gazebosim/gz-msgs/pull/307)

1. Add parameter component message definitions
* [Pull request #241](https://github.com/gazebosim/gz-msgs/pull/241)
* [Pull request #298](https://github.com/gazebosim/gz-msgs/pull/298)

1. Remove redunant namespace references
* [Pull request #293](https://github.com/gazebosim/gz-msgs/pull/293)

### Gazebo Msgs 8.6.0 (2022-08-02)

1. Increase `Utility` test coverage
* [Pull request #283](https://github.com/gazebosim/gz-msgs/pull/283)

1. Change `IGN_DESIGNATION` to `GZ_DESIGNATION`
* [Pull request #282](https://github.com/gazebosim/gz-msgs/pull/282)
* [Pull request #284](https://github.com/gazebosim/gz-msgs/pull/284)

1. Add entity wrench message
* [Pull request #274](https://github.com/gazebosim/gz-msgs/pull/274)

1. Ignition -> Gazebo
* [Pull request #273](https://github.com/gazebosim/gz-msgs/pull/273)

1. Add `ACTOR` and `WORLD` types to entity
* [Pull request #275](https://github.com/gazebosim/gz-msgs/pull/275)

### Gazebo Msgs 8.5.0 (2022-06-23)

Expand All @@ -125,8 +157,6 @@
1. Generator: Add missing std namespace to string arguments
* [Pull request #242](https://github.com/gazebosim/gz-msgs/pull/242)

## Gazebo Msgs 8.x

### Gazebo Msgs 8.4.0 (2022-04-06)

1. Add Dataframe msg
Expand Down Expand Up @@ -374,6 +404,19 @@

## Gazebo Msgs 5.x

### Gazebo Msgs 5.10.0 (2022-10-10)

1. Ignition to Gazebo renaming.
* [Pull request #282](https://github.com/gazebosim/gz-msgs/pull/282)
* [Pull request #293](https://github.com/gazebosim/gz-msgs/pull/293)
* [Pull request #300](https://github.com/gazebosim/gz-msgs/pull/300)

1. Remove mistaken VERSION.
* [Pull request #284](https://github.com/gazebosim/gz-msgs/pull/284)

1. Increase utility coverage.
* [Pull request #283](https://github.com/gazebosim/gz-msgs/pull/283)

### Gazebo Msgs 5.10.0 (2022-07-18)

1. Add entity wrench message
Expand Down
2 changes: 1 addition & 1 deletion proto/gz/msgs/lens.proto
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ package gz.msgs;
option java_package = "com.gz.msgs";
option java_outer_classname = "LensProtos";

/// \ingroup ignition.msgs
/// \ingroup gz.msgs
/// \interface Lens
/// \brief Information about a lens element

Expand Down
36 changes: 36 additions & 0 deletions proto/gz/msgs/parameter.proto
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
/*
* Copyright (C) 2022 Open Source Robotics Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*/

syntax = "proto3";
package gz.msgs;
option java_package = "com.gz.msgs";
option java_outer_classname = "ParameterProtos";

/// \ingroup gz.msgs
/// \interface Parameter
/// \brief Representation of a parameter, used to request to set a parameter.

import "google/protobuf/any.proto";

message Parameter
{
/// \brief Parameter name.
string name = 1;

/// \brief Serialized parameter value.
google.protobuf.Any value = 2;
};
34 changes: 34 additions & 0 deletions proto/gz/msgs/parameter_declaration.proto
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
/*
* Copyright (C) 2022 Open Source Robotics Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*/

syntax = "proto3";
package gz.msgs;
option java_package = "com.gz.msgs";
option java_outer_classname = "ParameterDeclarationProtos";

/// \ingroup gz.msgs
/// \interface ParameterDeclaration
/// \brief Representation of a parameter declaration.

message ParameterDeclaration
{
/// \brief Parameter name.
string name = 1;

/// \brief Parameter type, i.e. the associated protobuf type.
string type = 2;
};
33 changes: 33 additions & 0 deletions proto/gz/msgs/parameter_declarations.proto
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
/*
* Copyright (C) 2022 Open Source Robotics Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*/

syntax = "proto3";
package gz.msgs;
option java_package = "com.gz.msgs";
option java_outer_classname = "ParameterDeclarationsProtos";

/// \ingroup gz.msgs
/// \interface ParameterDeclarations
/// \brief Collection of parameter declarations.

import "gz/msgs/parameter_declaration.proto";

message ParameterDeclarations
{
/// \brief Parameter declarations.
repeated ParameterDeclaration parameter_declarations = 1;
};
36 changes: 36 additions & 0 deletions proto/gz/msgs/parameter_error.proto
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
/*
* Copyright (C) 2022 Open Source Robotics Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*/

syntax = "proto3";
package gz.msgs;
option java_package = "com.gz.msgs";
option java_outer_classname = "ParameterErrorProtos";

/// \ingroup gz.msgs
/// \interface ParameterError
/// \brief Parameter server errors for declare or set parameter.

message ParameterError
{
enum Type {
SUCCESS = 0;
ALREADY_DECLARED = 1;
INVALID_TYPE = 2;
NOT_DECLARED = 3;
}
Type data = 1;
};
31 changes: 31 additions & 0 deletions proto/gz/msgs/parameter_name.proto
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
/*
* Copyright (C) 2022 Open Source Robotics Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*/

syntax = "proto3";
package gz.msgs;
option java_package = "com.gz.msgs";
option java_outer_classname = "ParameterNameProtos";

/// \ingroup gz.msgs
/// \interface ParameterName
/// \brief Parameter name, used as a request to get a parameter.

message ParameterName
{
/// \brief Parameter name.
string name = 1;
};
33 changes: 33 additions & 0 deletions proto/gz/msgs/parameter_value.proto
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
/*
* Copyright (C) 2022 Open Source Robotics Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*/

syntax = "proto3";
package gz.msgs;
option java_package = "com.gz.msgs";
option java_outer_classname = "ParameterValueProtos";

/// \ingroup gz.msgs
/// \interface ParameterValue
/// \brief Representation of a parameter value, used as a response to get a parameter.

import "google/protobuf/any.proto";

message ParameterValue
{
/// \brief Serialized protobuf message.
google.protobuf.Any data = 1;
};
12 changes: 6 additions & 6 deletions src/PointCloudPackedUtils_TEST.cc
Original file line number Diff line number Diff line change
Expand Up @@ -125,17 +125,17 @@ TEST(PointCloudPackedUtilsTest, MultipleFields)

EXPECT_EQ("x", pcMsg.field(0).name());
EXPECT_EQ(0u, pcMsg.field(0).offset());
EXPECT_EQ(msgs::PointCloudPacked::Field::INT8, pcMsg.field(0).datatype());
EXPECT_EQ(PointCloudPacked::Field::INT8, pcMsg.field(0).datatype());
EXPECT_EQ(1u, pcMsg.field(0).count());

EXPECT_EQ("y", pcMsg.field(1).name());
EXPECT_EQ(1u, pcMsg.field(1).offset());
EXPECT_EQ(msgs::PointCloudPacked::Field::UINT8, pcMsg.field(1).datatype());
EXPECT_EQ(PointCloudPacked::Field::UINT8, pcMsg.field(1).datatype());
EXPECT_EQ(1u, pcMsg.field(1).count());

EXPECT_EQ("z", pcMsg.field(2).name());
EXPECT_EQ(2u, pcMsg.field(2).offset());
EXPECT_EQ(msgs::PointCloudPacked::Field::INT16, pcMsg.field(2).datatype());
EXPECT_EQ(PointCloudPacked::Field::INT16, pcMsg.field(2).datatype());
EXPECT_EQ(1u, pcMsg.field(2).count());

// Reserve space for data
Expand Down Expand Up @@ -237,9 +237,9 @@ TEST(PointCloudPackedUtilsTest, XYZRGBA)
{
PointCloudPacked pcMsg;

msgs::InitPointCloudPacked(pcMsg, "my_frame", true,
{{"xyz", msgs::PointCloudPacked::Field::FLOAT32},
{"rgba", msgs::PointCloudPacked::Field::FLOAT32}});
InitPointCloudPacked(pcMsg, "my_frame", true,
{{"xyz", PointCloudPacked::Field::FLOAT32},
{"rgba", PointCloudPacked::Field::FLOAT32}});

// Reserve space for data
unsigned int total{5 * pcMsg.point_step()};
Expand Down
Loading