Skip to content
Snippets Groups Projects
Commit 00484e4e authored by Joan Vallvé Navarro's avatar Joan Vallvé Navarro
Browse files

using _value in schemas

parent d75fe5f9
No related branches found
No related tags found
1 merge request!448Draft: Resolve "Implementation of new nodes creation"
Pipeline #16015 passed
Showing
with 16 additions and 61 deletions
...@@ -24,6 +24,7 @@ ...@@ -24,6 +24,7 @@
#include "core/factor/factor_analytic.h" #include "core/factor/factor_analytic.h"
#include "core/frame/frame_base.h" #include "core/frame/frame_base.h"
#include "core/math/rotations.h" #include "core/math/rotations.h"
#include "core/state_block/state_angle.h"
namespace wolf namespace wolf
{ {
......
...@@ -7,7 +7,6 @@ problem: ...@@ -7,7 +7,6 @@ problem:
follow: SpecStateO2d.schema follow: SpecStateO2d.schema
dimension: dimension:
_type: int _type: int
_mandatory: false _mandatory: true
_default: 2
_options: [2] _options: [2]
_doc: "Dimension of the problem: '2' for 2D" _doc: "Dimension of the problem: '2' for 2D"
\ No newline at end of file
...@@ -7,7 +7,6 @@ problem: ...@@ -7,7 +7,6 @@ problem:
follow: SpecStateO3d.schema follow: SpecStateO3d.schema
dimension: dimension:
_type: int _type: int
_mandatory: false _mandatory: true
_default: 3
_options: [3] _options: [3]
_doc: "Dimension of the problem: '3' for 3D" _doc: "Dimension of the problem: '3' for 3D"
\ No newline at end of file
follow: SensorBase.schema follow: SensorBase.schema
type:
_mandatory: false
_type: string
_default: SensorDiffDrive
_options: [SensorDiffDrive]
_doc: The sensor's class name.
plugin:
_mandatory: false
_type: string
_default: core
_options: [core]
_doc: The name of the wolf plugin where the sensor is implemented.
ticks_per_wheel_revolution: ticks_per_wheel_revolution:
_mandatory: true _mandatory: true
_type: double _type: double
...@@ -34,8 +20,7 @@ states: ...@@ -34,8 +20,7 @@ states:
type: type:
_type: string _type: string
_mandatory: false _mandatory: false
_default: StateParams3 _value: StateParams3
_options: [StateParams3]
_doc: The type of the SensorDiffDrive intrinsic parameters is StateParam3. _doc: The type of the SensorDiffDrive intrinsic parameters is StateParam3.
state: state:
_type: Vector3d _type: Vector3d
......
follow: SensorBase.schema follow: SensorBase.schema
type:
_mandatory: false
_type: string
_default: SensorOdom3d
_options: [SensorOdom3d]
_doc: The sensor's class name.
plugin:
_mandatory: false
_type: string
_default: core
_options: [core]
_doc: The name of the wolf plugin where the sensor is implemented.
k_disp_to_disp: k_disp_to_disp:
_mandatory: true _mandatory: true
_type: double _type: double
......
...@@ -3,8 +3,7 @@ follow: SpecStateSensor.schema ...@@ -3,8 +3,7 @@ follow: SpecStateSensor.schema
type: type:
_type: string _type: string
_mandatory: false _mandatory: false
_default: StateAngle _value: StateAngle
_options: [StateAngle]
_doc: The derived type of the StateBlock _doc: The derived type of the StateBlock
state: state:
......
...@@ -3,8 +3,7 @@ follow: SpecStateSensor.schema ...@@ -3,8 +3,7 @@ follow: SpecStateSensor.schema
type: type:
_type: string _type: string
_mandatory: false _mandatory: false
_default: StateQuaternion _value: StateQuaternion
_options: [StateQuaternion]
_doc: The derived type of the State in 'O' _doc: The derived type of the State in 'O'
state: state:
......
...@@ -3,8 +3,7 @@ follow: SpecStateSensor.schema ...@@ -3,8 +3,7 @@ follow: SpecStateSensor.schema
type: type:
_type: string _type: string
_mandatory: false _mandatory: false
_default: StatePoint2d _value: StatePoint2d
_options: [StatePoint2d]
_doc: The derived type of the StateBlock _doc: The derived type of the StateBlock
state: state:
......
...@@ -2,9 +2,8 @@ follow: SpecStateSensor.schema ...@@ -2,9 +2,8 @@ follow: SpecStateSensor.schema
type: type:
_type: string _type: string
_mandatory: false _mandatory: true
_default: StatePoint3d _value: StatePoint3d
_options: [StatePoint3d]
_doc: The derived type of the state in 'P' _doc: The derived type of the state in 'P'
state: state:
......
...@@ -3,8 +3,7 @@ follow: SpecState.schema ...@@ -3,8 +3,7 @@ follow: SpecState.schema
type: type:
_type: string _type: string
_mandatory: false _mandatory: false
_default: StateAngle _value: StateAngle
_options: [StateAngle]
_doc: The derived type of the State in 'O' _doc: The derived type of the State in 'O'
state: state:
......
...@@ -3,8 +3,7 @@ follow: SpecState.schema ...@@ -3,8 +3,7 @@ follow: SpecState.schema
type: type:
_type: string _type: string
_mandatory: false _mandatory: false
_default: StateQuaternion _value: StateQuaternion
_options: [StateQuaternion]
_doc: The derived type of the State in 'O' _doc: The derived type of the State in 'O'
state: state:
......
...@@ -3,8 +3,7 @@ follow: SpecState.schema ...@@ -3,8 +3,7 @@ follow: SpecState.schema
type: type:
_type: string _type: string
_mandatory: false _mandatory: false
_default: StatePoint2d _value: StatePoint2d
_options: [StatePoint2d]
_doc: The derived type of the state in 'P' _doc: The derived type of the state in 'P'
state: state:
......
follow: SpecState.schema follow: SpecState.schema
type: type:
_type: string
_mandatory: false _mandatory: false
_default: StatePoint3d _type: string
_options: [StatePoint3d] _value: StatePoint3d
_doc: The derived type of the state in 'P' _doc: The derived type of the state in 'P'
state: state:
......
...@@ -3,8 +3,7 @@ follow: SpecState.schema ...@@ -3,8 +3,7 @@ follow: SpecState.schema
type: type:
_type: string _type: string
_mandatory: false _mandatory: false
_default: StateVector2d _value: StateVector2d
_options: [StateVector2d]
_doc: The derived type of the state in 'V' _doc: The derived type of the state in 'V'
state: state:
......
...@@ -3,8 +3,7 @@ follow: SpecState.schema ...@@ -3,8 +3,7 @@ follow: SpecState.schema
type: type:
_type: string _type: string
_mandatory: false _mandatory: false
_default: StateVector3d _value: StateVector3d
_options: [StateVector3d]
_doc: The derived type of the state in 'V' _doc: The derived type of the state in 'V'
state: state:
......
follow: TreeManagerBase.schema follow: TreeManagerBase.schema
type:
_mandatory: true
_type: string
_doc: Type of the TreeManager. To keep all frames, use "none".
n_frames: n_frames:
_mandatory: true _mandatory: true
_type: unsigned int _type: unsigned int
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment