src/conntact/assembly_tools.py
def publish_plotted_values(self) -> None:
        """Publishes critical data for plotting node to process.
        """
        self.avg_wrench_pub.publish(self._average_wrench_world)

        self.avg_speed_pub.publish(Point(self.average_speed[0], self.average_speed[1],self.average_speed[2]))

        self.rel_position_pub.publish(self.current_pose.transform.translation)
        
        # Send a dictionary as plain text to expose some additional info
        status_dict = dict({('state', self.state), ('tcp_name', str(self.tool_data[self.activeTCP]['transform'].child_frame_id) )})
        if(self.surface_height != 0.0):
            # If we have located the work surface
            status_dict['surface_height']=str(self.surface_height)
        self.status_pub.publish(str(status_dict))
Publishes critical data for plotting node to process.
        
Publishes critical data for plotting node to process.
Publishes critical data for plotting node to process .
def publish_plotted_values(self) -> None:
        self.avg_wrench_pub.publish(self._average_wrench_world)
        self.avg_speed_pub.publish(Point(self.average_speed[0], self.average_speed[1],self.average_speed[2]))
        self.rel_position_pub.publish(self.current_pose.transform.translation)
        status_dict = dict({('state', self.state), ('tcp_name', str(self.tool_data[self.activeTCP]['transform'].child_frame_id) )})
        if(self.surface_height != 0.0):
            status_dict['surface_height']=str(self.surface_height)
        self.status_pub.publish(str(status_dict))
def publish_plotted_values ( self ) -> None : self . avg_wrench_pub . publish ( self . _average_wrench_world ) self . avg_speed_pub . publish ( Point ( self . average_speed [ 0 ] , self . average_speed [ 1 ] , self . average_speed [ 2 ] ) ) self . rel_position_pub . publish ( self . current_pose . transform . translation ) status_dict = dict ( { ( 'state' , self . state ) , ( 'tcp_name' , str ( self . tool_data [ self . activeTCP ] [ 'transform' ] . child_frame_id ) ) } ) if ( self . surface_height != 0.0 ) : status_dict [ 'surface_height' ] = str ( self . surface_height ) self . status_pub . publish ( str ( status_dict ) )
Publishes critical data for plotting node to process.
Publishes critical data for plotting node to process .
"""Publishes critical data for plotting node to process.
        """ # Send a dictionary as plain text to expose some additional info # If we have located the work surface
self