MAVSDK-Python: Offboard Mode Problem (status = StatusCode.UNIMPLEMENTED)
Hello I’ tried to switch offboard mode from examples/offboard.py by running examples/offboard.py
in PX4 Sitl gazebo v1.9.0.
But I got following error:
bozkurthan@bozkurthan:~/Desktop/MAVSDK-Python-master$ python3 examples/offboard.py
-- Arming
-- Setting initial setpoint
Traceback (most recent call last):
File "examples/offboard.py", line 217, in <module>
loop.run_until_complete(run_offb_ctrl_velocity_ned())
File "/usr/lib/python3.6/asyncio/base_events.py", line 484, in run_until_complete
return future.result()
File "examples/offboard.py", line 38, in run_offb_ctrl_velocity_ned
await drone.offboard.set_velocity_ned(VelocityNEDYaw(0.0, 0.0, 0.0, 0.0))
File "/home/bozkurthan/.local/lib/python3.6/site-packages/mavsdk/plugins/offboard.py", line 704, in set_velocity_ned
response = await self._stub.SetVelocityNed(request)
File "/home/bozkurthan/.local/lib/python3.6/site-packages/aiogrpc/channel.py", line 40, in __call__
return await fut
grpc._channel._Rendezvous: <_Rendezvous of RPC that terminated with:
status = StatusCode.UNIMPLEMENTED
details = ""
debug_error_string = "{"created":"@1561876519.775117151","description":"Error received from peer ipv4:127.0.0.1:50051","file":"src/core/lib/surface/call.cc","file_line":1046,"grpc_message":"","grpc_status":12}"
>
I tried to run with python3 examples/offboard.py
as well but same error appeared. examples/takeoff_and_land.py worked without error.
By the way, I installed MAVSDK with pip3.
Thanks for helping
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 15 (1 by maintainers)
Thanks to both of you my little iris’ running sweetly. I’m closing issue thanks for fixing. @irsdkv @JonasVautherin
Oh god, absolutely no 😅 Thanks for kindly responding. I didn’t look at the instruction. I think I need some rest 😥
By calling
setup.py
, you’re trying to package it. But I guess you don’t want to release a new package, you just want to buildmaster
😅 . Just try to follow “build and run from sources”.No you’re actually right, it’s not working with offboard. Let me make a new release today 👍.