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

Version 0.6.0 Support? #6

Open
RamblingGeekUK opened this issue Dec 28, 2019 · 3 comments
Open

Version 0.6.0 Support? #6

RamblingGeekUK opened this issue Dec 28, 2019 · 3 comments

Comments

@RamblingGeekUK
Copy link

I want to control Vectors Mater Volume, the 0.6.0 docs mention this is possible, but you c# library is for version 0.5.1, any plans on updating ?

From the 0.6.0 SDK docs :

with anki_vector.Robot(behavior_control_level=None) as robot: robot.audio.set_master_volume(audio.RobotVolumeLevel.MEDIUM_HIGH)

FYI : Also I tried running this on Linux and it doesn't work due gRPC not being supported in C# as of yet on linux. I'm looking into this.

If you need motivation to continue with this a company called Digital Dream Labs have purchased the IP for ANKI products, so it looks like he's sticking around.

Thanks for all the hardwork.

@zaront
Copy link
Owner

zaront commented Jan 6, 2020

I've updated the gRPC to the 0.60 SDK
I've added the SetMasterVolume method

example:

await robot.Audio.SetMasterVolumeAsync(5);  //loudest volume setting

the nuget package is updated as well.

If you figure out the changes need to support Linux, I'd be happy to accept your pull request.
Or just tell me a little more about the issue and I'll look into it.

@RamblingGeekUK
Copy link
Author

RamblingGeekUK commented Jan 8, 2020

Thank you for updating and so quickly.

In respect of the gRPC issues. I'm was hoping to run on a Raspberry Pi, obviously it's ARM and not x86. This seems to be an issue in general with gRPC as currently their is no support.

image

More info here : https://dev.to/erikest/grpc-on-dotnet-core-preview3-on-raspberrypi-3-4nf4

I've had a little play around but I've not been able to get this to work... Thanks Again

@RamblingGeekUK
Copy link
Author

RamblingGeekUK commented Jan 11, 2020

Hi,

I got it working... in a way, I used this to build the libgrpc_csharp_ext.x86.so on the Pi : https://github.com/erikest/libgrpc_csharp_ext

I then copied it to the the directory it's looking in (in the screen grab above), then ran it with dotnet run --no-build, without the --no-build, it overwrites the libgprc_csharp_ext.x86.so file.

I'm not sure how to get the correct architecture lib in to the project as of yet... but may try and tackle this at some point.

Posting this here for anyone else who may be trying to do something like this.

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

No branches or pull requests

2 participants