-
Notifications
You must be signed in to change notification settings - Fork 182
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
Optical Flow Message Mismatch #145
Comments
also running into this issue when using master branches across px4_ros_com, PX4-Autopilot, and px4_msgs note: if you are not using --verbose argument when running + ./src/px4_ros_com/scripts/build_ros2_workspace.bash
openjdk version "11.0.16" 2022-07-19
OpenJDK Runtime Environment (build 11.0.16+8-post-Ubuntu-0ubuntu120.04)
OpenJDK 64-Bit Server VM (build 11.0.16+8-post-Ubuntu-0ubuntu120.04, mixed mode, sharing)
[0.139s] WARNING:colcon.colcon_core.package_selection:ignoring unknown package 'ros1_bridge' in --packages-skip
Starting >>> px4_msgs
[Processing: px4_msgs]
[Processing: px4_msgs]
[Processing: px4_msgs]
[Processing: px4_msgs]
[Processing: px4_msgs]
[Processing: px4_msgs]
Finished <<< px4_msgs [3min 19s]
Starting >>> px4_ros_com
--- stderr: px4_ros_com
openjdk version "11.0.16" 2022-07-19
OpenJDK Runtime Environment (build 11.0.16+8-post-Ubuntu-0ubuntu120.04)
OpenJDK 64-Bit Server VM (build 11.0.16+8-post-Ubuntu-0ubuntu120.04, mixed mode, sharing)
c++: error: /root/ros2_ws/build/px4_ros_com/src/micrortps_agent/microRTPS_agent.cpp: No such file or directory
c++: fatal error: no input files
compilation terminated.
make[2]: *** [CMakeFiles/micrortps_agent.dir/build.make:497: CMakeFiles/micrortps_agent.dir/src/micrortps_agent/microRTPS_agent.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:142: CMakeFiles/micrortps_agent.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
make: *** [Makefile:141: all] Error 2
---
Failed <<< px4_ros_com [30.8s, exited with code 2] Only when running it with --verbose (i.e using args
|
Description
There is a message topic mismatch between the
px4_ros_com
package and the main PX4 firmware UORB topics.In the default
urtps_bridge_topics.yaml
found under<PX4-Firmware>/msg/tools
, the topicoptical_flow
is required. In the defaulturtps_bridge_topics.yaml
found underpx4_ros_com/src/templates
, however,sensor_optical_flow
is required by default. If one were to generate the latter yaml file by using the scriptuorb_to_ros_urtps_topics.py
provided (by following directions in the yaml file), the auto_generated yaml file would required a message namedOpticalFlow
, which is nowhere to be found in thepx4_msgs
package. This mismatch would result in a build error and preventmicrortps_agent
from building.Procedure to Reproduce
uorb_to_ros_urtps_topics.py
in the px4 firmware folder to generate a newurtps_bridge_topics.yaml
:# either run colcon build or run the build_ros2_workspace.bash script
The text was updated successfully, but these errors were encountered: