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

make px4_sitl_rtps error #20418

Open
mengchaoheng opened this issue Oct 16, 2022 · 0 comments
Open

make px4_sitl_rtps error #20418

mengchaoheng opened this issue Oct 16, 2022 · 0 comments

Comments

@mengchaoheng
Copy link

Describe the bug

/usr/bin/python3: Error while finding module specification for 'symforce.symbolic' (ModuleNotFoundError: No module named 'symforce')

To Reproduce

Steps to reproduce the behavior:

  1. in new main branch.
  2. make px4_sitl_rtps
  3. See error

Expected behavior

mch@mch-desktop:~/PX4-Autopilot$ make distclean
mch@mch-desktop:~/PX4-Autopilot$ git submodule update --init --recursive 
Submodule 'Tools/flightgear_bridge' (https://github.com/PX4/PX4-FlightGear-Bridge.git) registered for path 'Tools/simulation/flightgear/flightgear_bridge'
Submodule 'Tools/simulation/gazebo/sitl_gazebo' (https://github.com/PX4/PX4-SITL_gazebo.git) registered for path 'Tools/simulation/gazebo/sitl_gazebo'
Submodule 'Tools/simulation/jmavsim/jMAVSim' (https://github.com/PX4/jMAVSim.git) registered for path 'Tools/simulation/jmavsim/jMAVSim'
Submodule 'Tools/simulation/jsbsim/jsbsim_bridge' (https://github.com/PX4/px4-jsbsim-bridge.git) registered for path 'Tools/simulation/jsbsim/jsbsim_bridge'
Submodule 'platforms/nuttx/NuttX/apps' (https://github.com/PX4/NuttX-apps.git) registered for path 'platforms/nuttx/NuttX/apps'
Submodule 'platforms/nuttx/NuttX/nuttx' (https://github.com/PX4/NuttX.git) registered for path 'platforms/nuttx/NuttX/nuttx'
Submodule 'src/drivers/cyphal/legacy_data_types' (https://github.com/PX4/public_regulated_data_types.git) registered for path 'src/drivers/cyphal/legacy_data_types'
Submodule 'src/drivers/cyphal/libcanard' (https://github.com/opencyphal/libcanard.git) registered for path 'src/drivers/cyphal/libcanard'
Submodule 'src/drivers/cyphal/public_regulated_data_types' (https://github.com/opencyphal/public_regulated_data_types.git) registered for path 'src/drivers/cyphal/public_regulated_data_types'
Submodule 'src/drivers/gps/devices' (https://github.com/PX4/PX4-GPSDrivers.git) registered for path 'src/drivers/gps/devices'
Submodule 'src/drivers/uavcan/libuavcan' (https://github.com/dronecan/libuavcan.git) registered for path 'src/drivers/uavcan/libuavcan'
Submodule 'src/lib/crypto/libtomcrypt' (https://github.com/PX4/libtomcrypt.git) registered for path 'src/lib/crypto/libtomcrypt'
Submodule 'src/lib/crypto/libtommath' (https://github.com/PX4/libtommath.git) registered for path 'src/lib/crypto/libtommath'
Submodule 'src/lib/crypto/monocypher' (https://github.com/PX4/Monocypher.git) registered for path 'src/lib/crypto/monocypher'
Submodule 'src/lib/events/libevents' (https://github.com/mavlink/libevents.git) registered for path 'src/lib/events/libevents'
Submodule 'src/modules/mavlink/mavlink' (https://github.com/mavlink/mavlink.git) registered for path 'src/modules/mavlink/mavlink'
Submodule 'src/modules/microdds_client/Micro-XRCE-DDS-Client' (https://github.com/eProsima/Micro-XRCE-DDS-Client.git) registered for path 'src/modules/microdds_client/Micro-XRCE-DDS-Client'
Submodule 'src/modules/micrortps_bridge/micro-CDR' (https://github.com/PX4/Micro-CDR.git) registered for path 'src/modules/micrortps_bridge/micro-CDR'
Submodule path 'Tools/simulation/flightgear/flightgear_bridge': checked out 'f47ce7b5fbbb3aa43d33d2be1f6cd3746b13d5bf'
Submodule path 'Tools/simulation/flightgear/flightgear_bridge/models/Rascal': checked out 'cbdb2fc7dd44331da1dcd04a891ed7f8c27b1ef0'
Submodule path 'Tools/simulation/flightgear/flightgear_bridge/models/TF-G1': checked out 'fdb6dd685f55097230c0eb29aa7e9f5b8d0abf1e'
Submodule path 'Tools/simulation/flightgear/flightgear_bridge/models/TF-G2': checked out '99529413531106836f4303c5389928a4fef04b05'
Submodule path 'Tools/simulation/flightgear/flightgear_bridge/models/TF-R1': checked out '158e429a0110589b1e2adfe868e166271470e144'
Submodule path 'Tools/simulation/gazebo/sitl_gazebo': checked out 'e80432759540c91f85a012f47aa6ebb0ee9de7e4'
Submodule path 'Tools/simulation/gazebo/sitl_gazebo/external/OpticalFlow': checked out '28ef45c1fcb532b2bfd54c16b059c6a545143b2f'
Submodule path 'Tools/simulation/gazebo/sitl_gazebo/external/OpticalFlow/external/klt_feature_tracker': checked out '9b5b567ae77f93d1ef4d36151529ba2506a46e7a'
Submodule path 'Tools/simulation/jmavsim/jMAVSim': checked out '66b764ada522893c05224950aa6268c809f8e48a'
Submodule path 'Tools/simulation/jmavsim/jMAVSim/jMAVlib': checked out 'c08380767b21938391bec676a43b36b837af9ba4'
Submodule path 'Tools/simulation/jsbsim/jsbsim_bridge': checked out '68de2cc63ded9a0d6641d45e9eb3ed2b43454cba'
Submodule path 'Tools/simulation/jsbsim/jsbsim_bridge/models/ATI-Resolution': checked out '40571cd808a204f4062128daeb6bb6db8c134c48'
Submodule path 'Tools/simulation/jsbsim/jsbsim_bridge/models/Rascal': checked out 'd0d1db1961549e557885002cf9c3cff40cc27be2'
Submodule path 'platforms/nuttx/NuttX/apps': checked out '6d9010f47e7b00d9d86bbdd4630c78cd8d57ba35'
Submodule path 'platforms/nuttx/NuttX/nuttx': checked out '6bafcb22b7d62184fd1158c0b53c8dbd884275b8'
Submodule path 'src/drivers/cyphal/legacy_data_types': checked out '36a01e428b110ff84c8babe5b65667b5e3037d5e'
Submodule path 'src/drivers/cyphal/libcanard': checked out '2e3b11f6b8325080c160d38521b169b0bbb6b1c7'
Submodule path 'src/drivers/cyphal/public_regulated_data_types': checked out 'd0bd6516dac8ff61287fe49a9f2c75e7d4dc1b8e'
Submodule path 'src/drivers/gps/devices': checked out '1ff87868f6008f06e2033ee05dd904ec54109e52'
Submodule path 'src/drivers/uavcan/libuavcan': checked out '9a0fd624c448cad5633720676233f74846387a9f'
Submodule path 'src/drivers/uavcan/libuavcan/dsdl': checked out '5d303e1a9eb9bce17bb58a2378c1666d1cef3665'
Submodule path 'src/drivers/uavcan/libuavcan/libuavcan/dsdl_compiler/pyuavcan': checked out '7aed0a9705c7b931eda1cd4491729cdc88cc82bf'
Submodule path 'src/lib/crypto/libtomcrypt': checked out '673f5ce29015a9bba3c96792920a10601b5b0718'
Submodule path 'src/lib/crypto/libtommath': checked out 'fd73d7630b9d3ed5a79d613ff680a549e9780de7'
Submodule path 'src/lib/crypto/monocypher': checked out 'baca5d31259c598540e4d1284bc8d8f793abf83a'
Submodule path 'src/lib/events/libevents': checked out 'a89808bffd1efb0543e66f17a7fa12dfce5e6bf0'
Submodule path 'src/lib/events/libevents/libs/cpp/parse/nlohmann_json': checked out '391786c6c3abdd3eeb993a3154f1f2a4cfe137a0'
Submodule path 'src/modules/mavlink/mavlink': checked out 'dda5a18ddb002a871ba301bb584893ee6378e2f3'
Submodule path 'src/modules/mavlink/mavlink/pymavlink': checked out '279ec4c058cf2da3969747d6eb7f166b64ab3c7e'
Submodule path 'src/modules/microdds_client/Micro-XRCE-DDS-Client': checked out 'b5187a9f399e34cda7d2cdce8823295f83d9f3cc'
Submodule path 'src/modules/micrortps_bridge/micro-CDR': checked out '21d3cfe3ae570d1674da0105ab23b80958e0449a'
mch@mch-desktop:~/PX4-Autopilot$ make px4_sitl_rtps
mch@mch-desktop:~/PX4-Autopilot$ make px4_sitl_rtps
-- PX4 version: v1.13.0-beta1-981-g3c290d812d
-- Found PythonInterp: /usr/bin/python3 (found suitable version "3.8.10", minimum required is "3") 
-- PX4 config file: /home/mch/PX4-Autopilot/boards/px4/sitl/rtps.px4board
-- PLATFORM posix
-- ROMFSROOT px4fmu_common
-- TESTING y
-- ETHERNET y
-- PX4 config: px4_sitl_rtps
-- PX4 platform: posix
-- PX4 lockstep: enabled
-- cmake build type: RelWithDebInfo
-- The CXX compiler identification is GNU 9.4.0
-- The C compiler identification is GNU 9.4.0
-- The ASM compiler identification is GNU
-- Found assembler: /usr/bin/cc
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Building for code coverage
/usr/bin/python3: Error while finding module specification for 'symforce.symbolic' (ModuleNotFoundError: No module named 'symforce')
-- fastrtpsgen version 1.0.4
-- microRTPS bridge:
--   Publish to the bridge from: collision_constraints, sensor_combined, timesync, timesync_status, trajectory_waypoint, vehicle_control_mode, vehicle_odometry, vehicle_status, vehicle_trajectory_waypoint_desired
--   Subscribe from the bridge to: debug_array, debug_key_value, debug_value, debug_vect, offboard_control_mode, onboard_computer_status, position_setpoint, position_setpoint_triplet, sensor_optical_flow, telemetry_status, timesync, trajectory_bezier, trajectory_setpoint, vehicle_attitude_setpoint, vehicle_command, vehicle_local_position_setpoint, vehicle_rates_setpoint, vehicle_trajectory_bezier, vehicle_trajectory_waypoint, vehicle_mocap_odometry, vehicle_visual_odometry
-- Looking for ignition-transport8 -- found version 8.3.0
-- Searching for dependencies of ignition-transport8
-- Found Protobuf: /usr/lib/aarch64-linux-gnu/libprotobuf.so;-lpthread (found suitable version "3.6.1", minimum required is "3") 
-- Config-file not installed for ZeroMQ -- checking for pkg-config
-- Checking for module 'libzmq >= 4'
--   Found libzmq , version 4.3.2
-- Found ZeroMQ: TRUE (Required is at least version "4") 
-- Checking for module 'uuid'
--   Found uuid, version 2.34.0
-- Found UUID: TRUE
-- Looking for ignition-msgs5 -- found version 5.11.0
-- Searching for dependencies of ignition-msgs5
-- Looking for ignition-math6 -- found version 6.13.0
-- Searching for dependencies of ignition-math6
-- Checking for module 'tinyxml2'
--   Found tinyxml2, version 6.2.0
-- ROMFS: ROMFS/px4fmu_common
-- Configuring done
-- Generating done
-- Build files have been written to: /home/mch/PX4-Autopilot/build/px4_sitl_rtps
[0/2] Re-checking globbed directories...
[0/904] git submodule src/drivers/gps/devices
[3/904] git submodule src/modules/mavlink/mavlink
[5/904] git submodule src/modules/micrortps_bridge/micro-CDR
[6/904] Generating Mavlink development...ssage_definitions/v1.0/development.xml
Validating /home/mch/PX4-Autopilot/src/modules/mavlink/mavlink/message_definitions/v1.0/development.xml
Parsing /home/mch/PX4-Autopilot/src/modules/mavlink/mavlink/message_definitions/v1.0/development.xml
Validating /home/mch/PX4-Autopilot/src/modules/mavlink/mavlink/message_definitions/v1.0/standard.xml
Parsing /home/mch/PX4-Autopilot/src/modules/mavlink/mavlink/message_definitions/v1.0/standard.xml
Validating /home/mch/PX4-Autopilot/src/modules/mavlink/mavlink/message_definitions/v1.0/common.xml
Parsing /home/mch/PX4-Autopilot/src/modules/mavlink/mavlink/message_definitions/v1.0/common.xml
Validating /home/mch/PX4-Autopilot/src/modules/mavlink/mavlink/message_definitions/v1.0/minimal.xml
Parsing /home/mch/PX4-Autopilot/src/modules/mavlink/mavlink/message_definitions/v1.0/minimal.xml
Merged enum MAV_CMD
Merged enum MAV_CMD
Found 231 MAVLink message types in 4 XML files
Generating C implementation in directory /home/mch/PX4-Autopilot/build/px4_sitl_rtps/mavlink/development
Generating C implementation in directory /home/mch/PX4-Autopilot/build/px4_sitl_rtps/mavlink/standard
Generating C implementation in directory /home/mch/PX4-Autopilot/build/px4_sitl_rtps/mavlink/common
Generating C implementation in directory /home/mch/PX4-Autopilot/build/px4_sitl_rtps/mavlink/minimal
Copying fixed headers for protocol 2.0 to /home/mch/PX4-Autopilot/build/px4_sitl_rtps/mavlink
[904/904] Linking CXX shared library src/examples/dyn_hello/examples__dyn_hello.px4mod
mch@mch-desktop:~/PX4-Autopilot$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant