Adolfo Cobo
  • Male
  • Choose State/Province
  • Spain
Share
  • Blog Posts
  • Discussions (5)
  • Groups
  • Photos
  • Photo Albums
  • Videos

Adolfo Cobo's Discussions

How to reduce CPU usage of Mavproxy

Started this discussion. Last reply by Robert Shen Mar 5. 7 Replies

Hello to all,I was using Mavproxy in a raspberry pi 2 just to send the telemetry from the pixhawk serial port to the groundstation using UDP and a WiFi link. The only other process running in the…Continue

Tags: raspberry, mavproxy

 

Adolfo Cobo's Page

Latest Activity

Adolfo Cobo replied to Guillaume Jouvet's discussion Stall (spiral of death) of a X8 Skywalker after switching to RTL
"Thank you very much Guillaume for your reply. I don't have more information about my crash. I didn't know that RTL use a different algorithm than AUTO, that could explain the problem. And thankyou for the idea of switching to a…"
Tuesday
Adolfo Cobo replied to Guillaume Jouvet's discussion Stall (spiral of death) of a X8 Skywalker after switching to RTL
"Hi Guillaume,  Did you find any insight in the cause of this crash? I have came across your post because today we had exactly the same problem with a Bormatec Maja. It was flying in FbwA almost leveled, at the speed of 20 m/s; when we switched…"
May 20
Robert Shen replied to Adolfo Cobo's discussion How to reduce CPU usage of Mavproxy
"Hi Adolfo, I have added the sleep in rc.local. In my case I put the 20 in sleep. The serial2udp.py worked well. Thanks. Best regards, Robert"
Mar 5
Fnoop replied to Adolfo Cobo's discussion How to reduce CPU usage of Mavproxy
"Check out cmavnode or mavlink-router, both are c or c++ programs that use far less cpu than mavproxy, if all you want is simple relaying of mavlink messages."
Mar 3
Adolfo Cobo replied to Adolfo Cobo's discussion How to reduce CPU usage of Mavproxy
"Hi Robert,  you cannot remove the "python" part because both mavproxy.py  and serial2udp.py are python scripts and need to be parsed by the python interpreter. If you remove "python", the script is interpreted by the…"
Mar 3
Robert Shen replied to Adolfo Cobo's discussion How to reduce CPU usage of Mavproxy
"Hi Adolfo, When I run serial2udp.py by manual, the program run better with pi zero. the command is following: pi@raspberrypi_z0:~ $ screen -d -m -s /bin/bash python /home/pi/serial2udp.py /dev/ttyAMA0 172.16.1.55 14550 Reading from serial port:…"
Mar 1
Robert Shen replied to Adolfo Cobo's discussion How to reduce CPU usage of Mavproxy
"Hi Adolfo, My usage of Mavproxy is the same as yours. Thank you for your share. I will test it and give the feedback. Best regards! Robert"
Feb 26
Adolfo Cobo replied to Adolfo Cobo's discussion How to reduce CPU usage of Mavproxy
"Hi Robert,   I am replying from memory, but I think that I just put a "return" in this piece of code of mavproxy.py: def log_writer(): '''log writing thread''' return while True: However, CPU usage…"
Feb 26
Robert Shen replied to Adolfo Cobo's discussion How to reduce CPU usage of Mavproxy
"Hi Adolfo, I met the same problem. Could you advise me how to put "return", which file involved. Many thanks. Robert"
Feb 23
Adolfo Cobo posted a discussion

How to reduce CPU usage of Mavproxy

Hello to all,I was using Mavproxy in a raspberry pi 2 just to send the telemetry from the pixhawk serial port to the groundstation using UDP and a WiFi link. The only other process running in the raspberry pi was gstreamer for FPV, and everything was working fine.Now, I have moved to a raspberry pi Zero due to weight constraints, and have noticed a huge increase in the video latency (up to 7 seconds in the Zero, was less than 200ms before) due to the Mavproxy process using about 70% of CPU…See More
Oct 11, 2016

Profile Information

Please tell us a bit about your UAV interest
just an enthusiast
Hometown:
Santander

Comment Wall

  • No comments yet!

You need to be a member of DIY Drones to add comments!

Join DIY Drones

 
 
 

© 2017   Created by Chris Anderson.   Powered by

Badges  |  Report an Issue  |  Terms of Service