-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
validate agains BASE if TYPE=derived and properly reset log
- Loading branch information
1 parent
4effe6c
commit 416c229
Showing
22 changed files
with
386 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
type: | ||
_mandatory: true | ||
_type: string | ||
_doc: Type of the Map used in the problem. | ||
|
||
plugin: | ||
_mandatory: true | ||
_type: string | ||
_doc: Name of the wolf plugin where the map type is implemented. | ||
|
||
landmarks: | ||
_mandatory: false | ||
_type: derived[] | ||
_base: LandmarkBase | ||
_doc: Sequence of derived landmarks. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
state_provider: | ||
_mandatory: true | ||
_type: bool | ||
_doc: If the processor is used by the problem as provider of state. | ||
|
||
state_provider_order: | ||
_mandatory: $state_provider | ||
_type: double | ||
_doc: The order number of this processor when problem gets the state (only used if state_provider = true). Two processors cannot have the same priority (if so, when installing the second is increased). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
type: | ||
_mandatory: false | ||
_options: ["None"] | ||
_type: string | ||
_doc: Nothing to say here |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
problem: | ||
tree_manager: | ||
_type: derived | ||
_base: TreeManagerBase.schema | ||
_mandatory: true | ||
_doc: Tree manager parameters | ||
dimension: | ||
_type: int | ||
_mandatory: true | ||
_options: [2, 3] | ||
_doc: "Dimension of the problem. '2' for 2D or '3' for 3D" | ||
map: | ||
_type: derived | ||
_base: MapBase.schema | ||
_mandatory: false | ||
_default: | ||
type: MapBase | ||
plugin: core | ||
_doc: The map used in the wolf problem. | ||
sensors: | ||
_type: derived[] | ||
_base: SensorBase.schema | ||
_mandatory: true | ||
_doc: A sequence of all the sensors. | ||
processors: | ||
_type: derived[] | ||
_base: ProcessorBaseWithSensor.schema | ||
_mandatory: true | ||
_doc: A sequence of all the processors. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
follow: Problem.schema | ||
problem: | ||
first_frame: | ||
P: | ||
_mandatory: false | ||
_type: StateP3d | ||
_doc: "specification for the first frame position state" | ||
O: | ||
_mandatory: false | ||
_type: StateO3d | ||
_doc: "specification for the first frame orientation state" | ||
V: | ||
_mandatory: false | ||
_type: StateV3d | ||
_doc: "specification for the first frame linear velocity state" | ||
dimension: | ||
_type: int | ||
_mandatory: true | ||
_options: [3] | ||
_doc: "Dimension of the problem: '3' for 3D" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
follow: TypeAndPlugin.schema | ||
|
||
name: | ||
_mandatory: true | ||
_type: string | ||
_doc: The processor's name. It has to be unique. | ||
|
||
time_tolerance: | ||
_mandatory: true | ||
_type: double | ||
_doc: Maximum time difference between a Keyframe time stamp and a particular Capture of this processor to allow assigning this Capture to the Keyframe. [s]. | ||
|
||
keyframe_vote: | ||
voting_active: | ||
_mandatory: true | ||
_type: bool | ||
_doc: If the processor is allowed to decide to create a frame. | ||
|
||
apply_loss_function: | ||
_mandatory: true | ||
_type: bool | ||
_doc: If the factors created by the processor have loss function. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
follow: ProcessorBase.schema | ||
|
||
sensor_name: | ||
_mandatory: true | ||
_type: string | ||
_doc: The name of the sensor corresponding to this processor. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
follow: ProcessorBase.schema | ||
follow: MotionProvider.schema | ||
keyframe_vote: | ||
max_time_span: | ||
_mandatory: $voting_active | ||
_type: double | ||
_doc: Time threshold to create a new frame [s]. | ||
max_buff_length: | ||
_mandatory: $voting_active | ||
_type: unsigned int | ||
_doc: Maximum size of the buffer of motions. | ||
max_dist_traveled: | ||
_mandatory: $voting_active | ||
_type: double | ||
_doc: Distance traveled threshold to create a new frame [m]. | ||
max_angle_turned: | ||
_mandatory: $voting_active | ||
_type: double | ||
_doc: Angle turned threshold to create a new frame [rad]. | ||
unmeasured_perturbation_std: | ||
_mandatory: true | ||
_type: double | ||
_doc: Noise (standard deviation) of the integrated movement in the not observed directions. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
follow: ProcessorMotion.schema |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
follow: TypeAndPlugin.schema | ||
|
||
name: | ||
_mandatory: true | ||
_type: string | ||
_doc: The sensor's name. It has to be unique. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
follow: SensorBase.schema | ||
|
||
k_disp_to_disp: | ||
_mandatory: true | ||
_type: double | ||
_doc: ratio of displacement variance to displacement, for odometry noise calculation. | ||
|
||
k_disp_to_rot: | ||
_mandatory: true | ||
_type: double | ||
_doc: ratio of displacement variance to rotation, for odometry noise calculation. | ||
|
||
k_rot_to_rot: | ||
_mandatory: true | ||
_type: double | ||
_doc: ratio of rotation variance to rotation, for odometry noise calculation. | ||
|
||
min_disp_var: | ||
_mandatory: true | ||
_type: double | ||
_doc: minimum displacement variance, for odometry noise calculation. | ||
|
||
min_rot_var: | ||
_mandatory: true | ||
_type: double | ||
_doc: minimum rotation variance, for odometry noise calculation. | ||
|
||
states: | ||
P: | ||
follow: StateSensorP3d.schema | ||
O: | ||
follow: StateSensorO3d.schema |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
type: | ||
_type: string | ||
_mandatory: false | ||
_value: StateQuaternion | ||
_doc: "The type of the state for orientation in 3D: StateQuaternion. Not required to be filled by the user" | ||
|
||
value: | ||
_type: Vector4d | ||
_mandatory: true | ||
_doc: A vector containing the quaternion values (x, y, z, w) | ||
|
||
prior: | ||
mode: | ||
_type: string | ||
_mandatory: true | ||
_options: ["fix", "factor", "initial_guess"] | ||
_doc: Can be 'factor' to add an absolute factor (with covariance defined in 'factor_std'), 'fix' to set the values constant or 'initial_guess' to just set the values. | ||
|
||
factor_std: | ||
_type: Vector3d | ||
_mandatory: $mode == 'factor' | ||
_doc: A vector containing the stdev values of the noise of the factor, i.e. the sqrt of the diagonal elements of the covariance matrix [rad]. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
type: | ||
_type: string | ||
_mandatory: false | ||
_value: StatePoint3d | ||
_doc: "The type of the state for position in 3D: StatePoint3d. Not required to be filled by the user" | ||
|
||
value: | ||
_type: Vector3d | ||
_mandatory: true | ||
_doc: A vector containing the position (x, y, z) [m]. | ||
|
||
prior: | ||
mode: | ||
_type: string | ||
_mandatory: true | ||
_options: ["fix", "factor", "initial_guess"] | ||
_doc: Can be 'factor' to add an absolute factor (with covariance defined in 'factor_std'), 'fix' to set the values constant or 'initial_guess' to just set the values. | ||
|
||
factor_std: | ||
_type: Vector3d | ||
_mandatory: $mode == 'factor' | ||
_doc: A vector containing the stdev values of the noise of the factor, i.e. the sqrt of the diagonal elements of the covariance matrix [m]. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
dynamic: | ||
_type: bool | ||
_mandatory: true | ||
_doc: If the orientation is dynamic, i.e. it changes along time. | ||
|
||
value: | ||
_type: Vector4d | ||
_mandatory: true | ||
_doc: A vector containing the quaternion values (x, y, z, w) | ||
|
||
prior: | ||
mode: | ||
_type: string | ||
_mandatory: true | ||
_options: ["fix", "factor", "initial_guess"] | ||
_doc: Can be 'factor' to add an absolute factor (with covariance defined in 'factor_std'), 'fix' to set the values constant or 'initial_guess' to just set the values. | ||
|
||
factor_std: | ||
_type: Vector3d | ||
_mandatory: $mode == 'factor' | ||
_doc: A vector containing the stdev values of the noise of the factor, i.e. the sqrt of the diagonal elements of the covariance matrix [rad]. | ||
|
||
drift_std: | ||
_type: Vector3d | ||
_mandatory: false | ||
_doc: A vector containing the stdev values of the noise of the drift factor per second (only if dynamic==true), i.e. the sqrt of the diagonal elements of the covariance matrix [rad/sqrt(s)]. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
dynamic: | ||
_type: bool | ||
_mandatory: true | ||
_doc: If the position is dynamic, i.e. it changes along time. | ||
|
||
value: | ||
_type: Vector3d | ||
_mandatory: true | ||
_doc: A vector containing the position (x, y, z) [m]. | ||
|
||
prior: | ||
mode: | ||
_type: string | ||
_mandatory: true | ||
_options: ["fix", "factor", "initial_guess"] | ||
_doc: Can be 'factor' to add an absolute factor (with covariance defined in 'factor_std'), 'fix' to set the values constant or 'initial_guess' to just set the values. | ||
|
||
factor_std: | ||
_type: Vector3d | ||
_mandatory: $mode == 'factor' | ||
_doc: A vector containing the stdev values of the noise of the factor, i.e. the sqrt of the diagonal elements of the covariance matrix [m]. | ||
|
||
drift_std: | ||
_type: Vector3d | ||
_mandatory: false | ||
_doc: A vector containing the stdev values of the noise of the drift factor per second (only if dynamic==true) i.e. the sqrt of the diagonal elements of the covariance matrix [m/sqrt(s)]. |
Oops, something went wrong.