Skip to content

Commit

Permalink
Merge pull request #9 from robocup-logistics/tviehmann/protobuf-submo…
Browse files Browse the repository at this point in the history
…dule

add protobuf submodule
  • Loading branch information
Karatekuh authored Feb 16, 2023
2 parents 99c7143 + 3a4fbd6 commit 283f8bb
Show file tree
Hide file tree
Showing 71 changed files with 6,013 additions and 2,467 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "Simulator/protobuff/rcll-protobuf-msgs"]
path = Simulator/protobuff/rcll-protobuf-msgs
url = https://github.com/robocup-logistics/rcll-protobuf-msgs.git
1 change: 0 additions & 1 deletion Simulator/RobotEssentials/PBMessageFactoryBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
using System.Net;
using System.Collections.Generic;
using Google.Protobuf;
using Llsfmsgs;
using LlsfMsgs;
using MachineStates;
using Simulator.Utility;
Expand Down
1 change: 0 additions & 1 deletion Simulator/RobotEssentials/PBMessageFactoryRobot.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
using System.Text;
using System.Threading.Tasks;
using Google.Protobuf;
using Llsfmsgs;
using LlsfMsgs;
using Simulator.Utility;
using Timer = System.Threading.Timer;
Expand Down
2 changes: 1 addition & 1 deletion Simulator/TerminalGui/MapGuiView.cs
Original file line number Diff line number Diff line change
Expand Up @@ -527,7 +527,7 @@ private ColorScheme GetBaseColorScheme(BaseElement bottom)
}
switch (bottom.GetBaseColor())
{
case BaseColor.BaseUncolored:
case BaseColor.BaseClear:
return Config.ProductColorSchemeBase0;
case BaseColor.BaseRed:
return Config.ProductColorSchemeBase1;
Expand Down
4 changes: 2 additions & 2 deletions Simulator/Utility/Products.cs
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public Products(BaseColor color)
case BaseColor.BaseSilver:
ID = WorkpieceSilverRangeStart;
break;
case BaseColor.BaseUncolored:
case BaseColor.BaseClear:
ID = WorkpieceColorlessRangeStart;
break;
}
Expand Down Expand Up @@ -119,7 +119,7 @@ public BaseElement(BaseColor color)
}
public BaseElement()
{
BaseColor = BaseColor.BaseUncolored;
BaseColor = BaseColor.BaseClear;
}
public BaseColor GetBaseColor()
{
Expand Down
2 changes: 1 addition & 1 deletion Simulator/Utility/Timer.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using System;
using System.Threading;
using Simulator.RobotEssentials;
using Llsfmsgs;
using LlsfMsgs;

namespace Simulator.Utility
{
Expand Down
Loading

0 comments on commit 283f8bb

Please sign in to comment.