-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Controller exceptions #3227
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
SteveMacenski
merged 35 commits into
ros-navigation:main
from
jwallace42:controller_exceptions
Oct 14, 2022
Merged
Controller exceptions #3227
Changes from 19 commits
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
fdbb761
added result codes for global planner
jwallace42 6f92768
code review
jwallace42 4bd5050
code review
jwallace42 3ccd777
cleanup
jwallace42 95de2a8
cleanup
jwallace42 f0a86a0
update smac lattice planner
jwallace42 af8adbc
update planner instances
jwallace42 63e5f82
cleanup
jwallace42 1b92bea
Merge branch 'main' into expections
jwallace42 b1335c0
added controller exception
jwallace42 fbd0ffd
renaming
jwallace42 42cede1
follow path updates
jwallace42 e22118a
Merge branch 'main' into controller_exceptions
jwallace42 606e16c
rename exceptions
jwallace42 ee51267
updated regulated pure pursuit
jwallace42 e9ae04b
completed pure pursuit
jwallace42 ad9c39a
completed dwb
jwallace42 f5f4cc6
linting fixes
jwallace42 feb948d
cleanup
jwallace42 2849e05
revert planner server
jwallace42 d258369
revert planner server
jwallace42 3fc72f9
revert planner server
jwallace42 0f3c8ed
revert planner server
jwallace42 9332ce0
code review
jwallace42 ae24958
Merge branch 'main' into controller_exceptions
jwallace42 051b011
code review
1084211
Merge branch 'main' into controller_exceptions
4f05aa9
cleanup
f668eab
cleanup
f5692e8
bug fix
e25dbe5
final cleanup
3f0ae4b
Merge branch 'main' into controller_exceptions
d5541bd
set follow path error on bt
19fc8fb
update groot
d18cff5
code review
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,60 @@ | ||
| // Copyright (c) 2022. Joshua Wallace | ||
| // Licensed under the Apache License, Version 2.0 (the "License"); | ||
| // you may not use this file except in compliance with the License. | ||
| // You may obtain a copy of the License at | ||
| // | ||
| // http://www.apache.org/licenses/LICENSE-2.0 | ||
| // | ||
| // Unless required by applicable law or agreed to in writing, software | ||
| // distributed under the License is distributed on an "AS IS" BASIS, | ||
| // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| // See the License for the specific language governing permissions and | ||
| // limitations under the License. | ||
|
|
||
| #ifndef NAV2_CORE__CONTROLLER_EXCEPTIONS_HPP_ | ||
| #define NAV2_CORE__CONTROLLER_EXCEPTIONS_HPP_ | ||
|
|
||
| #include <stdexcept> | ||
| #include <string> | ||
|
|
||
| namespace nav2_core | ||
| { | ||
|
|
||
| class ControllerException : public std::runtime_error | ||
| { | ||
| public: | ||
| explicit ControllerException(const std::string & description) | ||
| : std::runtime_error(description) {} | ||
| }; | ||
|
|
||
| class ControllerTFError : public ControllerException | ||
| { | ||
| public: | ||
| explicit ControllerTFError(const std::string & description) | ||
| : ControllerException(description) {} | ||
| }; | ||
|
|
||
| class FailedToMakeProgress : public ControllerException | ||
| { | ||
| public: | ||
| explicit FailedToMakeProgress(const std::string & description) | ||
| : ControllerException(description) {} | ||
| }; | ||
|
|
||
| class PatienceExceeded : public ControllerException | ||
| { | ||
| public: | ||
| explicit PatienceExceeded(const std::string & description) | ||
| : ControllerException(description) {} | ||
| }; | ||
|
|
||
| class InvalidPath : public ControllerException | ||
| { | ||
| public: | ||
| explicit InvalidPath(const std::string & description) | ||
| : ControllerException(description) {} | ||
| }; | ||
|
|
||
| } // namespace nav2_core | ||
|
|
||
| #endif // NAV2_CORE__CONTROLLER_EXCEPTIONS_HPP_ |
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.