Skip to content

Commit

Permalink
add convinience initRobotName(const std::string& name)
Browse files Browse the repository at this point in the history
  • Loading branch information
planthaber committed Oct 17, 2024
1 parent 1cc57e9 commit 602afe2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/ControlledRobot/ControlledRobot.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,11 @@ class ControlledRobot: public UpdateThread {
int initRobotName(const RobotName& telemetry) {
return sendTelemetry(telemetry, ROBOT_NAME, true, 0);
}
int initRobotName(const std::string& name){
RobotName msg;
msg.set_value(name);
return initRobotName(msg);
}

/**
* @brief submit the video strem urls
Expand Down

0 comments on commit 602afe2

Please sign in to comment.