Git Product home page Git Product logo

multi_uav_simulator's Issues

Add higher order control inputs

The drones should be able to accept velocity/acceleration control inputs. Since the Lee's controller accepts only the positional inputs, this needs to be catered from the dynamical system front. I.e., Integrating the differentially flat model with the given control input and use the resulting coordinates to optimize the trajectories.
This can also handle stochastic dynamics, by adding a Gaussian noise to the integration.

Missing Waypoint.h file

While attempting the catkin_make as instructed by the document, it gives the fatal error of not having simulator_utils\Waypoint.h

Need to add examples

It would be good to have some example codes on python/C++ on simulating some trajectories with the drones.

rostopic pub

image
When I try to formulate the drone to fly towards a fixed point, the program reminds me that the rostopic package conflicts with the currently installed package with. The current installation package is installed according to readme.txt

Add indepedent node control

This will let each node to be controlled independently instead of centralized control through a single simulation node.

Makefile to build and launch

Hey,
I have made a Makefile for this project that will handle the dependencies required as well as the build process. This is the first version of the Makefile, and it works on a fresh install of Ubuntu 20.04.5, Kernel: 5.15.0-67-generic.

To use this file, first download the gist, and place it the directory where you would like your catkin_ws to be made.
Then run make deps to install dependencies required. This will only work on distros and versions that support ROS1, and I have only tested it on 1 machine, so it will be updated as required.

Next, run make build to build the multi_uav_simulator.
Finally, run make launch to launch the simulation, and an Rviz window should open.

Included is a make clean command, to remove the entire catkin_ws.

Please leave comments either here and mention me (@matteovidali) with updates, or place requests on the gist itself.

Required package not found while building 'mav_trajectory_generation' during catkin build.

I'm trying to get the example described in the main README file working. I'm inside a docker container on ubuntu 20.02 focal. I'm using the ros-noetic-robot container file to start with. After getting catkin working, and all prereqs installed, i manged to get through the build process, up until the 'mav_trajectory_generation' step. Then I get a somewhat unhelpful message about a missing package;

...
Starting  >>> eigen_checks                                                                         
Finished  <<< geo_controller                           [ 0.3 seconds ]                             
Finished  <<< eigen_checks                             [ 0.2 seconds ]                             
Starting  >>> mav_trajectory_generation                                                            
___________________________________________________________________________________________________
Errors     << mav_trajectory_generation:cmake /catkin_ws/logs/mav_trajectory_generation/build.cmake.004.log
CMake Warning (dev) at CMakeLists.txt:2 (project):
  Policy CMP0048 is not set: project() command manages VERSION variables.
  Run "cmake --help-policy CMP0048" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.

  The following variable(s) would be set to empty:

    CMAKE_PROJECT_VERSION
    CMAKE_PROJECT_VERSION_MAJOR
    CMAKE_PROJECT_VERSION_MINOR
    CMAKE_PROJECT_VERSION_PATCH
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Error at /usr/share/cmake-3.16/Modules/FindPkgConfig.cmake:463 (message):
  A required package was not found
Call Stack (most recent call first):
  /usr/share/cmake-3.16/Modules/FindPkgConfig.cmake:643 (_pkg_check_modules_internal)
  CMakeLists.txt:19 (pkg_check_modules)


cd /catkin_ws/build/mav_trajectory_generation; catkin build --get-env mav_trajectory_generation | catkin env -si  /usr/bin/cmake /catkin_ws/src/mav_trajectory_generation/mav_trajectory_generation --no-warn-unused-cli -DCATKIN_DEVEL_PREFIX=/catkin_ws/devel/.private/mav_trajectory_generation -DCMAKE_INSTALL_PREFIX=/catkin_ws/install; cd -

...................................................................................................
Failed     << mav_trajectory_generation:cmake          [ Exited with code 1 ]                      
Failed    <<< mav_trajectory_generation                [ 1.0 seconds ]                             
Abandoned <<< multi_uav_simulator                      [ Unrelated job failed ]                    
[build] Summary: 8 of 10 packages succeeded.                                                       
[build]   Ignored:   7 packages were skipped or are skiplisted.                                    
[build]   Warnings:  None.                                                                         
[build]   Abandoned: 1 packages were abandoned.                                                    
[build]   Failed:    1 packages failed.                                                            
[build] Runtime: 3.1 seconds total.     

Up to this point, I was getting the occasional dependency errors (libtools), but they were easy to resolve. The error message made me think it was an issue with pulling/merging the dependency mentioned in the walkthrough, so I reran those steps, but the error persisted.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.