Skip to content

Commit

Permalink
Merge branch 'main' into SerialMuxProt
Browse files Browse the repository at this point in the history
  • Loading branch information
gabryelreyes committed Sep 9, 2023
2 parents 70cfda1 + ddf6e86 commit bf33f9c
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 56 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ The simulation is based on the open source robot simulator *Webots*. The applica

* Website: https://cyberbotics.com/#cyberbotics
* Github: https://github.com/cyberbotics/webots
* Compatible webots versions:
* v2023a
* v2023b

## Intallation

Expand Down Expand Up @@ -76,6 +79,7 @@ Platformio project tasks --> WebotsSim --> Build
| 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 |

# 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
1 change: 1 addition & 0 deletions lib/HALSim/Keyboard.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
/******************************************************************************
* Includes
*****************************************************************************/
#include <stdint.h>
#include <webots/Keyboard.hpp>
#include <webots/Robot.hpp>

Expand Down
4 changes: 2 additions & 2 deletions lib/Service/RelativeEncoders.h
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ class RelativeEncoders
*/
RelativeEncoders(IEncoders& absEncoders) :
m_absEncoders(absEncoders),
m_referencePointLeft(m_absEncoders.getCountsLeft()),
m_referencePointRight(m_absEncoders.getCountsRight()),
m_referencePointLeft(0),
m_referencePointRight(0),
m_lastRelEncoderStepsLeft(0),
m_lastRelEncoderStepsRight(0)
{
Expand Down
1 change: 0 additions & 1 deletion platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,6 @@ extra_scripts =
pre:./scripts/add_os_specific_build_flags.py
pre:./scripts/create_webots_library.py
post:./scripts/copy_webots_shared_libs.py
post:./scripts/copy_track_file.py

; *****************************************************************************
; PC target environment for tests
Expand Down
50 changes: 0 additions & 50 deletions scripts/copy_track_file.py

This file was deleted.

7 changes: 4 additions & 3 deletions webots/protos/Zumo32U4.proto
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,9 @@ PROTO Zumo32U4 [
appearance DEF BODY_COLOR PBRAppearance {
emissiveColor 0.2 0.2 0.2
}
geometry DEF BODY_GEOMETRY Box {
size 0.06 0.065 0.02
}
}
Transform {
translation 0.0325 0 0.0025
Expand All @@ -185,9 +188,7 @@ PROTO Zumo32U4 [
children [
Shape {
appearance USE BODY_COLOR
geometry Box {
size 0.06 0.065 0.02
}
geometry USE BODY_GEOMETRY
}
]
}
Expand Down

0 comments on commit bf33f9c

Please sign in to comment.