Class RemoteControl
Defined in File remote_control.hpp
Class Documentation
-
class RemoteControl
Public Functions
Constructor for passing in NodeOptions.
- Parameters:
executor – - An rclcpp executor
node – - A node
-
template<typename NodePtr>
inline explicit RemoteControl(NodePtr node) Constructor for passing in a Node.
- Parameters:
node – - A node
Constructor for passing in Node components for a node that is already added to an executor.
- Parameters:
topics_iterface – - An interface for publishing and subscribing to topics
logging_iterface – - An interface for publishing to the rosconsole
Callback from ROS topic.
-
bool getAutonomous()
Get the autonomous mode.
- Returns:
true if is in autonomous mode
-
bool getFullAutonomous()
-
bool getStop()
See if we are in stop mode.
-
bool waitForNextStep(const std::string &caption = "go to next step")
Wait until user presses a button.
- Returns:
true on success
-
bool waitForNextFullStep(const std::string &caption = "go to next full step")
-
inline void setDisplayWaitingState(DisplayWaitingState displayWaitingState)