Carleton-SRCL / SPOT

Spacecraft Proximity Operations Testbed
7 stars 19 forks source link

Experiment Logic Blocks #31

Closed c-bash closed 2 years ago

c-bash commented 2 years ago

The following blocks are for experimental use only: image The logic that determines if these blocks should run (using WhoAmI and isSim) is not consistent.

For example, consider in "Manipulator Initialization" where the block is run only if this is an experiment (isSim == 0). image Compare this behaviour to "From ARM Torques Command Joints" where the blocks are run if this is a simulation (isSim == 1) or if the WhoAmI variable is able to be read. image

It seems as though the logic followed by "Manipulator Initialization" is the correct one.

This error may be causing the currently open issue "Run Simulation" error on first attempt #30 whereby the platforms are being contacted during simulation.