Skip to content

Commit c0e32a2

Browse files
tpajenkamp-dspacepmai
authored andcommitted
Added AcquireGlobalPositionAction to TrafficCommand message and flattened hiearchy to define the target pose
Signed-off-by: Pierre R. Mai <pmai@pmsf.de>
1 parent 9b77cb2 commit c0e32a2

File tree

2 files changed

+20
-25
lines changed

2 files changed

+20
-25
lines changed

osi_common.proto

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -190,20 +190,6 @@ message Orientation3d
190190
optional double yaw = 3;
191191
}
192192

193-
//
194-
// \brief Specifies the Position and Orientation of an object.
195-
//
196-
message Position6d
197-
{
198-
// Offset position relative to the specified reference coordinate system.
199-
//
200-
optional Vector3d position = 1;
201-
202-
// Orientation offset relative to the specified reference coordinate system.
203-
//
204-
optional Orientation3d orientation = 2;
205-
}
206-
207193
//
208194
// \brief A common identifier (ID), represented as an integer.
209195
//

osi_trafficcommand.proto

Lines changed: 20 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,10 @@ message TrafficAction
6767
// A PathAction
6868
//
6969
PathAction path_action = 2;
70+
71+
// An AcquireGlobalPositionAction
72+
//
73+
AcquireGlobalPositionAction acquire_global_position_action = 3;
7074
}
7175
}
7276

@@ -181,19 +185,24 @@ message PathAction
181185

182186

183187
//
184-
// \brief Acquire Global Position Action
185-
//
186-
// \note This is not discussed in SL425 UAP 2.1.5 and is not part of this
187-
// proposal. This is temporary for the MS1.
188-
//
189-
// \note Remark: The Position6d is a redefinition of a Position + Orientation.
190-
// Neither the redefinition nore the naming "position" for a pose makes sense.
188+
// \brief Acquire Global Position Action. It provides an interface to describe
189+
// a target pose.
191190
//
192191
// \note Remark: Maybe better to avoid an other redefinition and use a
193-
// TrajectoryAction with only trajectorypoint.
192+
// PathAction with only one path_point.
194193
//
195-
message AcquireGlobalPositionAction {
196-
// Position and orientation relative to the global coordinate system.
194+
message AcquireGlobalPositionAction
195+
{
196+
// The action_header
197+
//
198+
//
199+
optional ActionHeader action_header = 1;
200+
201+
// Offset position relative to the global coordinate system.
202+
//
203+
optional Vector3d position = 2;
204+
205+
// Orientation offset relative to the global coordinate system.
197206
//
198-
optional Position6d position = 1;
207+
optional Orientation3d orientation = 3;
199208
}

0 commit comments

Comments
 (0)