Skip to content

Commit 5c434d8

Browse files
committed
Fixes Attributed Command Template, and the last part of Sample
1 parent 0933bc6 commit 5c434d8

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

Templates/CSharp/Project-Templates/AttributedCommandRobot/ProjectTemplate.csproj

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,10 @@
5151
<ItemGroup>
5252
<Compile Include="Program.cs" />
5353
<Compile Include="$safeprojectname$.cs"/>
54-
54+
<Compile Include="RobotMap.cs"/>
55+
<Compile Include="Subsystems\ExampleAutonomousSubsystem.cs" />
56+
<Compile Include="Subsystems\ExampleSubsystem.cs" />
57+
<Compile Include="Commands\ExampleCommand.cs" />
5558
<Compile Include="Properties\AssemblyInfo.cs" />
5659
</ItemGroup>
5760
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />

Templates/CSharp/Project-Templates/CommandRobot/ProjectTemplate.csproj

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,14 +54,10 @@
5454
<ItemGroup>
5555
<Compile Include="Program.cs" />
5656
<Compile Include="$safeprojectname$.cs" />
57-
5857
<Compile Include="OI.cs" />
59-
6058
<Compile Include="RobotMap.cs" />
61-
6259
<Compile Include="Subsystems\ExampleSubsystem.cs" />
6360
<Compile Include="Commands\ExampleCommand.cs" />
64-
6561
<Compile Include="Properties\AssemblyInfo.cs" />
6662
</ItemGroup>
6763
<ItemGroup>

Templates/CSharp/Project-Templates/SampleRobot/Robot.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public class $safeprojectname$ : SampleRobot
2626
public $safeprojectname$()
2727
{
2828
myRobot = new RobotDrive(0, 1);
29-
myRobot.SetExpiration(0.1);
29+
myRobot.Expiration = 0.1;
3030
stick = new Joystick(0);
3131
}
3232
/**
@@ -54,7 +54,7 @@ public override void OperatorControl() {
5454
/**
5555
* Runs during test mode
5656
*/
57-
public void test()
57+
public override void Test()
5858
{
5959
}
6060
}

0 commit comments

Comments
 (0)