-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
88 changed files
with
1,187 additions
and
330 deletions.
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 |
---|---|---|
|
@@ -36,3 +36,4 @@ tests_files/* | |
|
||
# mementar intern files | ||
/file_intern/* | ||
settings.json |
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"configurations": [ | ||
{ | ||
"name": "Limux", | ||
"includePath": [ | ||
"${workspaceFolder}/**" | ||
], | ||
"defines": [], | ||
"compilerPath": "/usr/bin/gcc", | ||
"cStandard": "c11", | ||
"cppStandard": "c++17", | ||
"intelliSenseMode": "linux-gcc-x64", | ||
"compileCommands": "${workspaceFolder}/../../build/compile_commands.json" | ||
} | ||
], | ||
"version": 4 | ||
} |
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
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
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
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
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
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
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
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
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
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
File renamed without changes.
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
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
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
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
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 |
---|---|---|
@@ -0,0 +1,28 @@ | ||
#ifndef MEMENTAR_ACTIONCLIENT_H | ||
#define MEMENTAR_ACTIONCLIENT_H | ||
|
||
#include "mementar/API/mementar/clients/ClientBase.h" | ||
|
||
namespace mementar | ||
{ | ||
|
||
class ActionClient : public ClientBase | ||
{ | ||
public: | ||
ActionClient(ros::NodeHandle* n, const std::string& name) : ClientBase(n, (name == "") ? "action" : "action/" + name) {} | ||
|
||
bool exist(const std::string& action_name); | ||
std::vector<std::string> getPending(); | ||
bool isPending(const std::string& action_name); | ||
ros::Time getStartStamp(const std::string& action_name); | ||
ros::Time getEndStamp(const std::string& action_name); | ||
ros::Time getDuration(const std::string& action_name); | ||
std::string getStartFact(const std::string& action_name); | ||
std::string getEndFact(const std::string& action_name); | ||
std::vector<std::string> getFactsDuring(const std::string& action_name); | ||
private: | ||
}; | ||
|
||
} // namespace mementar | ||
|
||
#endif // MEMENTAR_ACTIONCLIENT_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
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 |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#ifndef MEMENTAR_FACTCLIENT_H | ||
#define MEMENTAR_FACTCLIENT_H | ||
|
||
#include "mementar/API/mementar/clients/ClientBase.h" | ||
|
||
namespace mementar | ||
{ | ||
|
||
class FactClient : public ClientBase | ||
{ | ||
public: | ||
FactClient(ros::NodeHandle* n, const std::string& name) : ClientBase(n, (name == "") ? "fact" : "fact/" + name) {} | ||
|
||
bool exist(const std::string& fact_id); | ||
bool isActionPart(const std::string& fact_id); | ||
std::string getActionPart(const std::string& fact_id); | ||
std::string getData(const std::string& fact_id); | ||
ros::Time getStamp(const std::string& fact_id); | ||
private: | ||
}; | ||
|
||
} // namespace mementar | ||
|
||
#endif // MEMENTAR_FACTCLIENT_H |
2 changes: 1 addition & 1 deletion
2
include/mementar/API/clients/ManagerClient.h → ...ntar/API/mementar/clients/ManagerClient.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
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
Oops, something went wrong.