beagleboard / librobotcontrol

Robotics Focused library for embedded Linux computers. Mirror of https://git.beagleboard.org/beagleboard/librobotcontrol
https://beagleboard.org/librobotcontrol
MIT License
194 stars 154 forks source link

rc_project_template working but printf messages not displayed #178

Closed JLouis47 closed 4 years ago

JLouis47 commented 4 years ago

The renamed "rc_project_template.c" is running perfectly on my Robotics Cape, which is networked to a linux PC over USB and putty. I am able to start and stop the blinking LEDs with the Pause button, and stop the executable from running with the "systemctl stop robotcontrol" command, per your excellent instructions.
The printf comments inside the program, however, are not displayed in my terminal window on the linux PC. I tried "include and using cout in place of printf, but nothing worked.
If I run other examples, like rc_test_encoders, the text appears in my terminal as expected. Any ideas? Thank you.

JLouis47 commented 4 years ago

Solution: please use "sudo" before "systemctl start robotcontrol". Text will appear instructing usage of pause button as programmed in the while loop.