67 static constexpr const char*
s_tag{
"stop_navigation_RPC"};
71 static constexpr const char*
s_prototype{
"yarp::dev::ReturnValue 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{
"yarp::dev::ReturnValue INavigation2DMsgs::resume_navigation_RPC()"};
188 static constexpr const char*
s_tag{
"suspend_navigation_RPC"};
192 static constexpr const char*
s_prototype{
"yarp::dev::ReturnValue 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{
"yarp::dev::ReturnValue 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{
"yarp::dev::ReturnValue INavigation2DMsgs::goto_target_by_absolute_location_RPC(const yarp::dev::Nav2D::Map2DLocation& loc)"};
614 static constexpr const char*
s_tag{
"follow_path_RPC"};
618 static constexpr const char*
s_prototype{
"yarp::dev::ReturnValue INavigation2DMsgs::follow_path_RPC(const yarp::dev::Nav2D::Map2DPath& path)"};
678 static constexpr const char*
s_tag{
"goto_target_by_relative_location1_RPC"};
682 static constexpr const char*
s_prototype{
"yarp::dev::ReturnValue INavigation2DMsgs::goto_target_by_relative_location1_RPC(const double x, const double y)"};
743 static constexpr const char*
s_tag{
"goto_target_by_relative_location2_RPC"};
747 static constexpr const char*
s_prototype{
"yarp::dev::ReturnValue INavigation2DMsgs::goto_target_by_relative_location2_RPC(const double x, const double y, const double theta)"};
801 static constexpr const char*
s_tag{
"get_absolute_location_of_current_target_RPC"};
805 static constexpr const char*
s_prototype{
"return_get_abs_loc_of_curr_target INavigation2DMsgs::get_absolute_location_of_current_target_RPC()"};
859 static constexpr const char*
s_tag{
"get_relative_location_of_current_target_RPC"};
863 static constexpr const char*
s_prototype{
"return_get_rel_loc_of_curr_target INavigation2DMsgs::get_relative_location_of_current_target_RPC()"};
923 static constexpr const char*
s_tag{
"goto_target_by_absolute_location_and_set_name_RPC"};
927 static constexpr const char*
s_prototype{
"yarp::dev::ReturnValue INavigation2DMsgs::goto_target_by_absolute_location_and_set_name_RPC(const yarp::dev::Nav2D::Map2DLocation& loc, const std::string& name)"};
989 static constexpr const char*
s_tag{
"apply_velocity_command_RPC"};
993 static constexpr const char*
s_prototype{
"yarp::dev::ReturnValue INavigation2DMsgs::apply_velocity_command_RPC(const double x_vel, const double y_vel, const double theta_vel, const double timeout)"};
1047 static constexpr const char*
s_tag{
"get_last_velocity_command_RPC"};
1051 static constexpr const char*
s_prototype{
"return_get_last_velocity_command INavigation2DMsgs::get_last_velocity_command_RPC()"};
1105 static constexpr const char*
s_tag{
"get_name_of_current_target_RPC"};
1109 static constexpr const char*
s_prototype{
"return_get_name_of_current_target INavigation2DMsgs::get_name_of_current_target_RPC()"};
1130 return write(writer);
1140 return read(reader);
1145 if (!writeTag(writer)) {
1148 if (!writeArgs(writer)) {
1169 if (!readTag(reader)) {
1172 if (!readArgs(reader)) {
1203 return write(writer);
1209 return read(reader);
1215 if (!writer.
write(return_helper)) {
1228 if (!reader.
read(return_helper)) {
1257 return write(writer);
1267 return read(reader);
1272 if (!writeTag(writer)) {
1275 if (!writeArgs(writer)) {
1296 if (!readTag(reader)) {
1299 if (!readArgs(reader)) {
1330 return write(writer);
1336 return read(reader);
1342 if (!writer.
write(return_helper)) {
1355 if (!reader.
read(return_helper)) {
1394 return write(writer);
1404 return read(reader);
1409 if (!writeTag(writer)) {
1412 if (!writeArgs(writer)) {
1436 if (!readTag(reader)) {
1439 if (!readArgs(reader)) {
1478 return write(writer);
1484 return read(reader);
1490 if (!writer.
write(return_helper)) {
1503 if (!reader.
read(return_helper)) {
1532 return write(writer);
1542 return read(reader);
1547 if (!writeTag(writer)) {
1550 if (!writeArgs(writer)) {
1571 if (!readTag(reader)) {
1574 if (!readArgs(reader)) {
1605 return write(writer);
1611 return read(reader);
1617 if (!writer.
write(return_helper)) {
1630 if (!reader.
read(return_helper)) {
1659 return write(writer);
1669 return read(reader);
1674 if (!writeTag(writer)) {
1677 if (!writeArgs(writer)) {
1698 if (!readTag(reader)) {
1701 if (!readArgs(reader)) {
1732 return write(writer);
1738 return read(reader);
1747 if (!writer.
write(return_helper)) {
1763 if (!reader.
read(return_helper)) {
1792 return write(writer);
1802 return read(reader);
1807 if (!writeTag(writer)) {
1810 if (!writeArgs(writer)) {
1831 if (!readTag(reader)) {
1834 if (!readArgs(reader)) {
1865 return write(writer);
1871 return read(reader);
1880 if (!writer.
write(return_helper)) {
1896 if (!reader.
read(return_helper)) {
1910 cmd{trajectory_type}
1925 trajectory_type{trajectory_type}
1935 return write(writer);
1945 return read(reader);
1950 if (!writeTag(writer)) {
1953 if (!writeArgs(writer)) {
1977 if (!readTag(reader)) {
1980 if (!readArgs(reader)) {
2021 return write(writer);
2027 return read(reader);
2036 if (!writer.
write(return_helper)) {
2052 if (!reader.
read(return_helper)) {
2091 return write(writer);
2101 return read(reader);
2106 if (!writeTag(writer)) {
2109 if (!writeArgs(writer)) {
2133 if (!readTag(reader)) {
2136 if (!readArgs(reader)) {
2177 return write(writer);
2183 return read(reader);
2192 if (!writer.
write(return_helper)) {
2208 if (!reader.
read(return_helper)) {
2247 return write(writer);
2257 return read(reader);
2262 if (!writeTag(writer)) {
2265 if (!writeArgs(writer)) {
2289 if (!readTag(reader)) {
2292 if (!readArgs(reader)) {
2331 return write(writer);
2337 return read(reader);
2343 if (!writer.
write(return_helper)) {
2356 if (!reader.
read(return_helper)) {
2395 return write(writer);
2405 return read(reader);
2410 if (!writeTag(writer)) {
2413 if (!writeArgs(writer)) {
2437 if (!readTag(reader)) {
2440 if (!readArgs(reader)) {
2479 return write(writer);
2485 return read(reader);
2491 if (!writer.
write(return_helper)) {
2504 if (!reader.
read(return_helper)) {
2544 return write(writer);
2554 return read(reader);
2559 if (!writeTag(writer)) {
2562 if (!writeArgs(writer)) {
2589 if (!readTag(reader)) {
2592 if (!readArgs(reader)) {
2639 return write(writer);
2645 return read(reader);
2651 if (!writer.
write(return_helper)) {
2664 if (!reader.
read(return_helper)) {
2705 return write(writer);
2715 return read(reader);
2720 if (!writeTag(writer)) {
2723 if (!writeArgs(writer)) {
2753 if (!readTag(reader)) {
2756 if (!readArgs(reader)) {
2811 return write(writer);
2817 return read(reader);
2823 if (!writer.
write(return_helper)) {
2836 if (!reader.
read(return_helper)) {
2865 return write(writer);
2875 return read(reader);
2880 if (!writeTag(writer)) {
2883 if (!writeArgs(writer)) {
2904 if (!readTag(reader)) {
2907 if (!readArgs(reader)) {
2938 return write(writer);
2944 return read(reader);
2953 if (!writer.
write(return_helper)) {
2969 if (!reader.
read(return_helper)) {
2998 return write(writer);
3008 return read(reader);
3013 if (!writeTag(writer)) {
3016 if (!writeArgs(writer)) {
3037 if (!readTag(reader)) {
3040 if (!readArgs(reader)) {
3071 return write(writer);
3077 return read(reader);
3086 if (!writer.
write(return_helper)) {
3102 if (!reader.
read(return_helper)) {
3142 return write(writer);
3152 return read(reader);
3157 if (!writeTag(writer)) {
3160 if (!writeArgs(writer)) {
3187 if (!readTag(reader)) {
3190 if (!readArgs(reader)) {
3237 return write(writer);
3243 return read(reader);
3249 if (!writer.
write(return_helper)) {
3262 if (!reader.
read(return_helper)) {
3276 cmd{x_vel, y_vel, theta_vel, timeout}
3293 theta_vel{theta_vel},
3304 return write(writer);
3314 return read(reader);
3319 if (!writeTag(writer)) {
3322 if (!writeArgs(writer)) {
3355 if (!readTag(reader)) {
3358 if (!readArgs(reader)) {
3421 return write(writer);
3427 return read(reader);
3433 if (!writer.
write(return_helper)) {
3446 if (!reader.
read(return_helper)) {
3475 return write(writer);
3485 return read(reader);
3490 if (!writeTag(writer)) {
3493 if (!writeArgs(writer)) {
3514 if (!readTag(reader)) {
3517 if (!readArgs(reader)) {
3548 return write(writer);
3554 return read(reader);
3563 if (!writer.
write(return_helper)) {
3579 if (!reader.
read(return_helper)) {
3608 return write(writer);
3618 return read(reader);
3623 if (!writeTag(writer)) {
3626 if (!writeArgs(writer)) {
3647 if (!readTag(reader)) {
3650 if (!readArgs(reader)) {
3681 return write(writer);
3687 return read(reader);
3696 if (!writer.
write(return_helper)) {
3712 if (!reader.
read(return_helper)) {
3727 yarp().setOwner(*
this);
3732 if (!
yarp().canWrite()) {
3736 bool ok =
yarp().write(helper, helper);
3742 if (!
yarp().canWrite()) {
3746 bool ok =
yarp().write(helper, helper);
3752 if (!
yarp().canWrite()) {
3756 bool ok =
yarp().write(helper, helper);
3762 if (!
yarp().canWrite()) {
3766 bool ok =
yarp().write(helper, helper);
3772 if (!
yarp().canWrite()) {
3776 bool ok =
yarp().write(helper, helper);
3782 if (!
yarp().canWrite()) {
3786 bool ok =
yarp().write(helper, helper);
3792 if (!
yarp().canWrite()) {
3796 bool ok =
yarp().write(helper, helper);
3802 if (!
yarp().canWrite()) {
3806 bool ok =
yarp().write(helper, helper);
3812 if (!
yarp().canWrite()) {
3816 bool ok =
yarp().write(helper, helper);
3822 if (!
yarp().canWrite()) {
3826 bool ok =
yarp().write(helper, helper);
3832 if (!
yarp().canWrite()) {
3836 bool ok =
yarp().write(helper, helper);
3842 if (!
yarp().canWrite()) {
3846 bool ok =
yarp().write(helper, helper);
3852 if (!
yarp().canWrite()) {
3856 bool ok =
yarp().write(helper, helper);
3862 if (!
yarp().canWrite()) {
3866 bool ok =
yarp().write(helper, helper);
3872 if (!
yarp().canWrite()) {
3876 bool ok =
yarp().write(helper, helper);
3882 if (!
yarp().canWrite()) {
3886 bool ok =
yarp().write(helper, helper);
3892 if (!
yarp().canWrite()) {
3896 bool ok =
yarp().write(helper, helper);
3902 if (!
yarp().canWrite()) {
3906 bool ok =
yarp().write(helper, helper);
3913 bool showAll = (functionName ==
"--all");
3914 std::vector<std::string> helpString;
3916 helpString.emplace_back(
"*** Available commands:");
3935 helpString.emplace_back(
"help");
3991 if (functionName ==
"help") {
3992 helpString.emplace_back(
"std::vector<std::string> help(const std::string& functionName = \"--all\")");
3993 helpString.emplace_back(
"Return list of available commands, or help message for a specific function");
3994 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");
3995 helpString.emplace_back(
"@return list of strings (one string per line)");
3998 if (helpString.empty()) {
3999 helpString.emplace_back(
"Command not found");
4007 constexpr size_t max_tag_len = 9;
4017 std::string tag = reader.
readTag(1);
4018 bool direct = (tag ==
"__direct__");
4022 while (tag_len <= max_tag_len && !reader.
isError()) {
4293 if (tag ==
"help") {
4294 std::string functionName;
4296 functionName =
"--all";
4298 auto help_strings = help(functionName);
4304 if (!writer.
writeTag(
"many", 1, 0)) {
4310 for (
const auto& help_string : help_strings) {
4326 std::string next_tag = reader.
readTag(1);
4327 if (next_tag.empty()) {
4330 tag.append(
"_").append(next_tag);
4331 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.
yarp::dev::ReturnValue return_helper
static constexpr size_t s_reply_len
yarp::dev::ReturnValue(*)(const double, const double, const double, const double) funcptr_t
static constexpr size_t s_tag_len
static constexpr const char * s_tag
static constexpr size_t s_cmd_len
void call(INavigation2DMsgs *ptr)
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.
~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.
yarp::dev::Nav2D::Map2DPath path
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::ReturnValue return_helper
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.
static constexpr const char * s_help
static constexpr const char * s_tag
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
yarp::dev::ReturnValue(*)(const yarp::dev::Nav2D::Map2DPath &) funcptr_t
static constexpr const char * s_prototype
static constexpr size_t s_cmd_len
INavigation2DMsgs_follow_path_RPC_helper()=default
static constexpr size_t s_reply_len
void call(INavigation2DMsgs *ptr)
static constexpr size_t s_tag_len
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
yarp::dev::ReturnValue 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.
~Reply() override=default
static constexpr const char * s_prototype
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
yarp::dev::ReturnValue(*)(const yarp::dev::Nav2D::Map2DLocation &) funcptr_t
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
yarp::dev::ReturnValue return_helper
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
yarp::dev::ReturnValue(*)(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.
yarp::dev::ReturnValue return_helper
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
yarp::dev::ReturnValue(*)(const double, const double) funcptr_t
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
static constexpr const char * s_help
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
yarp::dev::ReturnValue return_helper
~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
yarp::dev::ReturnValue(*)(const double, const double, const double) funcptr_t
static constexpr size_t s_cmd_len
static constexpr const char * s_help
static constexpr const char * s_prototype
void call(INavigation2DMsgs *ptr)
~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.
yarp::dev::ReturnValue return_helper
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.
yarp::dev::ReturnValue(*)() funcptr_t
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
yarp::dev::ReturnValue return_helper
~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
yarp::dev::ReturnValue(*)() funcptr_t
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.
yarp::dev::ReturnValue 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.
~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
yarp::dev::ReturnValue(*)() funcptr_t
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.
yarp::dev::ReturnValue return_helper
~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)
yarp::dev::ReturnValue(*)(const double) funcptr_t
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
static constexpr size_t s_tag_len
INavigation2DMsgs_suspend_navigation_RPC_helper()=default
virtual yarp::dev::ReturnValue goto_target_by_absolute_location_RPC(const yarp::dev::Nav2D::Map2DLocation &loc)
virtual yarp::dev::ReturnValue goto_target_by_relative_location1_RPC(const double x, const double y)
virtual yarp::dev::ReturnValue goto_target_by_absolute_location_and_set_name_RPC(const yarp::dev::Nav2D::Map2DLocation &loc, const std::string &name)
virtual return_get_abs_loc_of_curr_target get_absolute_location_of_current_target_RPC()
virtual return_get_last_velocity_command get_last_velocity_command_RPC()
virtual yarp::dev::ReturnValue resume_navigation_RPC()
virtual return_get_current_nav_map get_current_navigation_map_RPC(const yarp::dev::Nav2D::NavigationMapTypeEnum map_type)
virtual yarp::dev::ReturnValue follow_path_RPC(const yarp::dev::Nav2D::Map2DPath &path)
virtual yarp::dev::ReturnValue apply_velocity_command_RPC(const double x_vel, const double y_vel, const double theta_vel, const double timeout)
virtual return_get_navigation_status get_navigation_status_RPC()
virtual yarp::dev::ReturnValue suspend_navigation_RPC(const double time_s)
virtual std::vector< std::string > help(const std::string &functionName="--all")
virtual return_get_current_nav_waypoint get_current_nav_waypoint_RPC()
virtual yarp::dev::ReturnValue stop_navigation_RPC()
virtual yarp::dev::ReturnValue recompute_current_navigation_path_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)
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
virtual yarp::dev::ReturnValue goto_target_by_relative_location2_RPC(const double x, const double y, const double theta)
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 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.