-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix JavaDoc 21 warning and clean up generated files
JavaDoc 21 warns about missing docs for implicit constructors. `<cstdint>` was replaced with `<stdint.h>` because the latter provides the typedefs without the `std::` prefix. Using `<cstdint>` for it is UB.
- Loading branch information
Showing
5 changed files
with
18 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,14 @@ | ||
// Copyright (c) Choreo contributors | ||
|
||
// Auto-generated by update_traj_schema.py | ||
|
||
package choreo.util; | ||
|
||
/** Internal autogenerated class for storing the current trajectory schema version. */ | ||
public class TrajSchemaVersion { | ||
/** The current trajectory schema version. */ | ||
public static final int TRAJ_SCHEMA_VERSION = 1; | ||
|
||
/** Utility class. */ | ||
private TrajSchemaVersion() {} | ||
} |
4 changes: 4 additions & 0 deletions
4
choreolib/src/main/native/include/choreo/util/TrajSchemaVersion.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,15 @@ | ||
// Copyright (c) Choreo contributors | ||
|
||
// Auto-generated by update_traj_schema.py | ||
|
||
#pragma once | ||
|
||
#include <stdint.h> | ||
|
||
namespace choreo { | ||
|
||
[[deprecated("Use kTrajSchemaVersion.")]] | ||
inline constexpr uint32_t kTrajSpecVersion = 1; | ||
inline constexpr uint32_t kTrajSchemaVersion = 1; | ||
|
||
} // namespace choreo |
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters