Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove boost::asio from plugin code (UAS breaking) #59

Closed
vooon opened this issue Jul 20, 2014 · 11 comments
Closed

Remove boost::asio from plugin code (UAS breaking) #59

vooon opened this issue Jul 20, 2014 · 11 comments
Labels
Milestone

Comments

@vooon
Copy link
Member

vooon commented Jul 20, 2014

After removing asio from mavconn (#54) need to remove it from UAS and plugins.

@vooon vooon added this to the Versoin 0.7.0 milestone Jul 20, 2014
@vooon vooon added the plugin label Jul 20, 2014
@vooon
Copy link
Member Author

vooon commented Jul 22, 2014

List of plugins that use TimerService:

  • sys_status
  • param
  • waypoint

@vooon
Copy link
Member Author

vooon commented Jul 22, 2014

Sys_status and waypoint done. Param require some refactoring.

vooon added a commit that referenced this issue Jul 22, 2014
Also move message rx to it's own handlers.

Issue #59.
vooon added a commit that referenced this issue Jul 22, 2014
Also add some debug messages for next debugging PX4.
Issue #59.
@TSC21
Copy link
Member

TSC21 commented Jul 22, 2014

As said in #1041 from PX4 Firmware, CON goes down immediately when it enters position lock. Meaning that when it (the PX4) receives the first vision_estimate, the connection is lost. Till then it works ok!

@mhkabir
Copy link
Member

mhkabir commented Jul 23, 2014

@vooon OK, Libev seems to cause a slowdown too :(

I am streaming a message a 200Hz from PX4. On boost::asio I got the full 200 Hz rate, but with libev, it seems to get limited at ~160Hz

@vooon
Copy link
Member Author

vooon commented Jul 23, 2014

@mhkabir Can you show system load produced by ev_default_loop thread.

Use htop, F2 → Display Options → Show custom thread names.

@TSC21
Copy link
Member

TSC21 commented Jul 23, 2014

@mhkabir does the connection is also lost when your Pixhawk enters position lock?

@mhkabir
Copy link
Member

mhkabir commented Jul 23, 2014

No, but I am not using tf messages, just PoseWithCovarianceStamped @ 200Hz
update.

On Wed, Jul 23, 2014 at 8:18 PM, TSC21 notifications@github.com wrote:

@mhkabir https://github.com/mhkabir does the connection is also lost
when your Pixhawk enters position lock?


Reply to this email directly or view it on GitHub
#59 (comment).

@TSC21
Copy link
Member

TSC21 commented Jul 23, 2014

Where the hell do you get a pose estimation at that rate? :D

---Nuno MarquesAlferes Aluno de TransmissõesAluno de Mestrado em Engenharia Electrotécnica e de ComputadoresInstituto Superior Técnico | Universidade de Lisboa
+351 912 090 991Azambuja | Portugal Dreams set what you want. Actions determine what you conquer!This message and any files herewith attached may contain confidential or privileged information and is intended solely for the use of the entity to which it is addressed. If you receive this message in error, please notify the sender immediately and delete this message and any files attached without copying them in any way.

Date: Wed, 23 Jul 2014 08:53:57 -0700
From: notifications@github.com
To: mavros@noreply.github.com
CC: n.marques21@hotmail.com
Subject: Re: [mavros] Remove boost::asio from plugin code (UAS breaking) (#59)

No, but I am not using tf messages, just PoseWithCovarianceStamped @ 200Hz

update.

On Wed, Jul 23, 2014 at 8:18 PM, TSC21 notifications@github.com wrote:

@mhkabir https://github.com/mhkabir does the connection is also lost

when your Pixhawk enters position lock?

Reply to this email directly or view it on GitHub

#59 (comment).


Reply to this email directly or view it on GitHub.

@mhkabir
Copy link
Member

mhkabir commented Jul 23, 2014

Semi-direct visual odometry fused with IMU correction.

@TSC21
Copy link
Member

TSC21 commented Jul 23, 2014

Using PTAM?

@mhkabir
Copy link
Member

mhkabir commented Jul 23, 2014

SVO

On Wed, Jul 23, 2014 at 9:57 PM, TSC21 notifications@github.com wrote:

Using PTAM?


Reply to this email directly or view it on GitHub
#59 (comment).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants