If i uncommented create_send_msg() in send_all_angles() the program gets to braccio.init_arm() and stops. The robot arm does not move tho.
Without send_all_angles() or without create_send_msg() inside of send_all_angles() the program runs just fine. All functions work. Thats the best way i can describe the problem for now.
send_all_angles() is not being called and the problem still occures.
The problem is the arudino is reseting and sending garbage over the serial and not running through the program passed braccio.init_arm() which works just fine if send_all_angles() isnt in the program.