/// <summary> Constructor for empty message. </summary> public AttachedCollisionObject() { LinkName = string.Empty; Object = new CollisionObject(); TouchLinks = System.Array.Empty <string>(); DetachPosture = new TrajectoryMsgs.JointTrajectory(); }
/// <summary> Constructor with buffer. </summary> internal AttachedCollisionObject(ref Buffer b) { LinkName = b.DeserializeString(); Object = new CollisionObject(ref b); TouchLinks = b.DeserializeStringArray(); DetachPosture = new TrajectoryMsgs.JointTrajectory(ref b); Weight = b.Deserialize <double>(); }
/// <summary> Explicit constructor. </summary> public AttachedCollisionObject(string LinkName, CollisionObject Object, string[] TouchLinks, TrajectoryMsgs.JointTrajectory DetachPosture, double Weight) { this.LinkName = LinkName; this.Object = Object; this.TouchLinks = TouchLinks; this.DetachPosture = DetachPosture; this.Weight = Weight; }
/// <summary> Constructor with buffer. </summary> internal PlaceLocation(ref Buffer b) { Id = b.DeserializeString(); PostPlacePosture = new TrajectoryMsgs.JointTrajectory(ref b); PlacePose = new GeometryMsgs.PoseStamped(ref b); PrePlaceApproach = new GripperTranslation(ref b); PostPlaceRetreat = new GripperTranslation(ref b); AllowedTouchObjects = b.DeserializeStringArray(); }
/// <summary> Explicit constructor. </summary> public PlaceLocation(string Id, TrajectoryMsgs.JointTrajectory PostPlacePosture, GeometryMsgs.PoseStamped PlacePose, GripperTranslation PrePlaceApproach, GripperTranslation PostPlaceRetreat, string[] AllowedTouchObjects) { this.Id = Id; this.PostPlacePosture = PostPlacePosture; this.PlacePose = PlacePose; this.PrePlaceApproach = PrePlaceApproach; this.PostPlaceRetreat = PostPlaceRetreat; this.AllowedTouchObjects = AllowedTouchObjects; }
/// <summary> Constructor for empty message. </summary> public PlaceLocation() { Id = string.Empty; PostPlacePosture = new TrajectoryMsgs.JointTrajectory(); PlacePose = new GeometryMsgs.PoseStamped(); PrePlaceApproach = new GripperTranslation(); PostPlaceRetreat = new GripperTranslation(); AllowedTouchObjects = System.Array.Empty <string>(); }
/// <summary> Constructor with buffer. </summary> internal Grasp(ref Buffer b) { Id = b.DeserializeString(); PreGraspPosture = new TrajectoryMsgs.JointTrajectory(ref b); GraspPosture = new TrajectoryMsgs.JointTrajectory(ref b); GraspPose = new GeometryMsgs.PoseStamped(ref b); GraspQuality = b.Deserialize <double>(); PreGraspApproach = new GripperTranslation(ref b); PostGraspRetreat = new GripperTranslation(ref b); PostPlaceRetreat = new GripperTranslation(ref b); MaxContactForce = b.Deserialize <float>(); AllowedTouchObjects = b.DeserializeStringArray(); }
/// <summary> Explicit constructor. </summary> public Grasp(string Id, TrajectoryMsgs.JointTrajectory PreGraspPosture, TrajectoryMsgs.JointTrajectory GraspPosture, GeometryMsgs.PoseStamped GraspPose, double GraspQuality, GripperTranslation PreGraspApproach, GripperTranslation PostGraspRetreat, GripperTranslation PostPlaceRetreat, float MaxContactForce, string[] AllowedTouchObjects) { this.Id = Id; this.PreGraspPosture = PreGraspPosture; this.GraspPosture = GraspPosture; this.GraspPose = GraspPose; this.GraspQuality = GraspQuality; this.PreGraspApproach = PreGraspApproach; this.PostGraspRetreat = PostGraspRetreat; this.PostPlaceRetreat = PostPlaceRetreat; this.MaxContactForce = MaxContactForce; this.AllowedTouchObjects = AllowedTouchObjects; }
/// <summary> Constructor with buffer. </summary> internal RobotTrajectory(ref Buffer b) { JointTrajectory = new TrajectoryMsgs.JointTrajectory(ref b); MultiDofJointTrajectory = new TrajectoryMsgs.MultiDOFJointTrajectory(ref b); }
/// <summary> Explicit constructor. </summary> public RobotTrajectory(TrajectoryMsgs.JointTrajectory JointTrajectory, TrajectoryMsgs.MultiDOFJointTrajectory MultiDofJointTrajectory) { this.JointTrajectory = JointTrajectory; this.MultiDofJointTrajectory = MultiDofJointTrajectory; }
/// <summary> Constructor for empty message. </summary> public RobotTrajectory() { JointTrajectory = new TrajectoryMsgs.JointTrajectory(); MultiDofJointTrajectory = new TrajectoryMsgs.MultiDOFJointTrajectory(); }