castacks / multidrone_reconstruction_dummy

0 stars 0 forks source link

Make mf_ws installation independent of directory. #45

Open mcorah opened 2 years ago

mcorah commented 2 years ago

Although, installations on the robots probably should be standardized, it would be good to be able to install mf_ws in nonstandard locations for sim (and to have multiple installations).

Some code depends on the structure of the full path as in dji_help_node.py

             subprocess.call(['bash', '/home/' + self.username +'/mf_ws/src/mf_launch/scripts/mission_launching/simoff.sh'])

Fixes will be fairly easy using rospkg.