... | @@ -675,12 +675,14 @@ self.node().hasParameter(TstML.TSTNode.ParameterType.Specific, "nameoftheparamet |
... | @@ -675,12 +675,14 @@ self.node().hasParameter(TstML.TSTNode.ParameterType.Specific, "nameoftheparamet |
|
and in C++:
|
|
and in C++:
|
|
|
|
|
|
```c++
|
|
```c++
|
|
QVariant p = node()->hasParameter(TstML::TSTNode::ParameterType::Specific, "nameoftheparameter");
|
|
node()->hasParameter(TstML::TSTNode::ParameterType::Specific, "nameoftheparameter");
|
|
```
|
|
```
|
|
|
|
|
|
Heading is equivalent to Yaw. But it needs to be specify as a quaternion, you can use the following formulat to compute a yaw quaternion:
|
|
Heading is equivalent to Yaw. But it needs to be specify as a quaternion, you can use the following formulat to compute a yaw quaternion:
|
|
|
|
|
|
$ (x=0, y=0,z=sin(yaw/2),q=cos(yaw/2)) $
|
|
```math
|
|
|
|
(x=0, y=0,z=sin(yaw/2),q=cos(yaw/2))
|
|
|
|
```
|
|
|
|
|
|
**Explore** sample the Archimedean spiral. You can increment $`\theta`$ by $`\pi/4`$ to generate the waypoints until $`r`$ is superior to the $`radius`$ given as argument.
|
|
**Explore** sample the Archimedean spiral. You can increment $`\theta`$ by $`\pi/4`$ to generate the waypoints until $`r`$ is superior to the $`radius`$ given as argument.
|
|
|
|
|
... | | ... | |