-
Notifications
You must be signed in to change notification settings - Fork 6
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
Operation process #2
Comments
Hi, maybe you can follow the Running in simulation part in the readme file. In short, you have to
Btw, your screenshots are not showing properly. Please upload a new one. |
Okay, now I have figured out how to start the execution, but the first error came. |
the error such as this: Resource not found: airsim_ros_pkgs btw,your readme file has something wrong ,the " roslaunch px4_avoidance_airsim start_simulation.launch"should be"roslaunch px4_avoidance_airsim start_simulator.launch |
Maybe you have to |
Hi, just saw your issues. As I didn't work on this repo for a period of time, I am not very sure if kconfiglib is necessary. However, the problem related to Python package is mainly caused by your Python path and configuration. Maybe you should check the Python version used for catkin build. Anyway, can you run PX4-avoidance individually? |
Thank you for your reply As you expected, I found that I was using Python 2.7 during compilation and downloaded kconfiglib to Python 3.8, so the compilation failed. After I solved this problem according to your prompts, other problems occurred. So, I took out catkin_ws separately for px4 and exported the ROS path, and I was able to successfully start simulator. launch (Absolutely good news!) But when starting "fast planner. launch", some nodes failed to start, and so far I don't have any clue. Do you have any good suggestions? Thanks a lot! |
From my experience, it's better to compile all the ros packages using python3. It's hard to say what's wrong from your screenshot now. However, it's better to run px4_avoidance and fast planner individually before using this repo. Good luck. |
I used python3.6,but tf2 has some error. |
as you can see the drone can't be contrl by fast planner |
could you please provide your "airsim setting json",maybe i got sone wrong from there |
From your screenshot, I find there is a tf2 related issue. Maybe you should check with it first. This is mainly caused by the python version and tf2 ros package. Maybe you have to build tf2 with python3 in your workspace. |
Ok, it's me again, nice to have a cordial conversation with you again >^<.
Now the question is, so far I've finished building the airsim environment, ros, and testing the airsim ros package, and have likewise finished building the px4 environment, so how do I use this fusion algorithm next? Or is there any need for caktkin_make?
And can you share the configuration information about the setting.json file of this airsim project?
Looking forward to your guidance, appreciate it b( ̄▽ ̄)d.
The text was updated successfully, but these errors were encountered: