Package rqt_joint_trajectory_controller :: Module joint_trajectory_controller :: Class JointTrajectoryController
[frames] | no frames]

Class JointTrajectoryController

source code

       object --+                
                |                
sip.simplewrapper --+            
                    |            
          sip.wrapper --+        
                        |        
     PyQt5.QtCore.QObject --+    
                            |    
         qt_gui.plugin.Plugin --+
                                |
                               JointTrajectoryController

Graphical frontend for a JointTrajectoryController.

There are two modes for interacting with a controller:

  1. Monitor mode Joint displays are updated with the state reported by the controller. This is a read-only mode and does not send control commands. Every time a new controller is selected, it starts in monitor mode for safety reasons.
  2. Control mode Joint displays update the control command that is sent to the controller. Commands are sent periodically evan if the displays are not being updated by the user.

To control the aggressiveness of the motions, the maximum speed of the sent commands can be scaled down using the Speed scaling control

This plugin is able to detect and keep track of all active controller managers, as well as the JointTrajectoryControllers that are running in each controller manager. For a controller to be compatible with this plugin, it must comply with the following requisites:

Additionally, there must be a URDF loaded with a valid joint limit specification, namely position (when applicable) and velocity limits.

A reference implementation of the JointTrajectoryController is available in the joint_trajectory_controller ROS package.

Instance Methods
 
jointStateChanged(...) source code
 
__init__(self, context)
Instantiate the plugin and pass the `PluginContext`.
source code
 
shutdown_plugin(self)
Shutdown and clean up the plugin before unloading.
source code
 
save_settings(self, plugin_settings, instance_settings)
Save the intrinsic state of the plugin to the plugin-specific or instance-specific `Settings`.
source code
 
restore_settings(self, plugin_settings, instance_settings)
Restore the intrinsic state of the plugin from the plugin-specific or instance-specific `Settings`.
source code

Inherited from PyQt5.QtCore.QObject: __getattr__, blockSignals, childEvent, children, connectNotify, customEvent, deleteLater, destroyed, disconnect, disconnectNotify, dumpObjectInfo, dumpObjectTree, dynamicPropertyNames, event, eventFilter, findChild, findChildren, inherits, installEventFilter, isSignalConnected, isWidgetType, isWindowType, killTimer, metaObject, moveToThread, objectName, objectNameChanged, parent, property, pyqtConfigure, receivers, removeEventFilter, sender, senderSignalIndex, setObjectName, setParent, setProperty, signalsBlocked, startTimer, thread, timerEvent, tr

Inherited from sip.simplewrapper: __new__

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables

Inherited from PyQt5.QtCore.QObject: staticMetaObject

Properties

Inherited from object: __class__

Method Details

__init__(self, context)
(Constructor)

source code 

Instantiate the plugin and pass the `PluginContext`.

Overrides: object.__init__
(inherited documentation)

shutdown_plugin(self)

source code 

Shutdown and clean up the plugin before unloading.

Overrides: qt_gui.plugin.Plugin.shutdown_plugin
(inherited documentation)

save_settings(self, plugin_settings, instance_settings)

source code 

Save the intrinsic state of the plugin to the plugin-specific or instance-specific `Settings`.

Parameters:
  • plugin_settings - The plugin-specific settings
  • instance_settings - The instance-specific settings
Overrides: qt_gui.plugin.Plugin.save_settings
(inherited documentation)

restore_settings(self, plugin_settings, instance_settings)

source code 

Restore the intrinsic state of the plugin from the plugin-specific or instance-specific `Settings`.

Parameters:
  • plugin_settings - The plugin-specific settings
  • instance_settings - The instance-specific settings
Overrides: qt_gui.plugin.Plugin.restore_settings
(inherited documentation)