Skip to content

Channel Overrides Error - Vehicle object has no attribute '_Vehicle__rc' #415

Closed

Description

@franknitty69

When running the example, Channel Overrides, the script fails.

OS: OSX
Dronekit: 2.0.0rc7
channel_ovverides.py: 2015/11/04

steps to reproduce

  1. python channel_overrides.py --connect=127.0.0.1:14550

result
Overriding RC channels for roll and yaw
Traceback (most recent call last):
File "/Users/nyce/Documents/GitHub/dronekit-python/examples/channel_overrides/channel_overrides.py", line 35, in
vehicle.channel_override = { "1" : 900, "4" : 1000 }
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/dronekit/lib/init.py", line 993, in channel_override
overrides = self.__rc.override
AttributeError: 'Vehicle' object has no attribute '_Vehicle__rc'

expected results
Current overrides and defaults should be displayed

Activity

  1. tcr3dr commented on Nov 4, 2015

    @tcr3dr
    Contributor

    Thanks for filing this issue @franknitty69. Related: #358

    RC support isn't in rc7, but should be reimplemented shortly in another rc.

  2. tcr3dr commented on Nov 6, 2015

    @tcr3dr
    Contributor

    See #427.

  3. modified the milestone: v2.0.0 on Nov 10, 2015
  4. tcr3dr commented on Nov 11, 2015

    @tcr3dr
    Contributor

    Fixed as of #427.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions