NiryoRos

The NiryoRos class inherits the attributes and functions of roslibpy.Ros. It allows the connection of the program to the ROS Master of the robot via roslibpy. It adds an overlay to manage the versions of the robot and a recognition of the API by the robot which is necessary for the use of certain functions.

class NiryoRos(ip_address='127.0.0.1', port=9090)[source]
close()[source]

Disconnect from ROS.

terminate()[source]

Signals the termination of the main event loop.

property hardware_version

Get the hardware version of the robot (one, ned, ned2)

Returns:

The hardware version of the robot (one, ned, ned2)

Return type:

str

exception NiryoRosTimeoutException[source]