Skip to content

Commit

Permalink
Merge pull request #122 from BlueAndi/extractHALs
Browse files Browse the repository at this point in the history
Integrate HAL extraction
  • Loading branch information
gabryelreyes authored Jun 4, 2024
2 parents 9aed08b + bbf2f77 commit e5e79bf
Show file tree
Hide file tree
Showing 312 changed files with 285 additions and 11,794 deletions.
34 changes: 17 additions & 17 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -2,27 +2,27 @@
* text=crlf

# All text files are CRLF
*.txt text eol=crlf
*.h text eol=crlf
*.c text eol=crlf
*.cpp text eol=crlf
*.hpp text eol=crlf
*.py text eol=crlf
*.json text eol=crlf
*.md text eol=crlf
*.puml text eol=crlf
*.plantuml text eol=crlf
*.ini text eol=crlf
*.bat text eol=crlf
*.yml text eol=crlf
*.csv text eol=crlf
*.txt text eol=crlf
*.h text eol=crlf
*.c text eol=crlf
*.cpp text eol=crlf
*.hpp text eol=crlf
*.py text eol=crlf
*.json text eol=crlf
*.md text eol=crlf
*.puml text eol=crlf
*.plantuml text eol=crlf
*.ini text eol=crlf
*.bat text eol=crlf
*.yml text eol=crlf
*.csv text eol=crlf

# Webots files are generated by a tool as LF
*.proto text eol=lf
*.wbt text eol=lf
*.proto text eol=lf
*.wbt text eol=lf

