syntax = "proto2";
package gazebo.msgs;

/// \ingroup gazebo_msgs
/// \interface Link
/// \brief Information about a link


import "inertial.proto";
import "collision.proto";
import "visual.proto";
import "sensor.proto";
import "projector.proto";
import "pose.proto";
import "battery.proto";

message Link
{
  optional uint32 id            = 1;
  required string name          = 2;
  optional bool self_collide    = 3;
  optional bool gravity         = 4;
  optional bool kinematic       = 5;
  optional bool enabled         = 6;
  optional Inertial inertial    = 7;
  optional Pose pose            = 8;
  repeated Visual visual        = 9;
  repeated Collision collision  = 10;
  repeated Sensor sensor        = 11;
  repeated Projector projector  = 12;
  optional bool canonical       = 13;

  /// \brief An optional vector of batteries that are attached to this link.
  repeated Battery battery      = 14;
}
