eeros_architecture:hal:config_ros
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
eeros_architecture:hal:config_ros [2017/12/14 18:32] – [Implemented Message Types] graf | eeros_architecture:hal:config_ros [2017/12/14 18:34] – [How to Use the] graf | ||
---|---|---|---|
Line 53: | Line 53: | ||
===== How to Use the ===== | ===== How to Use the ===== | ||
- | |||
- | |||
- | |||
- | |||
- | \subsection{How to use} | ||
- | |||
- | Refere to the documentation of the EEROS HAL\footnote{http:// | ||
- | |||
- | |||
- | |||
- | First initialize the HAL in your main function: | ||
- | |||
- | <code cpp> | ||
- | ... | ||
- | |||
- | int main(int argc, char **argv) { | ||
- | |||
- | ... | ||
- | |||
- | // HAL | ||
- | |||
- | // //////////////////////////////////////////////////////////////////////// | ||
- | |||
- | HAL& hal = HAL:: | ||
- | |||
- | hal.readConfigFromFile(& | ||
- | |||
- | ... | ||
- | </ | ||
- | |||
- | |||
- | Add the header file to your control system: | ||
- | |||
- | \lstset{language=c} | ||
- | |||
- | \begin{lstlisting} | ||
- | |||
- | #include < | ||
- | |||
- | \end{lstlisting} | ||
- | |||
eeros_architecture/hal/config_ros.txt · Last modified: 2023/02/27 14:44 by ursgraf