User Tools

Site Tools


eeros_architecture:hal:config_ros

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
eeros_architecture:hal:config_ros [2017/12/14 18:00] grafeeros_architecture:hal:config_ros [2017/12/14 18:32] – [Implemented Message Types] graf
Line 47: Line 47:
 | ::: | ::: | range_min | | ::: | ::: | range_min |
 | ::: | ::: | range_max | | ::: | ::: | range_max |
 +| DigIn | std_msgs::BatteryState | present |
 +| DigOut | std_msgs::BatteryState | present |
  
 +You can find a complete example, including a *.json file, in the [[getting_started:tutorials:start|]].
  
-DigIn     & sensor\_msgs::BatteryState & present          \\ +===== How to Use the  =====
- +
-DigOut    & sensor\_msgs::BatteryState & present          \\ \cline{2-3}  +
- +
-You can find a complete example, including a *.json file, in the eeros framework (/examples/hal/Ros*). +
  
  
Line 67: Line 65:
 First initialize the HAL in your main function: First initialize the HAL in your main function:
  
-\lstset{language=c} +<code cpp>
- +
-\begin{lstlisting} +
 ... ...
  
Line 86: Line 81:
  
  ...  ...
- +</code>
-\end{lstlisting} +
  
  
Line 105: Line 98:
 You can now declare \textit{PeripheralInputs} and \textit{PeripheralOutputs}: You can now declare \textit{PeripheralInputs} and \textit{PeripheralOutputs}:
  
-\lstset{language=c} +<code cpp>
- +
-\begin{lstlisting} +
  PeripheralInput<double> analogIn0;  PeripheralInput<double> analogIn0;
  
Line 116: Line 106:
  
  PeripheralOutput<bool> digitalOut0;  PeripheralOutput<bool> digitalOut0;
- +</code>
-\end{lstlisting}+
  
  
eeros_architecture/hal/config_ros.txt · Last modified: 2023/02/27 14:44 by ursgraf