garyz712 / DRLPIDDroneControl

MIT License
3 stars 0 forks source link

"When running DPLPID, there is a prompt indicating that the ROS service node has failed. #1

Open Song-github666 opened 3 weeks ago

Song-github666 commented 3 weeks ago

model = PPO.load("./models/PID_DRL_model_1024_steps", env=env, n_steps=512) model.learn(total_timesteps=10000, callback=callback_list) "When running the second line, it prompts: Service call failed: service [/set_velocity] unavailable." I believe my simulation environment is different from the author's. Could the author please provide the simulation environment for reference? Thank you very much.

garyz712 commented 3 weeks ago

https://clover.coex.tech/en/simulation.html Thanks for your question! please follow this instruction to set up the simulator

Song-github666 commented 3 weeks ago

"Thank you very much for your response. I followed your instructions to configure the environment, but when running the simulation, I encountered this error: ERROR [param] Parameter EKF2_HGT_MODE not found. In the 4500_clover script, there is a line param set-default EKF2_HGT_MODE 3 # 0 = baro, 1 = gps, 2 = range, 3 = vision. I’m not sure if the author has encountered this issue before. I would really appreciate any help on this. Thank you very much."

garyz712 commented 1 week ago

I haven’t encounter this issue before, but please start testing simple terminal command as shown in the video and choose the vision mode when asked. for clover related technical question, please join the telegram community and the manufacturer provide full support on this: https://t.me/COEXHelpdesk