---
title: "PathSegmentSettings"
product: "LumiScan VGR"
component: "lumiscan-vgr"
version: "1.8.4"
display_version: "1.8.4.6"
latest_version: true
language: "en"
url: "https://docs.hdvisionsystems.com/en/lumiscan-vgr/1.8.4/api/settings/path-segment-settings.html"
---

# PathSegmentSettings – LumiScan VGR

Define a continuous path segment from the current pose to a waypoint.

## Member Variables

- **`type`:** `PATH_SEGMENT_TYPE`, default: `\{PATH_SEGMENT_TYPE::MOVE_LINEAR_STATE\}` *JSON Type*: string +*Requirement*: Must be a PATH_SEGMENT_TYPE Determine how the path segment should be executed.

- **`destination`:** `std::string`, default: `\{\}` *JSON Type*: string +*Requirement*: Must be a valid waypoint id. Id of the destination waypoint.

- **`sendActionId`:** `int`, default: `{0}` *JSON Type*: (optional) int Id that is transmitted to the PLC when this waypoint is returned.

- **`enableCollisionCheck`:** `bool`, default: `{true}` *JSON Type*: (optional) bool Turn collision check for this segment off/on, default is on.

- **`numberOfAllowedCollisions`:** `size_t`, default: `{0}` Configure how many collisions are allowed accumulated from start point to end point(end point not included). *JSON Type*: (optional) size_t

## Enumerations

**Table 1. PATH_SEGMENT_TYPE**

| Value | Description |
| --- | --- |
| `MOVE_LINEAR_STATE` | The path segment is executed linear in state space. |
| `MOVE_LINEAR_JOINT` | The path segment is executed linear in joint space (UNIMPLEMENTED). |
| `MOVE_NONLINEAR` | The path segment is executed nonlinear (UNIMPLEMENTED). |
