Giter VIP home page Giter VIP logo

Comments (3)

varunsaran avatar varunsaran commented on July 21, 2024

Added control_drone service, a generic service that takes in drone ID and a string, and accordingly calls: (the string defines which method to call)

  • land_drone
  • start_mission
  • pause_mission
  • resume_mission
  • fly_home

We decided to have this generic service because we think it might be cleaner than defining a whole bunch of services that just make 1 function call. These methods don't need any preprocessing, and the only input is the drone ID, so it should be fine.

For things like upload_mission, which need inputs like a list of waypoints, they can have their own service.

from isaacs_server.

DragonKyro avatar DragonKyro commented on July 21, 2024

Karthik, Varun, and Kyle completed the following:

State dictionaries:

  • sensors global dictionary
  • drone_names dictionary
  • sensor_names dictionary

Service handlers:

  • register_sensor

Skeleton code for shutdown_drones

from isaacs_server.

varunsaran avatar varunsaran commented on July 21, 2024

next_id now starts at 1, not 0. 0 is reserved for services to ask for info about ALL drones + services, not a particular one

implemented all_available_drones
implemented query_topics

other minor edits

TODO:
make sensor base class
add list of sensor ids to the parent drone instance when registering a sensor.

from isaacs_server.

Related Issues (20)

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.