# Doxygen files are generated by a tool as LF
doc/doxygen/* text eol=lf
doc/doxygen/* text eol=lf

# Images should be treated as binary
*.png binary
Expand Down
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
.vscode/ipch
.vscode/extensions.json
lib/Webots
webots/worlds/*.wbproj
webots/worlds/*.jpg
*.wbproj
__pycache__
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,10 +166,12 @@ Example for the **LineFollowerTarget** application:

# Used Libraries

| Library | Description | License |
| ----------------------------------------------------------------------- | ----------------------------------------- | ------- |
| [Zumo32U4 library](https://github.com/pololu/zumo-32u4-arduino-library) | Provides access to the Zumo32U4 hardware. | MIT |
| [SerialMuxProt](https://github.com/gabryelreyes/SerialMuxProt) | Multiplexing Communication Protocol | MIT |
| Library | Description | License |
| ------------------------------------------------------------------ | ---------------------------------------------------- | ------- |
| [SerialMuxProt](https://github.com/gabryelreyes/SerialMuxProt) | Multiplexing Communication Protocol | MIT |
| [ZumoHALATmega32u4](https://github.com/BlueAndi/ZumoHALATmega32u4) | C++ HAL for ATmega32u4 on the Pololu Zumo32u4 | MIT |
| [ZumoHALInterfaces](https://github.com/BlueAndi/ZumoHALInterfaces) | Abstract C++ HAL interfaces | MIT |
| [ZumoHALWebots](https://github.com/BlueAndi/ZumoHALWebots) | C++ HAL for Webots simulation of the Pololu Zumo32u4 | MIT |

# Issues, Ideas And Bugs
If you have further ideas or you found some bugs, great! Create a [issue](https://github.com/BlueAndi/RadonUlzer/issues) or if you are able and willing to fix it by yourself, clone the repository and create a pull request.
Expand Down
7 changes: 4 additions & 3 deletions doc/architecture/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,10 @@ Improvement for better accuracy:
![speedometer](http://www.plantuml.com/plantuml/proxy?cache=no&src=https://raw.githubusercontent.com/BlueAndi/RadonUlzer/main/doc/architecture/uml/LogicalView/Speedometer.plantuml)

### HAL
The hardware abstraction layer (HAL) for the target is shown. For the simulation and the test only the realization part is different and may base on other 3rd party components.

![hal](http://www.plantuml.com/plantuml/proxy?cache=no&src=https://raw.githubusercontent.com/BlueAndi/RadonUlzer/main/doc/architecture/uml/LogicalView/HAL.plantuml)
The hardware abstraction layer (HAL) depends on the target.
* **ATmega32u4 on the Zumo32u4**: [ZumoHALATmega32u4](https://github.com/BlueAndi/ZumoHALATmega32u4)
* **Zumo in Webots**: [ZumoHALWebots](https://github.com/BlueAndi/ZumoHALWebots)
* **Zumo Test**: [HALTest](/lib/HALTest/)

## Process View

Expand Down
12 changes: 6 additions & 6 deletions doc/architecture/uml/DevelopmentView/Layers.plantuml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ Application ...> HAL: <<access>>
Service ..> HAL: <<access>>

package "HAL" as halDetail {
package HALInterfaces
package HALTarget
package HALSim
package ZumoHALInterfaces
package ZumoHALATmega32u4
package ZumoHALWebots
package HALTest

HALInterfaces <|.. HALTarget: <<realize>>
HALInterfaces <|.. HALSim: <<realize>>
HALInterfaces <|.. HALTest: <<realize>>
ZumoHALInterfaces <|.. ZumoHALATmega32u4: <<realize>>
ZumoHALInterfaces <|.. ZumoHALWebots: <<realize>>
ZumoHALInterfaces <|.. HALTest: <<realize>>
}

HAL -[hidden]-- halDetail
Expand Down
182 changes: 0 additions & 182 deletions doc/architecture/uml/LogicalView/HAL.plantuml

This file was deleted.

2 changes: 0 additions & 2 deletions doc/doxygen/CalibSimDoxyfile
Original file line number Diff line number Diff line change
Expand Up @@ -911,8 +911,6 @@ WARN_LOGFILE = doxygen_warnings.txt
INPUT = mainpage.dox \
../../src \
../../lib/Service \
../../lib/HALSim \
../../lib/HALInterfaces \
../../lib/APPCalib \
../../lib/HALCalibSim

Expand Down
2 changes: 0 additions & 2 deletions doc/doxygen/CalibTargetDoxyfile
Original file line number Diff line number Diff line change
Expand Up @@ -911,8 +911,6 @@ WARN_LOGFILE = doxygen_warnings.txt
INPUT = mainpage.dox \
../../src \
../../lib/Service \
../../lib/HALTarget \
../../lib/HALInterfaces \
../../lib/APPCalib \
../../lib/HALCalibTarget

Expand Down
2 changes: 0 additions & 2 deletions doc/doxygen/ConvoyFollowerSimDoxyfile
Original file line number Diff line number Diff line change
Expand Up @@ -911,8 +911,6 @@ WARN_LOGFILE = doxygen_warnings.txt
INPUT = mainpage.dox \
../../src \
../../lib/Service \
../../lib/HALSim \
../../lib/HALInterfaces \
../../lib/APPConvoyFollower \
../../lib/HALConvoyFollowerSim

Expand Down
2 changes: 0 additions & 2 deletions doc/doxygen/ConvoyFollowerTargetDoxyfile
Original file line number Diff line number Diff line change
Expand Up @@ -911,8 +911,6 @@ WARN_LOGFILE = doxygen_warnings.txt
INPUT = mainpage.dox \
../../src \
../../lib/Service \
../../lib/HALTarget \
../../lib/HALInterfaces \
../../lib/APPConvoyFollower \
../../lib/HALConvoyFollowerTarget

Expand Down
2 changes: 0 additions & 2 deletions doc/doxygen/ConvoyLeaderSimDoxyfile
Original file line number Diff line number Diff line change
Expand Up @@ -911,8 +911,6 @@ WARN_LOGFILE = doxygen_warnings.txt
INPUT = mainpage.dox \
../../src \
../../lib/Service \
../../lib/HALSim \
../../lib/HALInterfaces \
../../lib/APPConvoyLeader \
../../lib/HALConvoyLeaderSim

Expand Down
2 changes: 0 additions & 2 deletions doc/doxygen/ConvoyLeaderTargetDoxyfile
Original file line number Diff line number Diff line change
Expand Up @@ -911,8 +911,6 @@ WARN_LOGFILE = doxygen_warnings.txt
INPUT = mainpage.dox \
../../src \
../../lib/Service \
../../lib/HALTarget \
../../lib/HALInterfaces \
../../lib/APPConvoyLeader \
../../lib/HALConvoyLeaderTarget

Expand Down
2 changes: 0 additions & 2 deletions doc/doxygen/LineFollowerSimDoxyfile
Original file line number Diff line number Diff line change
Expand Up @@ -912,8 +912,6 @@ INPUT = mainpage.dox \
../../src \
../../lib/APPLineFollower \
../../lib/Service \
../../lib/HALSim \
../../lib/HALInterfaces \
../../lib/HALLineFollowerSim

# This tag can be used to specify the character encoding of the source files
Expand Down
2 changes: 0 additions & 2 deletions doc/doxygen/LineFollowerTargetDoxyfile
Original file line number Diff line number Diff line change
Expand Up @@ -912,8 +912,6 @@ INPUT = mainpage.dox \
../../src \
../../lib/APPLineFollower \
../../lib/Service \
../../lib/HALTarget \
../../lib/HALInterfaces \
../../lib/HALLineFollowerTarget

# This tag can be used to specify the character encoding of the source files
Expand Down
2 changes: 0 additions & 2 deletions doc/doxygen/RemoteControlSimDoxyfile
Original file line number Diff line number Diff line change
Expand Up @@ -911,8 +911,6 @@ WARN_LOGFILE = doxygen_warnings.txt
INPUT = mainpage.dox \
../../src \
../../lib/Service \
../../lib/HALSim \
../../lib/HALInterfaces \
../../lib/HALRemoteControlSim \
../../lib/APPRemoteControl

Expand Down
2 changes: 0 additions & 2 deletions doc/doxygen/RemoteControlTargetDoxyfile
Original file line number Diff line number Diff line change
Expand Up @@ -911,8 +911,6 @@ WARN_LOGFILE = doxygen_warnings.txt
INPUT = mainpage.dox \
../../src \
../../lib/Service \
../../lib/HALTarget \
../../lib/HALInterfaces \
../../lib/APPRemoteControl \
../../lib/HALRemoteControlTarget

Expand Down
2 changes: 0 additions & 2 deletions doc/doxygen/SensorFusionSimDoxyfile
Original file line number Diff line number Diff line change
Expand Up @@ -911,8 +911,6 @@ WARN_LOGFILE = doxygen_warnings.txt
INPUT = mainpage.dox \
../../src \
../../lib/Service \
../../lib/HALSim \
../../lib/HALInterfaces \
../../lib/HALSensorFusionSim \
../../lib/APPSensorFusion

Expand Down
2 changes: 0 additions & 2 deletions doc/doxygen/SensorFusionTargetDoxyfile
Original file line number Diff line number Diff line change
Expand Up @@ -911,8 +911,6 @@ WARN_LOGFILE = doxygen_warnings.txt
INPUT = mainpage.dox \
../../src \
../../lib/Service \
../../lib/HALTarget \
../../lib/HALInterfaces \
../../lib/APPSensorFusion \
../../lib/HALSensorFusionTarget

Expand Down
Loading

0 comments on commit e5e79bf

Please sign in to comment.