Error in "Control a Simulated UAV Using ROS 2 and PX4 Bridge" document.

6 views (last 30 days)
After instructions
"Download and connect to the virtual machine (VM) using instructions in Get Started with Gazebo and Simulated TurtleBot (ROS Toolbox). On the VM, start the simulator and PX4 Bridge by clicking the "Gazebo PX4 SITL RTPS" desktop shortcut. This brings up a simple simulator of a quadrotor in Gazebo."
, the ros2 topic should be the first one but mine is seconed one.
When running
"Get the system and component IDs from the UAV status. These help direct the commands to the UAV. This also ensures the UAV is up and running before moving into the control phase."
, this error occur which means subscriber can take any message and the time limit exceeds.
Moreover, in the VM, " fmu/vehicle_status/out " does not respond any infromation following as:
Could anyone help me about this issue?
  3 Comments
Hyeong ki Ahn
Hyeong ki Ahn on 24 Jan 2024
I built the environment successfully. I was able to run "ros genmsg("custom")". The directory becomes following as:
Additionally, i recognized that not building issue, and i already revised the following soultion:
https://kr.mathworks.com/support/search.html/answers/2042607-error-using-ros2genmsg-custom.html?fq%5B%5D=asset_type_name:answer&fq%5B%5D=category:ros/custom-message-support&page=1
Angelo Yeo
Angelo Yeo on 26 Jan 2024
It's hard to understand your current situation only with the description. If you believe this is not an environment issue but an unexpected behavior of ROS Toolbox, I suggest you reach out to technical support.

Sign in to comment.

Answers (0)

Products


Release

R2022b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!