nifti_user/ocu/src/Panels/MotorControlPanel.cpp
void MotorControlPanel::onMouseDoubleClick(wxMouseEvent& event)
                {
                    desiredMotion.linear.z = EMERGENCY_BRAKE;
                    publisherCmdVel.publish(desiredMotion);
                    desiredMotion.linear.z = 0;

                    //ROS_INFO("I published [e-brake]");
                }
/**
                 * This should not be called while a publishing thread to make the robot move is running
                 * @param event
                 */
This should not be called while a publishing thread to make the robot move is running
@param event
This should not be called while a publishing thread to make the robot move is running @param event
void MotorControlPanel::onMouseDoubleClick(wxMouseEvent& event)
                {
                    desiredMotion.linear.z = EMERGENCY_BRAKE;
                    publisherCmdVel.publish(desiredMotion);
                    desiredMotion.linear.z = 0;
                }
void MotorControlPanel :: onMouseDoubleClick ( wxMouseEvent & event ) { desiredMotion . linear . z = EMERGENCY_BRAKE ; publisherCmdVel . publish ( desiredMotion ) ; desiredMotion . linear . z = 0 ; }
This should not be called while a publishing thread to make the robot move is running
 @param event
This should not be called while a publishing thread to make the robot move is running @param event
//ROS_INFO("I published [e-brake]");