67 static constexpr const char*
s_tag{
"stop_navigation_RPC"};
71 static constexpr const char*
s_prototype{
"bool INavigation2DMsgs::stop_navigation_RPC()"};
72 static constexpr const char*
s_help{
""};
125 static constexpr const char*
s_tag{
"resume_navigation_RPC"};
129 static constexpr const char*
s_prototype{
"bool INavigation2DMsgs::resume_navigation_RPC()"};
188 static constexpr const char*
s_tag{
"suspend_navigation_RPC"};
192 static constexpr const char*
s_prototype{
"bool INavigation2DMsgs::suspend_navigation_RPC(const double time_s)"};
246 static constexpr const char*
s_tag{
"recompute_current_navigation_path_RPC"};
250 static constexpr const char*
s_prototype{
"bool INavigation2DMsgs::recompute_current_navigation_path_RPC()"};
304 static constexpr const char*
s_tag{
"get_navigation_status_RPC"};
308 static constexpr const char*
s_prototype{
"return_get_navigation_status INavigation2DMsgs::get_navigation_status_RPC()"};
362 static constexpr const char*
s_tag{
"get_current_nav_waypoint_RPC"};
366 static constexpr const char*
s_prototype{
"return_get_current_nav_waypoint INavigation2DMsgs::get_current_nav_waypoint_RPC()"};
425 static constexpr const char*
s_tag{
"get_all_navigation_waypoints_RPC"};
429 static constexpr const char*
s_prototype{
"return_get_all_nav_waypoints INavigation2DMsgs::get_all_navigation_waypoints_RPC(const yarp::dev::Nav2D::TrajectoryTypeEnum trajectory_type)"};
488 static constexpr const char*
s_tag{
"get_current_navigation_map_RPC"};
492 static constexpr const char*
s_prototype{
"return_get_current_nav_map INavigation2DMsgs::get_current_navigation_map_RPC(const yarp::dev::Nav2D::NavigationMapTypeEnum map_type)"};
551 static constexpr const char*
s_tag{
"goto_target_by_absolute_location_RPC"};
555 static constexpr const char*
s_prototype{
"bool INavigation2DMsgs::goto_target_by_absolute_location_RPC(const yarp::dev::Nav2D::Map2DLocation& loc)"};
615 static constexpr const char*
s_tag{
"goto_target_by_relative_location1_RPC"};
619 static constexpr const char*
s_prototype{
"bool INavigation2DMsgs::goto_target_by_relative_location1_RPC(const double x, const double y)"};
674 using funcptr_t = bool (*)(
const double,
const double,
const double);
680 static constexpr const char*
s_tag{
"goto_target_by_relative_location2_RPC"};
684 static constexpr const char*
s_prototype{
"bool INavigation2DMsgs::goto_target_by_relative_location2_RPC(const double x, const double y, const double theta)"};
738 static constexpr const char*
s_tag{
"get_absolute_location_of_current_target_RPC"};
742 static constexpr const char*
s_prototype{
"return_get_abs_loc_of_curr_target INavigation2DMsgs::get_absolute_location_of_current_target_RPC()"};
796 static constexpr const char*
s_tag{
"get_relative_location_of_current_target_RPC"};
800 static constexpr const char*
s_prototype{
"return_get_rel_loc_of_curr_target INavigation2DMsgs::get_relative_location_of_current_target_RPC()"};
860 static constexpr const char*
s_tag{
"goto_target_by_absolute_location_and_set_name_RPC"};
864 static constexpr const char*
s_prototype{
"bool INavigation2DMsgs::goto_target_by_absolute_location_and_set_name_RPC(const yarp::dev::Nav2D::Map2DLocation& loc, const std::string& name)"};
920 using funcptr_t = bool (*)(
const double,
const double,
const double,
const double);
926 static constexpr const char*
s_tag{
"apply_velocity_command_RPC"};
930 static constexpr const char*
s_prototype{
"bool INavigation2DMsgs::apply_velocity_command_RPC(const double x_vel, const double y_vel, const double theta_vel, const double timeout)"};
984 static constexpr const char*
s_tag{
"get_last_velocity_command_RPC"};
988 static constexpr const char*
s_prototype{
"return_get_last_velocity_command INavigation2DMsgs::get_last_velocity_command_RPC()"};
1042 static constexpr const char*
s_tag{
"get_name_of_current_target_RPC"};
1046 static constexpr const char*
s_prototype{
"return_get_name_of_current_target INavigation2DMsgs::get_name_of_current_target_RPC()"};
1067 return write(writer);
1077 return read(reader);
1082 if (!writeTag(writer)) {
1085 if (!writeArgs(writer)) {
1106 if (!readTag(reader)) {
1109 if (!readArgs(reader)) {
1140 return write(writer);
1146 return read(reader);
1171 if (!reader.
readBool(return_helper)) {
1200 return write(writer);
1210 return read(reader);
1215 if (!writeTag(writer)) {
1218 if (!writeArgs(writer)) {
1239 if (!readTag(reader)) {
1242 if (!readArgs(reader)) {
1273 return write(writer);
1279 return read(reader);
1304 if (!reader.
readBool(return_helper)) {
1343 return write(writer);
1353 return read(reader);
1358 if (!writeTag(writer)) {
1361 if (!writeArgs(writer)) {
1385 if (!readTag(reader)) {
1388 if (!readArgs(reader)) {
1427 return write(writer);
1433 return read(reader);
1458 if (!reader.
readBool(return_helper)) {
1487 return write(writer);
1497 return read(reader);
1502 if (!writeTag(writer)) {
1505 if (!writeArgs(writer)) {
1526 if (!readTag(reader)) {
1529 if (!readArgs(reader)) {
1560 return write(writer);
1566 return read(reader);
1591 if (!reader.
readBool(return_helper)) {
1620 return write(writer);
1630 return read(reader);
1635 if (!writeTag(writer)) {
1638 if (!writeArgs(writer)) {
1659 if (!readTag(reader)) {
1662 if (!readArgs(reader)) {
1693 return write(writer);
1699 return read(reader);
1708 if (!writer.
write(return_helper)) {
1724 if (!reader.
read(return_helper)) {
1753 return write(writer);
1763 return read(reader);
1768 if (!writeTag(writer)) {
1771 if (!writeArgs(writer)) {
1792 if (!readTag(reader)) {
1795 if (!readArgs(reader)) {
1826 return write(writer);
1832 return read(reader);
1841 if (!writer.
write(return_helper)) {
1857 if (!reader.
read(return_helper)) {
1871 cmd{trajectory_type}
1886 trajectory_type{trajectory_type}
1896 return write(writer);
1906 return read(reader);
1911 if (!writeTag(writer)) {
1914 if (!writeArgs(writer)) {
1938 if (!readTag(reader)) {
1941 if (!readArgs(reader)) {
1982 return write(writer);
1988 return read(reader);
1997 if (!writer.
write(return_helper)) {
2013 if (!reader.
read(return_helper)) {
2052 return write(writer);
2062 return read(reader);
2067 if (!writeTag(writer)) {
2070 if (!writeArgs(writer)) {
2094 if (!readTag(reader)) {
2097 if (!readArgs(reader)) {
2138 return write(writer);
2144 return read(reader);
2153 if (!writer.
write(return_helper)) {
2169 if (!reader.
read(return_helper)) {
2208 return write(writer);
2218 return read(reader);
2223 if (!writeTag(writer)) {
2226 if (!writeArgs(writer)) {
2250 if (!readTag(reader)) {
2253 if (!readArgs(reader)) {
2292 return write(writer);
2298 return read(reader);
2323 if (!reader.
readBool(return_helper)) {
2363 return write(writer);
2373 return read(reader);
2378 if (!writeTag(writer)) {
2381 if (!writeArgs(writer)) {
2408 if (!readTag(reader)) {
2411 if (!readArgs(reader)) {
2458 return write(writer);
2464 return read(reader);
2489 if (!reader.
readBool(return_helper)) {
2530 return write(writer);
2540 return read(reader);
2545 if (!writeTag(writer)) {
2548 if (!writeArgs(writer)) {
2578 if (!readTag(reader)) {
2581 if (!readArgs(reader)) {
2636 return write(writer);
2642 return read(reader);
2667 if (!reader.
readBool(return_helper)) {
2696 return write(writer);
2706 return read(reader);
2711 if (!writeTag(writer)) {
2714 if (!writeArgs(writer)) {
2735 if (!readTag(reader)) {
2738 if (!readArgs(reader)) {
2769 return write(writer);
2775 return read(reader);
2784 if (!writer.
write(return_helper)) {
2800 if (!reader.
read(return_helper)) {
2829 return write(writer);
2839 return read(reader);
2844 if (!writeTag(writer)) {
2847 if (!writeArgs(writer)) {
2868 if (!readTag(reader)) {
2871 if (!readArgs(reader)) {
2902 return write(writer);
2908 return read(reader);
2917 if (!writer.
write(return_helper)) {
2933 if (!reader.
read(return_helper)) {
2973 return write(writer);
2983 return read(reader);
2988 if (!writeTag(writer)) {
2991 if (!writeArgs(writer)) {
3018 if (!readTag(reader)) {
3021 if (!readArgs(reader)) {
3068 return write(writer);
3074 return read(reader);
3099 if (!reader.
readBool(return_helper)) {
3113 cmd{x_vel, y_vel, theta_vel, timeout}
3130 theta_vel{theta_vel},
3141 return write(writer);
3151 return read(reader);
3156 if (!writeTag(writer)) {
3159 if (!writeArgs(writer)) {
3192 if (!readTag(reader)) {
3195 if (!readArgs(reader)) {
3258 return write(writer);
3264 return read(reader);
3289 if (!reader.
readBool(return_helper)) {
3318 return write(writer);
3328 return read(reader);
3333 if (!writeTag(writer)) {
3336 if (!writeArgs(writer)) {
3357 if (!readTag(reader)) {
3360 if (!readArgs(reader)) {
3391 return write(writer);
3397 return read(reader);
3406 if (!writer.
write(return_helper)) {
3422 if (!reader.
read(return_helper)) {
3451 return write(writer);
3461 return read(reader);
3466 if (!writeTag(writer)) {
3469 if (!writeArgs(writer)) {
3490 if (!readTag(reader)) {
3493 if (!readArgs(reader)) {
3524 return write(writer);
3530 return read(reader);
3539 if (!writer.
write(return_helper)) {
3555 if (!reader.
read(return_helper)) {
3570 yarp().setOwner(*
this);
3575 if (!
yarp().canWrite()) {
3579 bool ok =
yarp().write(helper, helper);
3580 return ok ? helper.reply.return_helper :
bool{};
3585 if (!
yarp().canWrite()) {
3589 bool ok =
yarp().write(helper, helper);
3590 return ok ? helper.reply.return_helper :
bool{};
3595 if (!
yarp().canWrite()) {
3599 bool ok =
yarp().write(helper, helper);
3600 return ok ? helper.reply.return_helper :
bool{};
3605 if (!
yarp().canWrite()) {
3609 bool ok =
yarp().write(helper, helper);
3610 return ok ? helper.reply.return_helper :
bool{};
3615 if (!
yarp().canWrite()) {
3619 bool ok =
yarp().write(helper, helper);
3625 if (!
yarp().canWrite()) {
3629 bool ok =
yarp().write(helper, helper);
3635 if (!
yarp().canWrite()) {
3639 bool ok =
yarp().write(helper, helper);
3645 if (!
yarp().canWrite()) {
3649 bool ok =
yarp().write(helper, helper);
3655 if (!
yarp().canWrite()) {
3659 bool ok =
yarp().write(helper, helper);
3660 return ok ? helper.reply.return_helper :
bool{};
3665 if (!
yarp().canWrite()) {
3669 bool ok =
yarp().write(helper, helper);
3670 return ok ? helper.reply.return_helper :
bool{};
3675 if (!
yarp().canWrite()) {
3679 bool ok =
yarp().write(helper, helper);
3680 return ok ? helper.reply.return_helper :
bool{};
3685 if (!
yarp().canWrite()) {
3689 bool ok =
yarp().write(helper, helper);
3695 if (!
yarp().canWrite()) {
3699 bool ok =
yarp().write(helper, helper);
3705 if (!
yarp().canWrite()) {
3709 bool ok =
yarp().write(helper, helper);
3710 return ok ? helper.reply.return_helper :
bool{};
3715 if (!
yarp().canWrite()) {
3719 bool ok =
yarp().write(helper, helper);
3720 return ok ? helper.reply.return_helper :
bool{};
3725 if (!
yarp().canWrite()) {
3729 bool ok =
yarp().write(helper, helper);
3735 if (!
yarp().canWrite()) {
3739 bool ok =
yarp().write(helper, helper);
3746 bool showAll = (functionName ==
"--all");
3747 std::vector<std::string> helpString;
3749 helpString.emplace_back(
"*** Available commands:");
3767 helpString.emplace_back(
"help");
3820 if (functionName ==
"help") {
3821 helpString.emplace_back(
"std::vector<std::string> help(const std::string& functionName = \"--all\")");
3822 helpString.emplace_back(
"Return list of available commands, or help message for a specific function");
3823 helpString.emplace_back(
"@param functionName name of command for which to get a detailed description. If none or '--all' is provided, print list of available commands");
3824 helpString.emplace_back(
"@return list of strings (one string per line)");
3827 if (helpString.empty()) {
3828 helpString.emplace_back(
"Command not found");
3836 constexpr size_t max_tag_len = 9;
3846 std::string tag = reader.
readTag(1);
3847 bool direct = (tag ==
"__direct__");
3851 while (tag_len <= max_tag_len && !reader.
isError()) {
4107 if (tag ==
"help") {
4108 std::string functionName;
4110 functionName =
"--all";
4112 auto help_strings = help(functionName);
4118 if (!writer.
writeTag(
"many", 1, 0)) {
4124 for (
const auto& help_string : help_strings) {
4140 std::string next_tag = reader.
readTag(1);
4141 if (next_tag.empty()) {
4144 tag.append(
"_").append(next_tag);
4145 tag_len = std::count(tag.begin(), tag.end(),
'_') + 1;
bool readArgs(yarp::os::idl::WireReader &reader)
bool writeArgs(const yarp::os::idl::WireWriter &writer) const
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
bool writeTag(const yarp::os::idl::WireWriter &writer) const
bool readTag(yarp::os::idl::WireReader &reader)
~Command() override=default
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
~Reply() override=default
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
static constexpr size_t s_reply_len
static constexpr size_t s_tag_len
static constexpr const char * s_tag
static constexpr size_t s_cmd_len
void call(INavigation2DMsgs *ptr)
bool(*)(const double, const double, const double, const double) funcptr_t
static constexpr const char * s_prototype
static constexpr const char * s_help
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
INavigation2DMsgs_apply_velocity_command_RPC_helper()=default
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
bool writeArgs(const yarp::os::idl::WireWriter &writer) const
bool writeTag(const yarp::os::idl::WireWriter &writer) const
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
~Command() override=default
bool readArgs(yarp::os::idl::WireReader &reader)
bool readTag(yarp::os::idl::WireReader &reader)
~Reply() override=default
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
return_get_abs_loc_of_curr_target return_helper
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
static constexpr size_t s_tag_len
static constexpr const char * s_prototype
static constexpr size_t s_cmd_len
static constexpr const char * s_help
static constexpr const char * s_tag
void call(INavigation2DMsgs *ptr)
return_get_abs_loc_of_curr_target(*)() funcptr_t
static constexpr size_t s_reply_len
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
INavigation2DMsgs_get_absolute_location_of_current_target_RPC_helper()=default
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
bool writeArgs(const yarp::os::idl::WireWriter &writer) const
yarp::dev::Nav2D::TrajectoryTypeEnum trajectory_type
bool readTag(yarp::os::idl::WireReader &reader)
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
bool readArgs(yarp::os::idl::WireReader &reader)
bool writeTag(const yarp::os::idl::WireWriter &writer) const
~Command() override=default
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
~Reply() override=default
return_get_all_nav_waypoints return_helper
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
INavigation2DMsgs_get_all_navigation_waypoints_RPC_helper()=default
static constexpr const char * s_prototype
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
static constexpr const char * s_help
static constexpr size_t s_cmd_len
static constexpr size_t s_reply_len
static constexpr const char * s_tag
return_get_all_nav_waypoints(*)(const yarp::dev::Nav2D::TrajectoryTypeEnum) funcptr_t
void call(INavigation2DMsgs *ptr)
static constexpr size_t s_tag_len
bool writeArgs(const yarp::os::idl::WireWriter &writer) const
bool writeTag(const yarp::os::idl::WireWriter &writer) const
bool readTag(yarp::os::idl::WireReader &reader)
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
~Command() override=default
bool readArgs(yarp::os::idl::WireReader &reader)
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
return_get_current_nav_waypoint return_helper
~Reply() override=default
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
return_get_current_nav_waypoint(*)() funcptr_t
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
static constexpr size_t s_reply_len
void call(INavigation2DMsgs *ptr)
static constexpr const char * s_help
static constexpr size_t s_cmd_len
static constexpr const char * s_prototype
INavigation2DMsgs_get_current_nav_waypoint_RPC_helper()=default
static constexpr size_t s_tag_len
static constexpr const char * s_tag
bool writeArgs(const yarp::os::idl::WireWriter &writer) const
bool writeTag(const yarp::os::idl::WireWriter &writer) const
bool readArgs(yarp::os::idl::WireReader &reader)
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
yarp::dev::Nav2D::NavigationMapTypeEnum map_type
~Command() override=default
bool readTag(yarp::os::idl::WireReader &reader)
~Reply() override=default
return_get_current_nav_map return_helper
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
static constexpr size_t s_cmd_len
static constexpr const char * s_tag
void call(INavigation2DMsgs *ptr)
static constexpr size_t s_reply_len
static constexpr const char * s_help
INavigation2DMsgs_get_current_navigation_map_RPC_helper()=default
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
static constexpr const char * s_prototype
return_get_current_nav_map(*)(const yarp::dev::Nav2D::NavigationMapTypeEnum) funcptr_t
static constexpr size_t s_tag_len
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
bool readArgs(yarp::os::idl::WireReader &reader)
~Command() override=default
bool readTag(yarp::os::idl::WireReader &reader)
bool writeArgs(const yarp::os::idl::WireWriter &writer) const
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
bool writeTag(const yarp::os::idl::WireWriter &writer) const
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
~Reply() override=default
return_get_last_velocity_command return_helper
static constexpr const char * s_tag
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
static constexpr const char * s_prototype
return_get_last_velocity_command(*)() funcptr_t
static constexpr size_t s_tag_len
INavigation2DMsgs_get_last_velocity_command_RPC_helper()=default
static constexpr size_t s_cmd_len
void call(INavigation2DMsgs *ptr)
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
static constexpr const char * s_help
static constexpr size_t s_reply_len
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
~Command() override=default
bool readArgs(yarp::os::idl::WireReader &reader)
bool writeArgs(const yarp::os::idl::WireWriter &writer) const
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
bool readTag(yarp::os::idl::WireReader &reader)
bool writeTag(const yarp::os::idl::WireWriter &writer) const
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
~Reply() override=default
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
return_get_name_of_current_target return_helper
static constexpr size_t s_tag_len
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
static constexpr size_t s_cmd_len
INavigation2DMsgs_get_name_of_current_target_RPC_helper()=default
return_get_name_of_current_target(*)() funcptr_t
static constexpr const char * s_tag
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
static constexpr size_t s_reply_len
static constexpr const char * s_help
void call(INavigation2DMsgs *ptr)
static constexpr const char * s_prototype
bool writeTag(const yarp::os::idl::WireWriter &writer) const
bool readTag(yarp::os::idl::WireReader &reader)
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
bool readArgs(yarp::os::idl::WireReader &reader)
~Command() override=default
bool writeArgs(const yarp::os::idl::WireWriter &writer) const
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
~Reply() override=default
return_get_navigation_status return_helper
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
static constexpr const char * s_tag
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
static constexpr const char * s_help
INavigation2DMsgs_get_navigation_status_RPC_helper()=default
static constexpr size_t s_tag_len
void call(INavigation2DMsgs *ptr)
static constexpr size_t s_reply_len
static constexpr const char * s_prototype
static constexpr size_t s_cmd_len
return_get_navigation_status(*)() funcptr_t
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
bool writeArgs(const yarp::os::idl::WireWriter &writer) const
~Command() override=default
bool readTag(yarp::os::idl::WireReader &reader)
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
bool writeTag(const yarp::os::idl::WireWriter &writer) const
bool readArgs(yarp::os::idl::WireReader &reader)
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
return_get_rel_loc_of_curr_target return_helper
~Reply() override=default
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
static constexpr size_t s_tag_len
static constexpr const char * s_tag
static constexpr size_t s_reply_len
static constexpr const char * s_help
static constexpr const char * s_prototype
static constexpr size_t s_cmd_len
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
INavigation2DMsgs_get_relative_location_of_current_target_RPC_helper()=default
return_get_rel_loc_of_curr_target(*)() funcptr_t
void call(INavigation2DMsgs *ptr)
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
bool readArgs(yarp::os::idl::WireReader &reader)
~Command() override=default
yarp::dev::Nav2D::Map2DLocation loc
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
bool writeArgs(const yarp::os::idl::WireWriter &writer) const
bool readTag(yarp::os::idl::WireReader &reader)
bool writeTag(const yarp::os::idl::WireWriter &writer) const
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
~Reply() override=default
static constexpr const char * s_prototype
bool(*)(const yarp::dev::Nav2D::Map2DLocation &) funcptr_t
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
static constexpr size_t s_tag_len
static constexpr const char * s_help
static constexpr size_t s_cmd_len
INavigation2DMsgs_goto_target_by_absolute_location_RPC_helper()=default
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
static constexpr const char * s_tag
static constexpr size_t s_reply_len
void call(INavigation2DMsgs *ptr)
bool writeArgs(const yarp::os::idl::WireWriter &writer) const
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
~Command() override=default
bool readArgs(yarp::os::idl::WireReader &reader)
bool readTag(yarp::os::idl::WireReader &reader)
bool writeTag(const yarp::os::idl::WireWriter &writer) const
yarp::dev::Nav2D::Map2DLocation loc
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
~Reply() override=default
static constexpr size_t s_cmd_len
static constexpr size_t s_tag_len
INavigation2DMsgs_goto_target_by_absolute_location_and_set_name_RPC_helper()=default
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
static constexpr size_t s_reply_len
static constexpr const char * s_tag
bool(*)(const yarp::dev::Nav2D::Map2DLocation &, const std::string &) funcptr_t
static constexpr const char * s_prototype
void call(INavigation2DMsgs *ptr)
static constexpr const char * s_help
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
~Command() override=default
bool writeTag(const yarp::os::idl::WireWriter &writer) const
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
bool readArgs(yarp::os::idl::WireReader &reader)
bool writeArgs(const yarp::os::idl::WireWriter &writer) const
bool readTag(yarp::os::idl::WireReader &reader)
~Reply() override=default
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
static constexpr const char * s_help
bool(*)(const double, const double) funcptr_t
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
INavigation2DMsgs_goto_target_by_relative_location1_RPC_helper()=default
static constexpr size_t s_cmd_len
static constexpr const char * s_tag
void call(INavigation2DMsgs *ptr)
static constexpr const char * s_prototype
static constexpr size_t s_reply_len
static constexpr size_t s_tag_len
bool readArgs(yarp::os::idl::WireReader &reader)
bool writeArgs(const yarp::os::idl::WireWriter &writer) const
bool readTag(yarp::os::idl::WireReader &reader)
bool writeTag(const yarp::os::idl::WireWriter &writer) const
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
~Command() override=default
~Reply() override=default
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
static constexpr size_t s_reply_len
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
static constexpr size_t s_tag_len
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
static constexpr const char * s_tag
INavigation2DMsgs_goto_target_by_relative_location2_RPC_helper()=default
static constexpr size_t s_cmd_len
static constexpr const char * s_help
static constexpr const char * s_prototype
void call(INavigation2DMsgs *ptr)
bool(*)(const double, const double, const double) funcptr_t
~Command() override=default
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
bool readArgs(yarp::os::idl::WireReader &reader)
bool readTag(yarp::os::idl::WireReader &reader)
bool writeArgs(const yarp::os::idl::WireWriter &writer) const
bool writeTag(const yarp::os::idl::WireWriter &writer) const
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
~Reply() override=default
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
void call(INavigation2DMsgs *ptr)
static constexpr const char * s_help
static constexpr size_t s_cmd_len
INavigation2DMsgs_recompute_current_navigation_path_RPC_helper()=default
static constexpr const char * s_prototype
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
static constexpr const char * s_tag
static constexpr size_t s_tag_len
static constexpr size_t s_reply_len
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
~Command() override=default
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
bool writeArgs(const yarp::os::idl::WireWriter &writer) const
bool readArgs(yarp::os::idl::WireReader &reader)
bool readTag(yarp::os::idl::WireReader &reader)
bool writeTag(const yarp::os::idl::WireWriter &writer) const
~Reply() override=default
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
static constexpr size_t s_cmd_len
static constexpr size_t s_reply_len
static constexpr const char * s_prototype
INavigation2DMsgs_resume_navigation_RPC_helper()=default
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
static constexpr const char * s_help
static constexpr const char * s_tag
void call(INavigation2DMsgs *ptr)
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
static constexpr size_t s_tag_len
bool readTag(yarp::os::idl::WireReader &reader)
bool writeTag(const yarp::os::idl::WireWriter &writer) const
bool writeArgs(const yarp::os::idl::WireWriter &writer) const
~Command() override=default
bool readArgs(yarp::os::idl::WireReader &reader)
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
~Reply() override=default
void call(INavigation2DMsgs *ptr)
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
static constexpr const char * s_help
INavigation2DMsgs_stop_navigation_RPC_helper()=default
static constexpr const char * s_prototype
static constexpr size_t s_reply_len
static constexpr size_t s_tag_len
static constexpr size_t s_cmd_len
static constexpr const char * s_tag
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
~Command() override=default
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
bool writeArgs(const yarp::os::idl::WireWriter &writer) const
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
bool readArgs(yarp::os::idl::WireReader &reader)
bool writeTag(const yarp::os::idl::WireWriter &writer) const
bool readTag(yarp::os::idl::WireReader &reader)
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
~Reply() override=default
static constexpr const char * s_help
static constexpr size_t s_cmd_len
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
static constexpr size_t s_reply_len
static constexpr const char * s_tag
static constexpr const char * s_prototype
void call(INavigation2DMsgs *ptr)
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
bool(*)(const double) funcptr_t
static constexpr size_t s_tag_len
INavigation2DMsgs_suspend_navigation_RPC_helper()=default
virtual bool goto_target_by_relative_location2_RPC(const double x, const double y, const double theta)
virtual return_get_abs_loc_of_curr_target get_absolute_location_of_current_target_RPC()
virtual bool suspend_navigation_RPC(const double time_s)
virtual return_get_last_velocity_command get_last_velocity_command_RPC()
virtual bool recompute_current_navigation_path_RPC()
virtual return_get_current_nav_map get_current_navigation_map_RPC(const yarp::dev::Nav2D::NavigationMapTypeEnum map_type)
virtual return_get_navigation_status get_navigation_status_RPC()
virtual bool goto_target_by_absolute_location_RPC(const yarp::dev::Nav2D::Map2DLocation &loc)
virtual std::vector< std::string > help(const std::string &functionName="--all")
virtual return_get_current_nav_waypoint get_current_nav_waypoint_RPC()
virtual bool apply_velocity_command_RPC(const double x_vel, const double y_vel, const double theta_vel, const double timeout)
virtual bool stop_navigation_RPC()
virtual return_get_name_of_current_target get_name_of_current_target_RPC()
virtual return_get_rel_loc_of_curr_target get_relative_location_of_current_target_RPC()
virtual return_get_all_nav_waypoints get_all_navigation_waypoints_RPC(const yarp::dev::Nav2D::TrajectoryTypeEnum trajectory_type)
virtual bool goto_target_by_relative_location1_RPC(const double x, const double y)
virtual bool goto_target_by_absolute_location_and_set_name_RPC(const yarp::dev::Nav2D::Map2DLocation &loc, const std::string &name)
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
virtual bool resume_navigation_RPC()
An interface for reading from a network connection.
An interface for writing to a network connection.
This is a base class for objects that can be both read from and be written to the YARP network.
A "tamed" Portable, that promises to serialize itself in an IDL-friendly way.
IDL-friendly connection reader.
bool readVocab32(yarp::conf::vocab32_t &x)
bool readNested(WirePortable &obj)
bool readString(std::string &str, bool *is_vocab=nullptr)
std::string readTag(size_t len=static_cast< size_t >(-1))
bool read(WirePortable &obj)
bool readFloat64(yarp::conf::float64_t &x)
IDL-friendly connection writer.
bool writeVocab32(yarp::conf::vocab32_t x, bool skip_tag=false) const
bool writeBool(bool x, bool skip_tag=false) const
bool write(const WirePortable &obj) const
bool writeListHeader(int len) const
bool writeTag(const char *tag, int split, int len) const
bool writeFloat64(yarp::conf::float64_t x, bool skip_tag=false) const
bool writeString(const std::string &str, bool skip_tag=false) const
bool writeListEnd() const
bool writeNested(const WirePortable &obj) const
bool writeListBegin(int tag, size_t len) const
The main, catch-all namespace for YARP.