Position relative to the parent frame (overridden by a followed trajectory).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(ReferenceFrame), | intent(inout) | :: | self | |||
| real(kind=wp), | intent(in) | :: | position(3) |
parent frame's coordinates |
subroutine set_position(self, position) class(ReferenceFrame), intent(inout) :: self real(wp), intent(in) :: position(3) !! parent frame's coordinates if (any(position /= self%position_)) self%stamp_ = next_motion_stamp() self%position_ = position end subroutine set_position