Posts: 9
Threads: 1
Joined: Jan 2022
Reputation:
0
Hi all, next episode: the IR receiver and remote control arrived. I followed the procedure for record the keys of my remote control and everything looks fine. Now I tried "sudo mode2 -d /dev/lirc0" but it doesn't work. Is that because there is a lircd process already running? Is there any way for testing the remote control?
Posts: 2,220
Threads: 20
Joined: Jun 2016
Reputation:
67
It's difficult, but newer versions of lirc have issues. I have not managed to have much success, and have not found the time to debug lirc. So tinypilot uses a very old version. The pypilot hat also contains a microprocessor which can decode the IR remote so that there is no need for lirc.
Obviously you cannot have lircd running already, I would verify this is the case first of course.
Posts: 9
Threads: 1
Joined: Jan 2022
Reputation:
0
Is there any test program to check if the remote works properly? For example, when using the web console, if I use the remote can I set the "command" value?
Next step: I connected a MPU 9250 compass and in the web console I can see an heading value. How can I perform a calibration? For example, if I want to use "pypilot_boatimu" should I shutdown any service? In that case what's the best way to do it?