Bronco-Space / simulation

3 stars 1 forks source link

switch passing local location to global location #60

Closed kkwik closed 3 years ago

kkwik commented 3 years ago

Currently mag_calc is passed bpy.data.objects['cubesat'].location which returns the local space location of cubesat, currently 0,0,0 in simulation.blend. This results in mag_calc calculating altitude to be -635.7. Changed to pass the global space location of the cubesat instead