Skip to content

Commit bb5f69e

Browse files
committed
remove get_machine_status stuff
1 parent 0c5bff0 commit bb5f69e

File tree

2 files changed

+0
-23
lines changed

2 files changed

+0
-23
lines changed

src/viam/sdk/robot/client.cpp

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -355,16 +355,5 @@ void RobotClient::stop_all(const std::unordered_map<Name, ProtoStruct>& extra) {
355355
}
356356
}
357357

358-
// RobotClient::status RobotClient::get_machine_status() const {
359-
// robot::v1::GetMachineStatusResponse resp;
360-
// resp.config();
361-
// return make_client_helper(this, *impl_->stub_, &StubType::GetMachineStatus)
362-
//.invoke([](auto& response) {
363-
// switch (response.state) {
364-
// case
365-
// }
366-
// });
367-
//}
368-
369358
} // namespace sdk
370359
} // namespace viam

src/viam/sdk/robot/client.hpp

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,6 @@ namespace sdk {
3434
/// `with_channel` require a user call to `close()`.
3535
class RobotClient {
3636
public:
37-
/// @enum status
38-
/// @brief the current status of the robot
39-
/// @ingroup Robot
40-
// enum class status : uint8_t {
41-
// k_initializing,
42-
// k_running,
43-
// k_unspecified,
44-
//};
45-
4637
struct frame_system_config {
4738
WorldState::transform frame;
4839
ProtoStruct kinematics;
@@ -141,9 +132,6 @@ class RobotClient {
141132
/// @param id The ID of the operation to cancel.
142133
void cancel_operation(std::string id);
143134

144-
/// @brief gets the current status of the machine
145-
// status get_machine_status() const;
146-
147135
private:
148136
std::vector<std::shared_ptr<std::thread>> threads_;
149137
std::atomic<bool> should_refresh_;

0 commit comments

Comments
 (0)