Open shenqg168 opened 7 months ago
About this issue, you can follow the (3.2 Modification in PX4) in the Readme.md
.
Specifically speaking, you should add the two custom models in the path /models
to the storage path of PX4, which are imu_gazebo
and iris_UST10LX
. After doing this, you should modify some files in PX4 and recompile, so that PX4 can find the custom models. To avoid redundancy, I've omitted the details of adding a custom model. You can follow this answer carefully.
Hope this can be helpful.
Thank you very much! The model issue has been resolved, but a new problem has emerged. When running rosrun uav_tracking_metaRL pearl_trainer_node.py in the Conda virtual environment, the following error occurs: `***** [finish test]
Collecting initial pool of data for train and eval 0%| | 0/3 [00:00<?, ?it/s]Current task index is 0 vx:0.6 yaw_rate:-0.04
[INFO] [1710222725.328393, 291.362000]: >>>>>> Generate Cylinders >>>>>>
[INFO] [1710222744.859576, 310.864000]: Begin Game
Current task index is 0 vx:0.6 yaw_rate:-0.04
0%| | 0/3 [00:48<?, ?it/s]
Traceback (most recent call last):
File "/home/sj/shen_ws/rl_drone/catkin_ws/devel/lib/uav_tracking_metarl/pearl_trainer_node.py", line 15, in
File "/home/sj/shen_ws/rl_drone/catkin_ws/src/uav_tracking_metarl/scripts/pearl2buf/algorithm/networks.py", line 193, in forward x = self.hidden_activation(fc_layer(x)) RuntimeError: mat1 and mat2 shapes cannot be multiplied (1x17 and 52x300)
Maybe the dimension of the nueral network is incorrect. The dimension of the state is 47, and the dimension of the action is 2. You should check it out carefully.
I couldn't find the paper. Could you provide it
Muxin, hello. I encountered the following error while reproducing your code: I have followed the installation steps as follows: Copy the robotic model located in the /models directory of this project to the /PX4-Autopilot/Tools/sitl_gazebo/models directory. There was an issue encountered while executing roslaunch uav_tracking_metaRL setup_2uavs.launch. Error: Unknown model iris_UST10LX Can you please tell me how to solve it.Looking forward to your reply!