动手学ros2第5章进阶篇-控制OLED-自定义消息接口
-
-
@842145248 这demo也没啥什么环境变量影响啊,咋就不行了呢

-
@842145248 代码一样你的系统是多少的,不幸就换个系统试试
-
@小鱼
嗯嗯,我再找找看,非常感谢大佬的支持No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 22.04.3 LTS Release: 22.04 Codename: jammy Linux lenovo 5.15.0-82-generic #91-Ubuntu SMP Mon Aug 14 14:14:14 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux -
@小鱼
大佬,你电脑编完后的这个目录下的文件能截个图给我吗
extra_packages/install/fishbot_interfaces/local/lib/python3.10/dist-packages/fishbot_interfaces -
fishros@fishros-linux:~/example_micoros_board/example14_custom_interface/extra_packages/install/fishbot_interfaces/local/lib/python3.10/dist-packages/fishbot_interfaces$ ll --- 总计 136 drwxr-xr-x 4 fishros fishros 4096 10月 14 16:44 ./ drwxrwxr-x 4 fishros fishros 4096 10月 14 16:44 ../ -rw-r--r-- 1 fishros fishros 11776 10月 14 16:44 _fishbot_interfaces_s.ep.rosidl_typesupport_c.c -rw-r--r-- 1 fishros fishros 11785 10月 14 16:44 _fishbot_interfaces_s.ep.rosidl_typesupport_fastrtps_c.c -rw-r--r-- 1 fishros fishros 11790 10月 14 16:44 _fishbot_interfaces_s.ep.rosidl_typesupport_introspection_c.c -rw-r--r-- 1 fishros fishros 17632 10月 14 16:44 fishbot_interfaces_s__rosidl_typesupport_c.cpython-310-x86_64-linux-gnu.so -rw-r--r-- 1 fishros fishros 17648 10月 14 16:44 fishbot_interfaces_s__rosidl_typesupport_fastrtps_c.cpython-310-x86_64-linux-gnu.so -rw-r--r-- 1 fishros fishros 17664 10月 14 16:44 fishbot_interfaces_s__rosidl_typesupport_introspection_c.cpython-310-x86_64-linux-gnu.so -rw-r--r-- 1 fishros fishros 0 10月 14 16:44 __init__.py -rw-r--r-- 1 fishros fishros 21392 10月 14 16:44 libfishbot_interfaces__rosidl_generator_py.so drwxrwxr-x 2 fishros fishros 4096 10月 14 16:44 __pycache__/ drwxr-xr-x 3 fishros fishros 4096 10月 14 16:44 srv/ -
果然,我编译出来的是
*cpython-36m-x86_64-*.so
大佬,你系统里面还有python3.6吗,我尝试卸载,卸不干净
,为什么会编python3.6啊,humble明明自带的python3.10total 136 drwxr-xr-x 4 nzb nzb 4096 10月 15 13:40 ./ drwxrwxr-x 4 nzb nzb 4096 10月 15 13:40 ../ -rw-r--r-- 1 nzb nzb 11776 10月 15 13:40 _fishbot_interfaces_s.ep.rosidl_typesupport_c.c -rw-r--r-- 1 nzb nzb 11785 10月 15 13:40 _fishbot_interfaces_s.ep.rosidl_typesupport_fastrtps_c.c -rw-r--r-- 1 nzb nzb 11790 10月 15 13:40 _fishbot_interfaces_s.ep.rosidl_typesupport_introspection_c.c -rw-r--r-- 1 nzb nzb 17632 10月 15 13:40 fishbot_interfaces_s__rosidl_typesupport_c.cpython-36m-x86_64-linux-gnu.so -rw-r--r-- 1 nzb nzb 17648 10月 15 13:40 fishbot_interfaces_s__rosidl_typesupport_fastrtps_c.cpython-36m-x86_64-linux-gnu.so -rw-r--r-- 1 nzb nzb 17664 10月 15 13:40 fishbot_interfaces_s__rosidl_typesupport_introspection_c.cpython-36m-x86_64-linux-gnu.so -rw-r--r-- 1 nzb nzb 0 10月 15 13:40 __init__.py -rw-r--r-- 1 nzb nzb 21392 10月 15 13:40 libfishbot_interfaces__rosidl_generator_py.so drwxrwxr-x 2 nzb nzb 4096 10月 15 13:40 __pycache__/ drwxr-xr-x 3 nzb nzb 4096 10月 15 13:40 srv/ -
@842145248 python --verion 你的显示什么
python3 --version
-
@小鱼
显示的python3.10刚刚我又卸载了一遍,卸载成功了,之前还剩个
python3.6-minimal没卸载掉,显示的可执行文件是/usr/bin/python3.6m, 疑惑我半天,卸载的时候没用通配符,我还以为系统自带的卸载不了。终于可以正常编译了跑起来了
,非常感谢大佬的支持

