|
| 1 | +/* |
| 2 | + * Copyright (C) 2022 Open Source Robotics Foundation |
| 3 | + * |
| 4 | + * Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | + * you may not use this file except in compliance with the License. |
| 6 | + * You may obtain a copy of the License at |
| 7 | + * |
| 8 | + * http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | + * |
| 10 | + * Unless required by applicable law or agreed to in writing, software |
| 11 | + * distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | + * See the License for the specific language governing permissions and |
| 14 | + * limitations under the License. |
| 15 | + * |
| 16 | +*/ |
| 17 | + |
| 18 | +syntax = "proto3"; |
| 19 | +package gz.msgs; |
| 20 | +option java_package = "com.gz.msgs"; |
| 21 | +option java_outer_classname = "DVLVelocityTrackingProtos"; |
| 22 | + |
| 23 | +/// \ingroup gz.msgs |
| 24 | +/// \interface DVLVelocityTracking |
| 25 | +/// \brief Velocity tracking estimates from a Doppler Velocity Log sensor. |
| 26 | +/// Doppler velocity logs are used by the maritime community to track the velocity |
| 27 | +/// of a vessel with respect to some (reflecting) target. |
| 28 | + |
| 29 | +import "gz/msgs/header.proto"; |
| 30 | +import "gz/msgs/dvl_beam_state.proto"; |
| 31 | +import "gz/msgs/dvl_tracking_target.proto"; |
| 32 | +import "gz/msgs/dvl_kinematic_estimate.proto"; |
| 33 | + |
| 34 | +message DVLVelocityTracking |
| 35 | +{ |
| 36 | + /// \brief Message header. |
| 37 | + Header header = 1; |
| 38 | + |
| 39 | + /// \brief DVL types. |
| 40 | + enum DVLType |
| 41 | + { |
| 42 | + /// \brief Unspecific DVL type. |
| 43 | + DVL_TYPE_UNSPECIFIED = 0; |
| 44 | + /// \brief Piston DVLs. |
| 45 | + DVL_TYPE_PISTON = 1; |
| 46 | + /// \brief Phased array DVLs. |
| 47 | + DVL_TYPE_PHASED_ARRAY = 2; |
| 48 | + }; |
| 49 | + /// \brief Type of DVL. |
| 50 | + DVLType type = 2; |
| 51 | + |
| 52 | + /// \brief Locked on target. |
| 53 | + DVLTrackingTarget target = 3; |
| 54 | + |
| 55 | + /// \brief Estimated velocity of either target or sensor |
| 56 | + /// w.r.t. the specified frame, in meters per second. |
| 57 | + DVLKinematicEstimate velocity = 4; |
| 58 | + |
| 59 | + /// \brief Tracking beams' state. |
| 60 | + repeated DVLBeamState beams = 5; |
| 61 | + |
| 62 | + /// \brief Vendor-specific status (e.g. bitmask, error code). |
| 63 | + int32 status = 6; |
| 64 | +} |
0 commit comments