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

Removed duplicate and fix SRF02 driver #8288

Closed

Conversation

AlexandreBorowczyk
Copy link

@AlexandreBorowczyk AlexandreBorowczyk commented Nov 14, 2017

I've remove the duplicate SRF02 driver and fix the remaining one.
I've also added a parameter to enable the driver at startup.
The driver functionality has been tested with a pixhawk and the SRF08 sensor (same interface as the SRF02).

@dagar
Copy link
Member

dagar commented Nov 14, 2017

Looks good. I'm surprised we didn't even have a mechanism to start it. Are there any notable changes to the driver itself?

@AlexandreBorowczyk
Copy link
Author

Not really, the only thing I had to do to make it work was to update the I2C address range and remove the probe() method as it's call in the I2C init() and will fail if the first address is not the right one.

@dagar
Copy link
Member

dagar commented Nov 17, 2017

There are a few more differences than I initially saw, but so far it looks fine.

Are you able to actually test this?

@AlexandreBorowczyk
Copy link
Author

Yes with a px4pilot (HK) and the srf08 sensor which was the same interface that the srf02 but was a light sensor.

@stale
Copy link

stale bot commented Jan 20, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale
Copy link

stale bot commented Feb 4, 2019

Closing as stale.

@stale stale bot closed this Feb 4, 2019
@AlexandreBorowczyk AlexandreBorowczyk deleted the fix_srf02_driver branch February 15, 2019 19:54
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.

3 participants