-
-
@小鱼

编译一直是这个问题,不知道怎么解决 -
@1281857896 我抽空修改下库,ghproxy挂掉了
-
@小鱼 好嘞,感谢鱼哥
-
@小鱼 鱼哥这个问题解决了吗 我这里还是这个问题 挂代理也不行
-
@2049368121 已经解决
-
@小鱼 正克隆到 '/home/everbright/Ros_Codes/MicroROS_DIY_MSG/.pio/libdeps/featheresp32/micro_ros_platformio/build/dev/src/ament_cmake'...
fatal: 无法访问 'http://github.fishros.org/https://github.com/ament/ament_cmake/':Failed to connect to github.fishros.org port 80: 拒绝连接什么问题 鱼哥
-
@847718956 你好兄弟,这个问题解决了吗?
-
X xm1735492561 在 中 引用了 这个主题
-
Processing my_esp32s3_wroom (platform: espressif32; board: esp32-s3-devkitc-1; framework: arduino)
Verbose mode can be enabled via
-v, --verboseoption
CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/esp32-s3-devkitc-1.html
PLATFORM: Espressif 32 (6.12.0) > Espressif ESP32-S3-DevKitC-1-N8 (8 MB QD, No PSRAM)
HARDWARE: ESP32S3 240MHz, 320KB RAM, 8MB Flash
DEBUG: Current (esp-builtin) On-board (esp-builtin) External (cmsis-dap, esp-bridge, esp-prog, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa)
PACKAGES:- framework-arduinoespressif32 @ 3.20017.241212+sha.dcc1105b
- tool-esptoolpy @ 2.40900.250804 (4.9.0)
- toolchain-riscv32-esp @ 8.4.0+2021r2-patch5
- toolchain-xtensa-esp32s3 @ 8.4.0+2021r2-patch5
LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Installing importlib-resources with pip at PlatformIO environment
/home/ros2/.platformio/penv/bin/python -m pip install importlib-resources
Requirement already satisfied: importlib-resources in /home/ros2/.platformio/penv/lib/python3.10/site-packages (6.5.2)
Installing pyyaml with pip at PlatformIO environment
/home/ros2/.platformio/penv/bin/python -m pip install pyyaml
Requirement already satisfied: pyyaml in /home/ros2/.platformio/penv/lib/python3.10/site-packages (6.0.3)
Installing markupsafe==2.0.1 with pip at PlatformIO environment
/home/ros2/.platformio/penv/bin/python -m pip install markupsafe==2.0.1
Requirement already satisfied: markupsafe==2.0.1 in /home/ros2/.platformio/penv/lib/python3.10/site-packages (2.0.1)
Configuring esp32-s3-devkitc-1 with transport wifi
Downloading micro-ROS dev dependencies
ament_cmake clone failed:
正克隆到 '/home/ros2/my_bot/my_bot_esp32/my_bot_ws/.pio/libdeps/my_esp32s3_wroom/micro_ros_platformio/build/dev/src/ament_cmake'...
fatal: 无法访问 'http://github.fishros.org/https://github.com/ament/ament_cmake/':Could not resolve host: github.fishros.org
小鱼,拉去不到镜像,怎么办

