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

New asctec ESC i2c protocol #1416

Merged
merged 1 commit into from
Nov 16, 2015
Merged

New asctec ESC i2c protocol #1416

merged 1 commit into from
Nov 16, 2015

Conversation

EwoudSmeur
Copy link
Member

The i2c protocol to communicate with asctec escs has changed. The escs are still called v2, so I am not sure if I should make an actuators_asctec_v2_new.c file with another settings file, or make a define that switches between protocols within the actuators_asctec_v2.c file. What is preferred?

@flixr
Copy link
Member

flixr commented Nov 11, 2015

Not sure if it is needed or desirable, but if we add the new protocol in separate files/subsystem it will be possible to use both old and new versions of the controllers at the same time...

@fvantienen
Copy link
Member

I would vote for seperate files/subsystem. Not sure about the naming of it.

Small fix in the code: at switch case 4 of set_addres the variable set_address should be set to 0 again. This fixes the problem of needing to reboot the drone to set each address.

@fvantienen
Copy link
Member

Seems ok for me to merge

@flixr flixr added this to the v5.8 milestone Nov 16, 2015
flixr added a commit that referenced this pull request Nov 16, 2015
New asctec ESC i2c protocol
@flixr flixr merged commit 5ddfb33 into paparazzi:master Nov 16, 2015
@EwoudSmeur EwoudSmeur deleted the mavshot branch August 5, 2016 18:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants