Welcome new user! You can search existing questions and answers without registering, but please register to post new questions and receive answers. Note that due to large amounts of spam attempts, your first three posts will be manually moderated, so please be patient.

Headless mode not sending serial output for Python modules.

0 votes
I'm trying to output serial messages when in headless mode with a Python script, but it doesn't show up in the console. I've tried it with the demo PythonTest module that is supposed to output frames via serial, but that doesn't show up either. Why is this happening and how can I fix it?
asked Nov 24, 2019 in Programmer Questions by jovlett (120 points)

1 Answer

0 votes

http://jevois.org/tutorials/UserHeadless.html Provides the basic outline of how to operate in the headless mode. (use setmapping2 instead of setmapping. setmapping2 is meant specifically for going headless).
One special case when you may not get any serial messages from jevois is if you try to send non-string characters, as in, if you send an array which does not contain ascii values corresponding to alphabets of numbers (It didn't work for me in C++ so I see no reason why it would work in python).

answered Dec 3, 2019 by sidharth (250 points)
...