Open RamblingGeekUK opened 4 years ago
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.
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.
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
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.
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.