Class RosThread

Inheritance Relationships

Base Type

  • public QThread

Class Documentation

class RosThread : public QThread

Public Functions

RosThread(int argc, char **argv)
void shutdown()

Signals

void connected(bool)

Emitted every time we are successfully connected to or disconnected from ROS.

void logReceived(rcl_interfaces::msg::Log::ConstSharedPtr msg)

Emitted every time a log message is received. This can be emitted multiple times per spin of the ROS core; wait until spun() is emitted to do any processing on them.

void spun()

Emitted after every time ros::spinOnce() completes.

Protected Functions

void run() override