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

6 次查看(过去 30 天)
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 个评论
Hyeong ki Ahn
Hyeong ki Ahn 2024-1-24
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 2024-1-26
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.

请先登录,再进行评论。

回答(0 个)

产品


版本

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by