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

logger move to uORB::SubscriptionInterval #12123

Merged
merged 2 commits into from
Aug 7, 2019

Conversation

dagar
Copy link
Member

@dagar dagar commented May 30, 2019

Requires a higher level design review and #12040 before merging.

@dagar
Copy link
Member Author

dagar commented Jun 5, 2019

@PX4/testflights could you give this an initial flight test?

@jorge789
Copy link

jorge789 commented Jun 5, 2019

Tested on Pixhawk 4 V5

Modes Tested

Position Mode: Good.
Altitude Mode: Good.
Stabilized Mode: Good.
Mission Plan Mode (Automated): Good.
RTL: Good.

- Procedure
Arm and Take off in position mode, after flying for approximately one minute, switched to altitude then stabilized mode proceed to switch to mission plan mode then make sure that vehicle follows all waypoints as shown in QGC, once completed all waypoin activate RTL and see landing behaviour.

Notes:
No issues noted, good flight in general.

Logs:
https://review.px4.io/plot_app?log=8653da75-a92a-4c73-98ec-e274a611947c

https://review.px4.io/plot_app?log=dc323f18-7838-47ff-986a-2c43c3d6be60

Comparison to master
https://review.px4.io/plot_app?log=f3bf829a-b204-444e-be36-77dab0d1fcb9

@dagar
Copy link
Member Author

dagar commented Jun 6, 2019

@Tony3dr @jorge789 those logs seem to be from #12162. Can you try again with the current state of this PR? Thanks.

@dagar dagar force-pushed the pr-logger_subscription branch from 0f3a4c6 to d7e74a2 Compare June 6, 2019 01:19
@Tony3dr
Copy link

Tony3dr commented Jun 6, 2019

@Tony3dr @jorge789 those logs seem to be from #12162. Can you try again with the current state of this PR? Thanks.

@dagar thanks for pointing that out, we will test the PR today.

@jorge789
Copy link

jorge789 commented Jun 6, 2019

Tested on Pixhawk 2 Cube V3:

Modes Tested

Position Mode: Good.
Altitude Mode: Good.
Stabilized Mode: Good.
Mission Plan Mode (Automated): Good.
RTL: Good.

- Procedure
Arm and Take off in position mode, after flying for approximately one minute, switched to altitude then stabilized mode proceed to switch to mission plan mode then make sure that vehicle follows all waypoints as shown in QGC, once completed all waypoin activate RTL and see landing behaviour.

Notes:
No issues noted, good flight in general.
Logs
https://review.px4.io/plot_app?log=170541f1-b7d5-4825-85e3-69a723d88945

Comparison to master
https://review.px4.io/plot_app?log=b31999c2-52eb-40e0-a440-a9c510e05ab8

@dannyfpv
Copy link

dannyfpv commented Jun 6, 2019

Tested on Pixhawk 4 V5 f-450
Modes Tested

Position Mode: no issue
Altitude Mode: no issue
Stabilized Mode: no issue
Mission Plan Mode: : no issue
RTL: no issue

Notes:
No issues noted, good flight in general.

PR log:
https://review.px4.io/plot_app?log=ad5bf2db-4a36-4ab8-b253-23776d01e5e2

pr log 08/05/19 no issues:
https://review.px4.io/plot_app?log=a8da628f-165b-4c7b-812d-ca3115d12007

Master log:
https://review.px4.io/plot_app?log=0c295146-ffb9-4920-8821-bf2c3141ff15

@dagar
Copy link
Member Author

dagar commented Jun 7, 2019

Thanks for the early test. This still needs more work.

@Junkim3DR
Copy link

Junkim3DR commented Jun 7, 2019

Tested on Pixhawk 4 mini v5

Modes Tested

  • Position Mode: Good.
  • Altitude Mode: Good.
  • Stabilized Mode: Good.
  • Mission Plan Mode (Automated): Good.
  • RTL: Good.

Procedure
Arm and Take off in position mode, after flying for approximately one minute, switched to altitude then stabilized mode proceed to switch to mission plan mode then make sure that vehicle follows all waypoints as shown in QGC, once completed all waypoin activate RTL and see landing behaviour.

Notes:
No issues noted, good flight in general.

Logs:
PR 12123

Master

@dagar dagar force-pushed the pr-logger_subscription branch from d7e74a2 to 5d29ab0 Compare June 7, 2019 18:59
@dagar dagar force-pushed the pr-logger_subscription branch 3 times, most recently from 8065959 to 85a9575 Compare June 8, 2019 17:45
@dagar
Copy link
Member Author

dagar commented Jun 8, 2019

Ready for review and testing.

@dagar dagar marked this pull request as ready for review June 8, 2019 18:27
@dagar dagar changed the title [WIP] logger move to new uORB::Subscription logger move to new uORB::Subscription Jun 8, 2019
@dagar dagar force-pushed the pr-logger_subscription branch from 85a9575 to 7928d6c Compare June 8, 2019 19:07
@bkueng
Copy link
Member

bkueng commented Aug 5, 2019

Can you please separate the commits better? For example the _ulog_stream_pub change is independent from the rest.

@dagar
Copy link
Member Author

dagar commented Aug 5, 2019

@jorge789 those are the logs for #12224

@jorge789
Copy link

jorge789 commented Aug 5, 2019

@jorge789 those are the logs for #12224

Thanks for the observation, I got an error when I opened Jenkins and just proceeded to reload, that might have been the issue.

@Junkim3DR
Copy link

Tested on Pixhawk Pro v4

Modes Tested

  • Position Mode: Good.
  • Altitude Mode: Good.
  • Stabilized Mode: Good.
  • Mission Plan Mode (Automated): Good.
  • RTL: Good.

Procedure
Arm and Take off in position mode, after flying for approximately one minute, switched to altitude then stabilized mode proceed to switch to mission plan mode then make sure that vehicle follows all waypoints as shown in QGC, once completed all waypoin activate RTL and see landing behaviour.

Notes:
No issues noted, good flight in general.

Logs:

Tested on Pixhawk 4 mini v5

Modes Tested

  • Position Mode: Good.
  • Altitude Mode: Good.
  • Stabilized Mode: Good.
  • Mission Plan Mode (Automated): Good.
  • RTL: Good.

Procedure
Arm and Take off in position mode, after flying for approximately one minute, switched to altitude then stabilized mode proceed to switch to mission plan mode then make sure that vehicle follows all waypoints as shown in QGC, once completed all waypoin activate RTL and see landing behaviour.

Notes:
No issues noted, good flight in general.

Logs:

Tested on NXP FMUK66 v3

Modes Tested

  • Position Mode: Good.
  • Altitude Mode: Good.
  • Stabilized Mode: Good.
  • Mission Plan Mode (Automated): Good.
  • RTL: Good.

Procedure
Arm and Take off in position mode, after flying for approximately one minute, switched to altitude then stabilized mode proceed to switch to mission plan mode then make sure that vehicle follows all waypoints as shown in QGC, once completed all waypoin activate RTL and see landing behaviour.

Notes:
No issues noted, good flight in general.

Logs:

@dagar dagar force-pushed the pr-logger_subscription branch from 4f9d5a1 to 8813430 Compare August 6, 2019 05:43
@dagar
Copy link
Member Author

dagar commented Aug 6, 2019

Can you please separate the commits better? For example the _ulog_stream_pub change is independent from the rest.

I can bring that in separately if it helps.

@bkueng
Copy link
Member

bkueng commented Aug 6, 2019

Separate commits is enough.

@dagar dagar force-pushed the pr-logger_subscription branch from 8813430 to 9d3b839 Compare August 6, 2019 15:13
@dagar
Copy link
Member Author

dagar commented Aug 6, 2019

Rebased on master with the other pieces merged.

@dagar dagar force-pushed the pr-logger_subscription branch from 9d3b839 to f632bbc Compare August 7, 2019 02:21
Copy link
Member

@bkueng bkueng left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One detail, otherwise good to merge.

src/modules/logger/logger.cpp Outdated Show resolved Hide resolved
src/modules/logger/logger.cpp Outdated Show resolved Hide resolved
@dagar dagar merged commit 83e532d into PX4:master Aug 7, 2019
@dagar dagar deleted the pr-logger_subscription branch August 7, 2019 15:02
bkueng added a commit that referenced this pull request Aug 21, 2019
With #12123 all multi-instance topics
lead to repeated format definitions in the ULog file.
dagar pushed a commit that referenced this pull request Aug 21, 2019
With #12123 all multi-instance topics
lead to repeated format definitions in the ULog file.
bozkurthan pushed a commit to bozkurthan/Firmware that referenced this pull request Sep 4, 2019
bozkurthan pushed a commit to bozkurthan/Firmware that referenced this pull request Sep 4, 2019
With PX4#12123 all multi-instance topics
lead to repeated format definitions in the ULog file.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants