Esempio n. 1
0
 /// <summary> Constructor for empty message. </summary>
 public AttachedCollisionObject()
 {
     LinkName      = string.Empty;
     Object        = new CollisionObject();
     TouchLinks    = System.Array.Empty <string>();
     DetachPosture = new TrajectoryMsgs.JointTrajectory();
 }
Esempio n. 2
0
 /// <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>();
 }
Esempio n. 3
0
 /// <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;
 }
Esempio n. 4
0
 /// <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();
 }
Esempio n. 5
0
 /// <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;
 }
Esempio n. 6
0
 /// <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>();
 }
Esempio n. 7
0
 /// <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();
 }
Esempio n. 8
0
 /// <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;
 }
Esempio n. 9
0
 /// <summary> Constructor with buffer. </summary>
 internal RobotTrajectory(ref Buffer b)
 {
     JointTrajectory         = new TrajectoryMsgs.JointTrajectory(ref b);
     MultiDofJointTrajectory = new TrajectoryMsgs.MultiDOFJointTrajectory(ref b);
 }
Esempio n. 10
0
 /// <summary> Explicit constructor. </summary>
 public RobotTrajectory(TrajectoryMsgs.JointTrajectory JointTrajectory, TrajectoryMsgs.MultiDOFJointTrajectory MultiDofJointTrajectory)
 {
     this.JointTrajectory         = JointTrajectory;
     this.MultiDofJointTrajectory = MultiDofJointTrajectory;
 }
Esempio n. 11
0
 /// <summary> Constructor for empty message. </summary>
 public RobotTrajectory()
 {
     JointTrajectory         = new TrajectoryMsgs.JointTrajectory();
     MultiDofJointTrajectory = new TrajectoryMsgs.MultiDOFJointTrajectory();
 }