Skip to content

Commit

Permalink
Merge branch 'master' of github.com:TUBAF-IfI-LiaScript/VL_Softwarepr…
Browse files Browse the repository at this point in the history
…ojektRobotik
  • Loading branch information
SebastianZug committed Jan 30, 2024
2 parents 45efde9 + bcf15b4 commit ef32bca
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 13 deletions.
2 changes: 1 addition & 1 deletion 10_Koordinatentransformation.md
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ $$
### Kombination von Transformationen

Sofern sich in dieser Kette weitere Koordinatenssysteme wiederfinden können weitere Transformationsmatrizen $T_{M\rightarrow N}$ oder $R_{M\rightarrow N}$ integriert werden. Dabei sind sich wiederholende Verschiebungen oder Rotationen als Aggregation zu betrachten.
Sofern sich in dieser Kette weitere Koordinatensysteme wiederfinden können weitere Transformationsmatrizen $T_{M\rightarrow N}$ oder $R_{M\rightarrow N}$ integriert werden. Dabei sind sich wiederholende Verschiebungen oder Rotationen als Aggregation zu betrachten.

$$\textbf{p}_D=\underbrace{\bm{T}_{A\rightarrow B} \bm{T}_{B\rightarrow C} \bm{T}_{C\rightarrow D}}_{\substack{\bm{T}_{A\rightarrow D}}} \cdot \textbf{p}_A$$

Expand Down
6 changes: 1 addition & 5 deletions examples/01_OOPinC++/main.cpp
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
#include<iostream>

void log (const char* message)
{
std::cout << message << std::endl;
}
#include"log.h"

int main(void)
{
Expand Down
17 changes: 11 additions & 6 deletions examples/02_SpeicherUndPointer/StackOverflow.cpp
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
//g++ StackOverflow.cpp -fstack-check
//g++ StackOverflow.cpp

#include <iostream>

int main(void)
int recursion(int a)
{
double array[1024*1024];
std::cout << array[1000] << std::endl;
std::cout << sizeof(double) << std::endl;
return EXIT_SUCCESS;
return recursion(a+1);
}

int main()
{
std::cout << "Stack Overflow about to occur!\n";
double array[1024*1024];
// recursion(0);
return EXIT_FAILURE;
}
4 changes: 3 additions & 1 deletion examples/02_SpeicherUndPointer/memory.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
#include <iostream>

int global;

int main(void)
{
std::cout << "Hello World!" << std::endl;
static int i = 100;
return EXIT_SUCCESS;
}

0 comments on commit ef32bca

Please sign in to comment.