Skip to content

Error with MAV_CMD_LOGGING_START and STOP #9590

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

Open
pfrck opened this issue Jun 4, 2018 · 4 comments
Open

Error with MAV_CMD_LOGGING_START and STOP #9590

pfrck opened this issue Jun 4, 2018 · 4 comments
Labels
bug stale Tools Sub-tools used within PX4 ecosystem (scripts, etc)

Comments

@pfrck
Copy link

pfrck commented Jun 4, 2018

So I'm getting this whenever I try to run mavlink_ulog_streaming.py:

Connecting to MAVLINK...
Starting log...
Traceback (most recent call last):
  File "Y:/testbench/2.1.3/mavlink_ulog_streaming.py", line 267, in <module>
    main()
  File "Y:/testbench/2.1.3/mavlink_ulog_streaming.py", line 255, in main
    mav_log_streaming.start_log()
  File "Y:/testbench/2.1.3/mavlink_ulog_streaming.py", line 59, in start_log
    mavutil.mavlink.MAV_CMD_LOGGING_START, 0,
AttributeError: 'module' object has no attribute 'MAV_CMD_LOGGING_START'

It looks like I don't have the related command specified in mavlink or mavutil. I didn't find anything similar to this and my bad if I didn't search enough but I could use some help there.

@bkueng
Copy link
Member

bkueng commented Jun 4, 2018

Most likely your pymavlink is not up to date. Can you try updating it?

@pfrck pfrck closed this as completed Jun 5, 2018
@pfrck pfrck reopened this Jun 5, 2018
@pfrck
Copy link
Author

pfrck commented Jun 5, 2018

Well thought it was resolved by upgrading pymavlink to version 2.2.8 but now I'm getting this:

COMMAND_ACK {command : 2510, result : 3}

which means that the command 2510 MAV_CMD_LOGGING_START is unsupported (result: 3).

@GitRevisionGandalf
Copy link

@bkueng and @pfrck ,

Hi,
@pfrck , did you resolve the issue?

I am also facing the same issue mentioned first (no attribute called MAV_CMD_LOGGING_START). I did try fresh install of pymavlink (pip install pymavlink). However, my error remains the same. I did not get the 2510 error.

What else could be the problem? Any ideas?

@stale stale bot closed this as completed Jul 9, 2019
@PX4 PX4 deleted a comment from stale bot Jul 9, 2019
@PX4 PX4 deleted a comment from stale bot Jul 9, 2019
@PX4 PX4 deleted a comment from stale bot Jul 9, 2019
@julianoes julianoes reopened this Jul 9, 2019
@stale stale bot removed the Admin: Wont fix label Jul 9, 2019
@julianoes julianoes added bug Tools Sub-tools used within PX4 ecosystem (scripts, etc) labels Jul 9, 2019
@stale
Copy link

stale bot commented Oct 7, 2019

This issue has been automatically marked as stale because it has not had recent activity. Thank you for your contributions.

@stale stale bot added the stale label Oct 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug stale Tools Sub-tools used within PX4 ecosystem (scripts, etc)
Projects
None yet
Development

No branches or pull requests

4 participants