Skip to content

Commit 200fb77

Browse files
committed
Update auto cmd example, update menus, builds for release
1 parent 34616bd commit 200fb77

13 files changed

Lines changed: 26 additions & 49 deletions

Examples_Pkg/PathPlanner_Examp_Pkg.lvproj

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,7 @@
474474
<Property Name="Bld_removeVIObj" Type="Int">1</Property>
475475
<Property Name="Bld_userLogFile" Type="Path">../builds/All_SourceDistribution_log.txt</Property>
476476
<Property Name="Bld_userLogFile.pathType" Type="Str">relativeToProject</Property>
477-
<Property Name="Bld_version.build" Type="Int">477</Property>
477+
<Property Name="Bld_version.build" Type="Int">478</Property>
478478
<Property Name="Bld_version.major" Type="Int">2024</Property>
479479
<Property Name="Bld_version.minor" Type="Int">1</Property>
480480
<Property Name="Bld_version.patch" Type="Int">3</Property>
@@ -511,15 +511,15 @@
511511
<Property Name="NIPKG_installerBuiltBefore" Type="Bool">false</Property>
512512
<Property Name="NIPKG_installerDestination" Type="Path">../builds/NI_AB_PROJECTNAME/JASJunkFrcTrajLib/Package Installer</Property>
513513
<Property Name="NIPKG_installerDestination.Type" Type="Str">relativeToCommon</Property>
514-
<Property Name="NIPKG_lastBuiltPackage" Type="Str">pathplannerexampleslv19_2025.1.0-17_windows_all.nipkg</Property>
514+
<Property Name="NIPKG_lastBuiltPackage" Type="Str">pathplannerexampleslv19_2025.2.0-18_windows_all.nipkg</Property>
515515
<Property Name="NIPKG_license" Type="Ref"></Property>
516516
<Property Name="NIPKG_releaseNotes" Type="Str">See github for complete release notes. https://github.com/jsimpso81/PathPlannerLabVIEW/releases/latest</Property>
517517
<Property Name="NIPKG_storeProduct" Type="Bool">true</Property>
518518
<Property Name="NIPKG_VisibleForRuntimeDeployment" Type="Bool">false</Property>
519519
<Property Name="PKG_actions.Count" Type="Int">0</Property>
520520
<Property Name="PKG_autoIncrementBuild" Type="Bool">true</Property>
521521
<Property Name="PKG_autoSelectDeps" Type="Bool">true</Property>
522-
<Property Name="PKG_buildNumber" Type="Int">18</Property>
522+
<Property Name="PKG_buildNumber" Type="Int">19</Property>
523523
<Property Name="PKG_buildSpecName" Type="Str">pathplannerexampleslv19</Property>
524524
<Property Name="PKG_dependencies.Count" Type="Int">5</Property>
525525
<Property Name="PKG_dependencies[0].Enhanced" Type="Bool">false</Property>
@@ -763,7 +763,7 @@
763763
<Property Name="PKG_sources[2].ID" Type="Ref">/My Computer/Build Specifications/All_SourceDistribution</Property>
764764
<Property Name="PKG_sources[2].Type" Type="Str">Build</Property>
765765
<Property Name="PKG_synopsis" Type="Str">LabVIEW FRC robotics PathPlanner library examples</Property>
766-
<Property Name="PKG_version" Type="Str">2025.1.0</Property>
766+
<Property Name="PKG_version" Type="Str">2025.2.0</Property>
767767
</Item>
768768
<Item Name="pathplannerexampleslv20" Type="{E661DAE2-7517-431F-AC41-30807A3BDA38}">
769769
<Property Name="NIPKG_addToFeed" Type="Bool">false</Property>
@@ -776,15 +776,15 @@
776776
<Property Name="NIPKG_installerBuiltBefore" Type="Bool">false</Property>
777777
<Property Name="NIPKG_installerDestination" Type="Path">../builds/NI_AB_PROJECTNAME/JASJunkFrcTrajLib/Package Installer</Property>
778778
<Property Name="NIPKG_installerDestination.Type" Type="Str">relativeToCommon</Property>
779-
<Property Name="NIPKG_lastBuiltPackage" Type="Str">pathplannerexampleslv20_2025.1.0-17_windows_all.nipkg</Property>
779+
<Property Name="NIPKG_lastBuiltPackage" Type="Str">pathplannerexampleslv20_2025.2.0-18_windows_all.nipkg</Property>
780780
<Property Name="NIPKG_license" Type="Ref"></Property>
781781
<Property Name="NIPKG_releaseNotes" Type="Str">See github for complete release notes. https://github.com/jsimpso81/PathPlannerLabVIEW/releases/latest</Property>
782782
<Property Name="NIPKG_storeProduct" Type="Bool">true</Property>
783783
<Property Name="NIPKG_VisibleForRuntimeDeployment" Type="Bool">false</Property>
784784
<Property Name="PKG_actions.Count" Type="Int">0</Property>
785785
<Property Name="PKG_autoIncrementBuild" Type="Bool">true</Property>
786786
<Property Name="PKG_autoSelectDeps" Type="Bool">true</Property>
787-
<Property Name="PKG_buildNumber" Type="Int">18</Property>
787+
<Property Name="PKG_buildNumber" Type="Int">19</Property>
788788
<Property Name="PKG_buildSpecName" Type="Str">pathplannerexampleslv20</Property>
789789
<Property Name="PKG_dependencies.Count" Type="Int">5</Property>
790790
<Property Name="PKG_dependencies[0].Enhanced" Type="Bool">false</Property>
@@ -1028,7 +1028,7 @@
10281028
<Property Name="PKG_sources[2].ID" Type="Ref">/My Computer/Build Specifications/All_SourceDistribution</Property>
10291029
<Property Name="PKG_sources[2].Type" Type="Str">Build</Property>
10301030
<Property Name="PKG_synopsis" Type="Str">LabVIEW FRC robotics PathPlanner library examples</Property>
1031-
<Property Name="PKG_version" Type="Str">2025.1.0</Property>
1031+
<Property Name="PKG_version" Type="Str">2025.2.0</Property>
10321032
</Item>
10331033
<Item Name="pathplannerexampleslv23" Type="{E661DAE2-7517-431F-AC41-30807A3BDA38}">
10341034
<Property Name="NIPKG_addToFeed" Type="Bool">false</Property>
@@ -1041,15 +1041,15 @@
10411041
<Property Name="NIPKG_installerBuiltBefore" Type="Bool">false</Property>
10421042
<Property Name="NIPKG_installerDestination" Type="Path">../builds/NI_AB_PROJECTNAME/JASJunkFrcTrajLib/Package Installer</Property>
10431043
<Property Name="NIPKG_installerDestination.Type" Type="Str">relativeToCommon</Property>
1044-
<Property Name="NIPKG_lastBuiltPackage" Type="Str">pathplannerexampleslv23_2025.1.0-17_windows_all.nipkg</Property>
1044+
<Property Name="NIPKG_lastBuiltPackage" Type="Str">pathplannerexampleslv23_2025.2.0-18_windows_all.nipkg</Property>
10451045
<Property Name="NIPKG_license" Type="Ref"></Property>
10461046
<Property Name="NIPKG_releaseNotes" Type="Str">See github for complete release notes. https://github.com/jsimpso81/PathPlannerLabVIEW/releases/latest</Property>
10471047
<Property Name="NIPKG_storeProduct" Type="Bool">true</Property>
10481048
<Property Name="NIPKG_VisibleForRuntimeDeployment" Type="Bool">false</Property>
10491049
<Property Name="PKG_actions.Count" Type="Int">0</Property>
10501050
<Property Name="PKG_autoIncrementBuild" Type="Bool">true</Property>
10511051
<Property Name="PKG_autoSelectDeps" Type="Bool">true</Property>
1052-
<Property Name="PKG_buildNumber" Type="Int">18</Property>
1052+
<Property Name="PKG_buildNumber" Type="Int">19</Property>
10531053
<Property Name="PKG_buildSpecName" Type="Str">pathplannerexampleslv23</Property>
10541054
<Property Name="PKG_dependencies.Count" Type="Int">5</Property>
10551055
<Property Name="PKG_dependencies[0].Enhanced" Type="Bool">false</Property>
@@ -1293,7 +1293,7 @@
12931293
<Property Name="PKG_sources[2].ID" Type="Ref">/My Computer/Build Specifications/All_SourceDistribution</Property>
12941294
<Property Name="PKG_sources[2].Type" Type="Str">Build</Property>
12951295
<Property Name="PKG_synopsis" Type="Str">LabVIEW FRC robotics PathPlanner library examples</Property>
1296-
<Property Name="PKG_version" Type="Str">2025.1.0</Property>
1296+
<Property Name="PKG_version" Type="Str">2025.2.0</Property>
12971297
</Item>
12981298
</Item>
12991299
</Item>
Binary file not shown.

Examples_Pkg/examples/Auto Cmd Swerve/PathPlanner_CmdAutoSwerve_Example.lvproj

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -191,19 +191,14 @@
191191
<Item Name="Make Gyro JSON.vi" Type="VI" URL="/&lt;vilib&gt;/Rock Robotics/WPI/Simulation/Protocol/Devices/Gyro/Make Gyro JSON.vi"/>
192192
<Item Name="Make Solenoid JSON.vi" Type="VI" URL="/&lt;vilib&gt;/Rock Robotics/WPI/Simulation/Protocol/Devices/Solenoid/Make Solenoid JSON.vi"/>
193193
<Item Name="Multi Error Cluster.lvlib" Type="Library" URL="/&lt;vilib&gt;/MultiError/TokenizeJSON/Multi Error Cluster.lvlib"/>
194-
<Item Name="NetComm_AllianceStation.ctl" Type="VI" URL="/&lt;vilib&gt;/Rock Robotics/SystemInterfaces/NetworkCommunication/NetComm_AllianceStation.ctl"/>
195194
<Item Name="NetComm_ControlWord.ctl" Type="VI" URL="/&lt;vilib&gt;/Rock Robotics/SystemInterfaces/NetworkCommunication/NetComm_ControlWord.ctl"/>
196-
<Item Name="NetComm_getAllianceStation.vi" Type="VI" URL="/&lt;vilib&gt;/Rock Robotics/SystemInterfaces/NetworkCommunication/NetComm_getAllianceStation.vi"/>
197195
<Item Name="NetComm_getControlWord.vi" Type="VI" URL="/&lt;vilib&gt;/Rock Robotics/SystemInterfaces/NetworkCommunication/NetComm_getControlWord.vi"/>
198196
<Item Name="NetComm_getJoystickAxes.vi" Type="VI" URL="/&lt;vilib&gt;/Rock Robotics/SystemInterfaces/NetworkCommunication/NetComm_getJoystickAxes.vi"/>
199197
<Item Name="NetComm_getJoystickButtons.vi" Type="VI" URL="/&lt;vilib&gt;/Rock Robotics/SystemInterfaces/NetworkCommunication/NetComm_getJoystickButtons.vi"/>
200198
<Item Name="NetComm_getJoystickPOVs.vi" Type="VI" URL="/&lt;vilib&gt;/Rock Robotics/SystemInterfaces/NetworkCommunication/NetComm_getJoystickPOVs.vi"/>
201-
<Item Name="NetComm_getMatchInfo.vi" Type="VI" URL="/&lt;vilib&gt;/Rock Robotics/SystemInterfaces/NetworkCommunication/NetComm_getMatchInfo.vi"/>
202199
<Item Name="NetComm_getMatchTime.vi" Type="VI" URL="/&lt;vilib&gt;/Rock Robotics/SystemInterfaces/NetworkCommunication/NetComm_getMatchTime.vi"/>
203-
<Item Name="NetComm_MatchType.ctl" Type="VI" URL="/&lt;vilib&gt;/Rock Robotics/SystemInterfaces/NetworkCommunication/NetComm_MatchType.ctl"/>
204200
<Item Name="NetComm_ObserveUserProgramStarting.vi" Type="VI" URL="/&lt;vilib&gt;/Rock Robotics/SystemInterfaces/NetworkCommunication/NetComm_ObserveUserProgramStarting.vi"/>
205201
<Item Name="NetComm_SendError.vi" Type="VI" URL="/&lt;vilib&gt;/Rock Robotics/SystemInterfaces/NetworkCommunication/NetComm_SendError.vi"/>
206-
<Item Name="NetComm_SendMessage.vi" Type="VI" URL="/&lt;vilib&gt;/Rock Robotics/SystemInterfaces/NetworkCommunication/NetComm_SendMessage.vi"/>
207202
<Item Name="NetComm_SetNewDataOccurrenceReference.vi" Type="VI" URL="/&lt;vilib&gt;/Rock Robotics/SystemInterfaces/NetworkCommunication/NetComm_SetNewDataOccurrenceReference.vi"/>
208203
<Item Name="NetComm_UnloadCPPStartupProgram.vi" Type="VI" URL="/&lt;vilib&gt;/Rock Robotics/SystemInterfaces/NetworkCommunication/NetComm_UnloadCPPStartupProgram.vi"/>
209204
<Item Name="NetComm_UsageReport_report.vi" Type="VI" URL="/&lt;vilib&gt;/Rock Robotics/SystemInterfaces/NetworkCommunication/NetComm_UsageReport_report.vi"/>
@@ -369,17 +364,13 @@
369364
<Item Name="WPI_CameraSend Images To PC Loop.vi" Type="VI" URL="/&lt;vilib&gt;/Rock Robotics/WPI/Camera/WPI_CameraSend Images To PC Loop.vi"/>
370365
<Item Name="WPI_CameraSetNTPublisherValues.vi" Type="VI" URL="/&lt;vilib&gt;/Rock Robotics/WPI/Camera/WPI_CameraSetNTPublisherValues.vi"/>
371366
<Item Name="WPI_CameraTranslate Percent Codes.vi" Type="VI" URL="/&lt;vilib&gt;/Rock Robotics/WPI/Camera/WPI_CameraTranslate Percent Codes.vi"/>
372-
<Item Name="WPI_DriverStationAllianceInfo.ctl" Type="VI" URL="/&lt;vilib&gt;/Rock Robotics/WPI/DriverStation/WPI_DriverStationAllianceInfo.ctl"/>
373367
<Item Name="WPI_DriverStationCreate Lib Version File.vi" Type="VI" URL="/&lt;vilib&gt;/Rock Robotics/WPI/DriverStation/WPI_DriverStationCreate Lib Version File.vi"/>
374368
<Item Name="WPI_DriverStationDerivedRobotMode.ctl" Type="VI" URL="/&lt;vilib&gt;/Rock Robotics/WPI/DriverStation/WPI_DriverStationDerivedRobotMode.ctl"/>
375-
<Item Name="WPI_DriverStationGame Specific Data.vi" Type="VI" URL="/&lt;vilib&gt;/Rock Robotics/WPI/DriverStation/WPI_DriverStationGame Specific Data.vi"/>
376-
<Item Name="WPI_DriverStationGet Alliance Info.vi" Type="VI" URL="/&lt;vilib&gt;/Rock Robotics/WPI/DriverStation/WPI_DriverStationGet Alliance Info.vi"/>
377369
<Item Name="WPI_DriverStationGet Robot Mode.vi" Type="VI" URL="/&lt;vilib&gt;/Rock Robotics/WPI/DriverStation/WPI_DriverStationGet Robot Mode.vi"/>
378370
<Item Name="WPI_DriverStationGetModeAndStatus.vi" Type="VI" URL="/&lt;vilib&gt;/Rock Robotics/WPI/DriverStation/WPI_DriverStationGetModeAndStatus.vi"/>
379371
<Item Name="WPI_DriverStationGetModeAndStatusInternal.vi" Type="VI" URL="/&lt;vilib&gt;/Rock Robotics/WPI/DriverStation/WPI_DriverStationGetModeAndStatusInternal.vi"/>
380372
<Item Name="WPI_DriverStationGetRemainingMatchTime.vi" Type="VI" URL="/&lt;vilib&gt;/Rock Robotics/WPI/DriverStation/WPI_DriverStationGetRemainingMatchTime.vi"/>
381373
<Item Name="WPI_DriverStationMatch Info.ctl" Type="VI" URL="/&lt;vilib&gt;/Rock Robotics/WPI/DriverStation/WPI_DriverStationMatch Info.ctl"/>
382-
<Item Name="WPI_DriverStationPositionInfo.ctl" Type="VI" URL="/&lt;vilib&gt;/Rock Robotics/WPI/DriverStation/WPI_DriverStationPositionInfo.ctl"/>
383374
<Item Name="WPI_DriverStationReport Robot Code State.vi" Type="VI" URL="/&lt;vilib&gt;/Rock Robotics/WPI/DriverStation/WPI_DriverStationReport Robot Code State.vi"/>
384375
<Item Name="WPI_DriverStationRobotMode2.ctl" Type="VI" URL="/&lt;vilib&gt;/Rock Robotics/WPI/DriverStation/WPI_DriverStationRobotMode2.ctl"/>
385376
<Item Name="WPI_DriverStationStart Communication.vi" Type="VI" URL="/&lt;vilib&gt;/Rock Robotics/WPI/DriverStation/WPI_DriverStationStart Communication.vi"/>
@@ -412,7 +403,6 @@
412403
<Item Name="WPI_UtilitiesERRGetRefNum.vi" Type="VI" URL="/&lt;vilib&gt;/Rock Robotics/WPI/Utilities/WPI_UtilitiesERRGetRefNum.vi"/>
413404
<Item Name="WPI_UtilitiesFRC Build Error.vi" Type="VI" URL="/&lt;vilib&gt;/Rock Robotics/WPI/Utilities/WPI_UtilitiesFRC Build Error.vi"/>
414405
<Item Name="WPI_UtilitiesFRC FPGATime.vi" Type="VI" URL="/&lt;vilib&gt;/Rock Robotics/WPI/Utilities/WPI_UtilitiesFRC FPGATime.vi"/>
415-
<Item Name="WPI_UtilitiesFRC SendMessageToConsole.vi" Type="VI" URL="/&lt;vilib&gt;/Rock Robotics/WPI/Utilities/WPI_UtilitiesFRC SendMessageToConsole.vi"/>
416406
<Item Name="XBox Axes Indexer.ctl" Type="VI" URL="/&lt;vilib&gt;/Rock Robotics/WPI/Joystick/XBox Axes Indexer.ctl"/>
417407
<Item Name="XBox Buttons Indexer.ctl" Type="VI" URL="/&lt;vilib&gt;/Rock Robotics/WPI/Joystick/XBox Buttons Indexer.ctl"/>
418408
</Item>
Binary file not shown.
12 Bytes
Binary file not shown.

Examples_Pkg/examples/Auto Cmd Swerve/readme.md

Lines changed: 6 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
X
2-
## FRC LabVIEW Path Planner Swerve Drive Robot Follow Using Holonomic Drive Controller
2+
## FRC LabVIEW Path Planner Swerve Drive Robot Auto Cmd Using Holonomic Drive Controller
33

4-
This sample robot based on the standard LabVIEW robot project, contains both a simulated and physical robot that creates both relative and absolute trajectories using Path Planner LabVIEW.
4+
This sample robot based on the standard LabVIEW robot project, contains a simulated robot that reada and follows an Path Planner AUTO command file using Path Planner LabVIEW.
55

66
### Simulated Robot
77

@@ -15,16 +15,6 @@ This robot contains a fully modeled swerve drive robot. To run the robot:
1515

1616
NOTE: Ignore the *standard* simulation field.
1717

18-
### Physical Robot
19-
20-
This sample could be modfied to run on a physical robot. At a minimum, the following would need to be done.
21-
22-
The robot code needs to be modified to:
23-
1. match the hardware that exists on the physical robot.
24-
2. use the physical robot's differential drive track width.
25-
3. tune the serve drive and wheel drive control parameters.
26-
4. tune the robot orientation control
27-
5. add filtering if needed for gyro and wheel encoder readings.
2818

2919
### Joystick control map
3020

@@ -36,12 +26,9 @@ The teleop controls were assigned to an game (xbox) type controller.
3626
- **Right Stick X** -- Drive the robot side to side.
3727
- **Right Trigger** -- Spin the robot clockwise.
3828
- **Left Trigger** -- Spin the robot counter clockwise.
39-
- **A** -- Execute relative trajectory (robot orientation stays the same)
40-
- **B** -- Execute relative trajectory (robot orientation points in direction of travel)
4129
- **Start** -- Enable closed loop drive control (default)
4230
- **Back** -- Disable closed loop drive control.
43-
- **Left Bumper** -- Execute first absolute trajectory.
44-
- **Right Bumper** -- Execute second absolute trajectory
31+
- **Left Bumper** -- Execute auto cmd
4532
- **POV Right** -- Enable closed loop trajectory control (default)
4633
- **POV Left** -- Disable closed loop trajectory control.
4734

@@ -52,9 +39,9 @@ When not executing a trajectory, combinations of the other controls can be used
5239
Bookmarks in the LabVIEW project describe some items that may need to be customed on the simulated and physical robots to maximize performance.
5340

5441

55-
### Using a Custom Trajectory
42+
### Using a Custom Auto or Trajectory
5643

57-
New trajectory files can be created and used.
44+
New auto or trajectory files can be created and used.
5845

5946
### Custom Dashboard
6047

@@ -72,4 +59,4 @@ All the code customizations are compartmentalized into separate routines that ar
7259

7360

7461
---
75-
File last updated: 12/19/2023
62+
File last updated: 02/21/2025
240 Bytes
Binary file not shown.
492 Bytes
Binary file not shown.

PathPlannerPkg24/MJansen/dir.mnu

324 Bytes
Binary file not shown.
1.74 KB
Binary file not shown.

0 commit comments

Comments
 (0)