Comments (4)
But after I fixed /../..//dronecode_sdk it still can' t work.
That seems like a wrong way to fix it.
It seems to me like the error you see is because of #68, or because you haven't installed the protoc plugin (from
proto/pb_plugins
).Can you try with the steps described in #68? Please update your git clone before doing it, as I merged #68.
It works, thank you.
from mavsdk-python.
What does it say when you run other/tools/run_protoc.sh
?
Could it be related to the just-merged #68?
from mavsdk-python.
What does it say when you run
other/tools/run_protoc.sh
?Could it be related to the just-merged #68?
RAW output below. Some Chinese characters due to my region.
salimterryli@STL-Laptop:/media/salimterryli/dev-linux/px4/DronecodeSDK-Python$ ./other/tools/run_protoc.sh
[+] Installing the DronecodeSDK autogenerator
Processing /media/salimterryli/dev-linux/px4/DronecodeSDK-Python/proto/pb_plugins
Collecting protobuf (from protoc-gen-dcsdk==0.1)
Using cached https://files.pythonhosted.org/packages/5a/aa/a858df367b464f5e9452e1c538aa47754d467023850c00b000287750fa77/protobuf-3.7.1-cp36-cp36m-manylinux1_x86_64.whl
Collecting jinja2 (from protoc-gen-dcsdk==0.1)
Using cached https://files.pythonhosted.org/packages/1d/e7/fd8b501e7a6dfe492a433deb7b9d833d39ca74916fa8bc63dd1a4947a671/Jinja2-2.10.1-py2.py3-none-any.whl
Collecting six>=1.9 (from protobuf->protoc-gen-dcsdk==0.1)
Using cached https://files.pythonhosted.org/packages/73/fb/00a976f728d0d1fecfe898238ce23f502a721c0ac0ecfedb80e0d88c64e9/six-1.12.0-py2.py3-none-any.whl
Collecting setuptools (from protobuf->protoc-gen-dcsdk==0.1)
Using cached https://files.pythonhosted.org/packages/ec/51/f45cea425fd5cb0b0380f5b0f048ebc1da5b417e48d304838c02d6288a1e/setuptools-41.0.1-py2.py3-none-any.whl
Collecting MarkupSafe>=0.23 (from jinja2->protoc-gen-dcsdk==0.1)
Using cached https://files.pythonhosted.org/packages/b2/5f/23e0023be6bb885d00ffbefad2942bc51a620328ee910f64abe5a8d18dd1/MarkupSafe-1.1.1-cp36-cp36m-manylinux1_x86_64.whl
Installing collected packages: six, setuptools, protobuf, MarkupSafe, jinja2, protoc-gen-dcsdk
Running setup.py install for protoc-gen-dcsdk ... done
Successfully installed MarkupSafe-1.1.1 jinja2-2.10.1 protobuf-3.7.1 protoc-gen-dcsdk-0.1 setuptools-41.0.1 six-1.12.0
[+] Done
[+] Generating plugins from
-> [+] Generated protobuf and gRPC bindings for core
: program not found or is not executable
--custom_out: protoc-gen-custom: Plugin failed with status code 1.
mv: 无法获取'/media/salimterryli/dev-linux/px4/DronecodeSDK-Python/other/tools/../..//dronecode_sdk/plugins/Core.py' 的文件状态(stat): 没有那个文件或目录
-> [+] Generated plugin for core
-> [+] Generated protobuf and gRPC bindings for telemetry
: program not found or is not executable
--custom_out: protoc-gen-custom: Plugin failed with status code 1.
mv: 无法获取'/media/salimterryli/dev-linux/px4/DronecodeSDK-Python/other/tools/../..//dronecode_sdk/plugins/Telemetry.py' 的文件状态(stat): 没有那个文件或目录
-> [+] Generated plugin for telemetry
-> [+] Generated protobuf and gRPC bindings for info
: program not found or is not executable
--custom_out: protoc-gen-custom: Plugin failed with status code 1.
mv: 无法获取'/media/salimterryli/dev-linux/px4/DronecodeSDK-Python/other/tools/../..//dronecode_sdk/plugins/Info.py' 的文件状态(stat): 没有那个文件或目录
-> [+] Generated plugin for info
-> [+] Generated protobuf and gRPC bindings for offboard
: program not found or is not executable
--custom_out: protoc-gen-custom: Plugin failed with status code 1.
mv: 无法获取'/media/salimterryli/dev-linux/px4/DronecodeSDK-Python/other/tools/../..//dronecode_sdk/plugins/Offboard.py' 的文件状态(stat): 没有那个文件或目录
-> [+] Generated plugin for offboard
-> [+] Generated protobuf and gRPC bindings for param
: program not found or is not executable
--custom_out: protoc-gen-custom: Plugin failed with status code 1.
mv: 无法获取'/media/salimterryli/dev-linux/px4/DronecodeSDK-Python/other/tools/../..//dronecode_sdk/plugins/Param.py' 的文件状态(stat): 没有那个文件或目录
-> [+] Generated plugin for param
-> [+] Generated protobuf and gRPC bindings for camera
: program not found or is not executable
--custom_out: protoc-gen-custom: Plugin failed with status code 1.
mv: 无法获取'/media/salimterryli/dev-linux/px4/DronecodeSDK-Python/other/tools/../..//dronecode_sdk/plugins/Camera.py' 的文件状态(stat): 没有那个文件或目录
-> [+] Generated plugin for camera
-> [+] Generated protobuf and gRPC bindings for gimbal
: program not found or is not executable
--custom_out: protoc-gen-custom: Plugin failed with status code 1.
mv: 无法获取'/media/salimterryli/dev-linux/px4/DronecodeSDK-Python/other/tools/../..//dronecode_sdk/plugins/Gimbal.py' 的文件状态(stat): 没有那个文件或目录
-> [+] Generated plugin for gimbal
-> [+] Generated protobuf and gRPC bindings for action
: program not found or is not executable
--custom_out: protoc-gen-custom: Plugin failed with status code 1.
mv: 无法获取'/media/salimterryli/dev-linux/px4/DronecodeSDK-Python/other/tools/../..//dronecode_sdk/plugins/Action.py' 的文件状态(stat): 没有那个文件或目录
-> [+] Generated plugin for action
-> [+] Generated protobuf and gRPC bindings for mission
: program not found or is not executable
--custom_out: protoc-gen-custom: Plugin failed with status code 1.
mv: 无法获取'/media/salimterryli/dev-linux/px4/DronecodeSDK-Python/other/tools/../..//dronecode_sdk/plugins/Mission.py' 的文件状态(stat): 没有那个文件或目录
-> [+] Generated plugin for mission
-> [+] Generated protobuf and gRPC bindings for calibration
: program not found or is not executable
--custom_out: protoc-gen-custom: Plugin failed with status code 1.
mv: 无法获取'/media/salimterryli/dev-linux/px4/DronecodeSDK-Python/other/tools/../..//dronecode_sdk/plugins/Calibration.py' 的文件状态(stat): 没有那个文件或目录
-> [+] Generated plugin for calibration
[+] Done
But after I fixed /../..//dronecode_sdk
it still can' t work.
from mavsdk-python.
But after I fixed /../..//dronecode_sdk it still can' t work.
That seems like a wrong way to fix it.
It seems to me like the error you see is because of #68, or because you haven't installed the protoc plugin (from proto/pb_plugins
).
Can you try with the steps described in #68? Please update your git clone before doing it, as I merged #68.
from mavsdk-python.
Related Issues (20)
- How to manual control
- Unable to start a mission a second time HOT 3
- How to detect offboard command completion HOT 3
- One `mavsdk_server`, multiple drones HOT 2
- install mavsdk on py zero HOT 6
- "import_qgroundcontrol_mission_from_string" function not parsing the altitude correctly HOT 1
- drone.info.get_version() INFORMATION_NOT_RECEIVED_YET HOT 8
- FILE_DOES_NOT_EXIST on calling the drone.ftp.list_directory() to fetch internal directories file HOT 13
- The use of drone.offboard.set_position_ned HOT 9
- Unable to upload rally_items through MAVSDK HOT 10
- Error when uploading mission: INVALID_PARAM1 HOT 6
- `aiogrpc` RuntimeError HOT 35
- Running missions in ArduPilot HOT 12
- How to use mavsdk-python to takeoff without GPS HOT 4
- How do I use `telemetry_server` correctly? HOT 4
- Analyzing log files or Distance travelled data from mavsdk python HOT 5
- Geofence crashes with the only information being "Error" HOT 1
- connectivity HOT 5
- Support custom COMMAND_LONG listeners and be able to ACK HOT 6
- can't connect to QGC via UDP connection using mavsdk HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mavsdk-python.