Skip to content
Snippets Groups Projects
Select Git revision
  • a25b86192d1387760fa423a904e3573cb41d1cc7
  • master default protected
  • v0.5
  • v0.4
  • v0.3.1
  • v0.3
  • v0.2.3
  • v0.2.2
  • v0.2.0
  • v0.1.2
  • v0.1.1
  • v0.1.0
  • v0.0.1
13 results

run-tests.py

Blame
  • motion_execution.py 755 B
    #!/usr/bin/env python3
    # Motion Execution Node
    
    import sys
    import moveit_commander
    import rospy
    
    def go_to_home(move_group):
        # Implementation remains the same
        pass
    
    def main():
        moveit_commander.roscpp_initialize(sys.argv)
        rospy.init_node("motion_execution_node", anonymous=True)
    
        move_group = moveit_commander.MoveGroupCommander("panda_arm")
    
        # Execution functionality here
    
    if __name__ == "__main__":
        try:
            main()
        except rospy.ROSInterruptException:
            pass
        except KeyboardInterrupt:
            # Handle any additional cleanup here
            print("Shutdown requested...exiting")
        finally:
            # Optional: additional cleanup actions
            print("Performing final cleanup actions before node shutdown.")