dennisss / tansa

Dancing Robotics Platform
MIT License
39 stars 16 forks source link

CLI arguments + Global/Vehicle config file #18

Closed dennisss closed 7 years ago

dennisss commented 7 years ago

Make everything configurable!!!!

Have CLI arguments for us to be able to start different operating 'modes':

  1. just mocap with no JSOC (so we can test mocap with an RC controller in mocap assisted position mode)
  2. 1 with a JSOC file

  3. 1 or # 2 in simulation

  4. 1 with and without an RC as a failsafe (in RC mode, the program wouldn't automatically arm itself, but wait for the RC to do this)

Need to make a JSON or something separate from JSOC to hold global settings and ones unique to each Vehicle so we can quickly change parameters for different setups. Partial listed of needed parameters below.

Global stuff

Vehicle specific stuff

dennisss commented 7 years ago

Ideally a small part of this done for our first theater time

zls29 commented 7 years ago

@dennisss Is multidrone_main going to be used from here onward? I'd like to get rid of the single drone main if isn't going to be needed.

dennisss commented 7 years ago

They are both mainly for example purposes. I think eventually, they will both be scraped for a single configurable main given a JOCS file and/or other options. Probably best to scrap single drone code and go with single drone as a special case of multi-drone choreography.

tessmichi commented 7 years ago

@zls29 @dennisss How "done" is this, ever since Dennis merged the branch for this?

zls29 commented 7 years ago

Not sure if there's anything left that needs to be added for this issue.