Contact
section in the sidebar on the left to get help.desktop_installs
folder in your home folder:desktop_installs
directory and running a chmod
command:nxp_desktop.sh
file is highlighted green. This means that it has executable permissions.All done!
signal. Great! Now let's run the workspace setup to get Gazebo, PX4, and ROS installed.nxp_desktop.sh
install script. The workspace folder is at ~/git/
. Inside of that workspace folder, there is a script that will set up ROS2 and all necessary dependecies for you. That install script is located at ~/git/nxp_gazebo/scripts/
. To get there, run the following commands:foxy_install.sh
file to set up our software. To start, run the following command and make sure you get the expected output:./foxy_install.sh
, you'll want to add a line to your ~/.bashrc
. Follow the instructions below:[100%] Built target fastrtps
once make -j$(nproc --all)
is finished, and you should get the expected output shown below after you run sudo make install
:~/git/nxp_ros2_ws/
and then run some build commands. Run the commands below and make sure that you get the expected output:~/.bashrc
. Add the following lines to the end of your ~/.bashrc
:nano
or vim
. You can follow the nano
instructions from earlier in the guide if you need help doing so. To make sure your ~/.bashrc
looks correct, run the following command and then check if you get the expected output:~/.bashrc
by running the following command:~/.bashrc
, we will move on to building the PX4 binary for our simulation!px4_sitl_rtps gazebo
. This will give the ROS2 workspace a PX4 binary to run for our simulated NXP Cup car. Run the following commands to build PX4 and make sure you get the expected output:xterm
for the PX4 shell that runs when we boot up the simulation. To do so, run the following command: