This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
New tinypilot project
#11
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?
Reply
#12
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.
Reply
#13
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?
Reply
#14
You can program the rf remote from the web. Typically it runs on port 33333. So for example http://localhost:33333

pypilot_boatimu is a stripped down version that does not support a full autopilot, only imu. You can also just run the pypilot service and get the same results. If you can install the script:
git clone https://github.com/pypilot/openplotter-pypilot

It should give options to enable/disable the various services of pypilot.
Reply
#15
I'm in the way to build my own too based on:

https://github.com/AndreasW29/pypilot-ti.../find/main
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)