Closed zxp771 closed 5 years ago
Hi @zxp771,
/svo/pose_imu
, see https://github.com/szebedy/autonomous-drone/blob/746991207d4eed0af8cb27870ad4d74411fdd314/src/offboard_control/ros_client.cpp#L32
so if you want use an other visual odometry algorithm you're going to have to change this dependencycd ~/catkin_ws
git submodule update --init --recursive
Hi @szebedy Thanks for your reply. 1.thanks for your explanation. I will notice it when I use it.
The command source Tools/setup_gazebo.bash $(pwd) $(pwd)/build/posix_sitl_default
executes the file Tools/setup_gazebo.bash in the px4
folder. The only reason I can think of not to have that file is that the px4 submodule has not been initialized.
Hi @szebedy I noticed that your introduction said:"Wait until downloading finish correctly, then run" but when I run the "cd ~/catkin_ws git submodule update --init --recursive" there is nothing happened.
BTW Could I install the PX4 in the same workspace which I install my v-slam algorithm?
Hi @szebedy I figure out the problem and tried to run the command in your introduction. When I run the "roslaunch px4 mavros_posix_sitl.launch" it will show this error: Will it impact other processing?
BTW
How did you figure out the problem? Do you have my px4 fork in the px4 folder?
Hi@szebedy
Thanks for your help and share!It's really useful!
Hi @szebedy
I noted that you implemented the ewok for collision avoidance. But I haven't seen any installation introduction for it. Do you use the project in your code here? Should I install the ewok by myself first then run your project for simulation?
Hi @zxp771,
A modified version of the ewok source code can be found in the trajectory planner folder of my repository. I basically took the classes (includes) from ewok and modified one of their example source files to work with my application.
Hi@szebedy Thanks for your reply. I checked your code and the example you added in the folder. Thanks for your sharing.
Hi @szebedy
I want to run the simulation environment on my computer But I check your intel_aero launch file. Do I need to install intel realsense package first then run the simulation test?
Hi @zxp771
If you want to simulate, launch the simulation launch file. It is still not going to work if you have the official PX4 repository and not my PX4 fork, because I created a simulation environment dedicated for my autonomous drone repository.
Realsense package is only needed if you want to execute the code on the Intel Aero RTF drone. For that you can follow installation instructions here.
Hi @szebedy Thanks for your reply and sharing. One more question: How do you build the Gazebo simulation environment? I mean if I want to test the different simulation environment(not use your build but use my own one or change the target position on your simulation environment) which part should I modify by myself?
Hi @zxp771,
You can change the models and worlds inside the sitl_gazebo
submodule found in the folder px4/Tools/sitl_gazebo
.
You can find some example commits here that show you how I did it.
Hi @szebedy Thanks for your sharing. I have some question about the simulation.
Thanks for your sharing again It's really helpful!