Skip to content

Commit

Permalink
added inline
Browse files Browse the repository at this point in the history
Signed-off-by: Jakub Delicat <[email protected]>
  • Loading branch information
delihus committed Dec 11, 2024
1 parent 8d02a31 commit b316d97
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,6 @@ pre-commit install
### Unit testing

```bash
colcon build --symlink-install --packages-up-to husarion_ugv --cmake-args -DCMAKE_BUILD_TYPE=Release --cmake-args -DTEST_INTEGRATION=OFF
colcon build --symlink-install --packages-up-to husarion_ugv --cmake-args -DCMAKE_BUILD_TYPE=Release -DTEST_INTEGRATION=OFF
colcon test --packages-up-to husarion_ugv
```
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ class BehaviorTreeManager
*
* @param factory The factory object used to create the tree.
*/
void Initialize(BT::BehaviorTreeFactory & factory)
inline void Initialize(BT::BehaviorTreeFactory & factory)
{
config_ = CreateBTConfig(initial_blackboard_);
tree_ = factory.createTree(tree_name_, config_.blackboard);
Expand All @@ -85,7 +85,7 @@ class BehaviorTreeManager
* entry type.
* @return A BehaviorTree configuration object.
*/
BT::NodeConfig CreateBTConfig(const std::map<std::string, std::any> & bb_values) const
inline BT::NodeConfig CreateBTConfig(const std::map<std::string, std::any> & bb_values) const
{
BT::NodeConfig config;
config.blackboard = BT::Blackboard::create();
Expand Down

0 comments on commit b316d97

Please sign in to comment.