IE-482-582 / fall2021

5 stars 4 forks source link

Simulating the COEX Pix #12

Open Danealor opened 2 years ago

Danealor commented 2 years ago

After playing a bit with the COEX Pix simulation, I wanted to post here to help others start out. I've tried the native installation but I've still not ironed out all the errors, so I'll be using the virtualbox method in this post. I may post here again once I figured out native installation.

The instructions for the virtualbox installation were taken from their website.

First, download the virtualbox .ova here. Note that it is 5.5GB so ensure that you have ample download speed/time and disk space.

Then, open VirtualBox and import the application as you did with the class VM. In the settings:

Boot the virtual machine. Username: clover Password: clover

To finish installing the guest additions:

To set the display resolution:

To run:

Get position:

To test simple flight:

Programming: The simple_offboard node is a high-level navigation and telemetry node that simplifies all the programming into a few easy to use services.

Danealor commented 2 years ago

For the installation in our own already created environments, I followed the native build instructions on their website. In fact, it seems that just last week they updated that page from Ubuntu 18.04 to instructions for ROS Noetic in Ubuntu 20.04, so that's quite lucky!

Following those new instructions, I was able to build Clover and PX4 and simulate the drone like the above post, right inside of our existing workspace.

A few notes for the installation: