Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Simulation_F651
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
jennifer david
Simulation_F651
Commits
0f1d7b54
Unverified
Commit
0f1d7b54
authored
6 years ago
by
Maytheewat Aramrattana
Committed by
GitHub
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Update Readme.md
parent
c24eeae5
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Readme.md
+15
-0
15 additions, 0 deletions
Readme.md
with
15 additions
and
0 deletions
Readme.md
+
15
−
0
View file @
0f1d7b54
# Pre-requisite #
# Pre-requisite #
*
Ubuntu 16.04 LTS
*
Ubuntu 16.04 LTS
*
ROS Kinetic
*
ROS Kinetic
*
Assuming you use
[
catkin
](
http://wiki.ros.org/catkin
)
build system
*
Gazebo 7.14
*
Gazebo 7.14
*
You can use this script
[
here
](
https://raw.githubusercontent.com/PX4/Devguide/master/build_scripts/ubuntu_sim_ros_gazebo.sh
)
:
*
You can use this script
[
here
](
https://raw.githubusercontent.com/PX4/Devguide/master/build_scripts/ubuntu_sim_ros_gazebo.sh
)
:
1.
Download or save it somewhere
1.
Download or save it somewhere
...
@@ -15,6 +16,20 @@ This simulation is based on [OpenUAV](https://github.com/Open-UAV) project.
...
@@ -15,6 +16,20 @@ This simulation is based on [OpenUAV](https://github.com/Open-UAV) project.
5.
`source setup-install.sh`
(press
<kbd>
Return
</kbd>
to continue when asked)
5.
`source setup-install.sh`
(press
<kbd>
Return
</kbd>
to continue when asked)
6.
When it finishes, type
`make posix_sitl_default`
6.
When it finishes, type
`make posix_sitl_default`
7.
Then try to run Gazebo by typing
`gazebo`
in your terminal
7.
Then try to run Gazebo by typing
`gazebo`
in your terminal
8.
Connect the
`sitl_gazebo`
folder with your
`catkin_ws/src`
folder by typing
`sudo ln -s ~/sitl_gazebo ~/catkin_ws/src`
in your terminal
9.
Connect the
`src/Firmware`
folder with your
`catkin_ws/src`
folder by typing
`sudo ln -s ~/src/Firmware ~/catkin_ws/src`
in your terminal
10.
Go to your
`catkin_ws/src`
folder (
`cd ~/catkin_ws/src`
) and build it by typing
`catkin build`
in the terminal.
11.
`source devel/setup.bash`
12.
Copy and paste this into your terminal
`roscd; cd ..; cd src/Firmware
make posix_sitl_default
source ~/catkin_ws/devel/setup.bash
source Tools/setup_gazebo.bash $(pwd) $(pwd)/build_posix_sitl_default
export ROS_PACKAGE_PATH=$ROS_PACKAGE_PATH:$(pwd)
export ROS_PACKAGE_PATH=$ROS_PACKAGE_PATH:$(pwd)/Tools/sitl_gazebo
roslaunch px4 posix_sitl.launch
roslaunch mavros px4.launch fcu_url:="udp://:14550@127.0.0.1:14557"
`
# FAQ #
# FAQ #
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment