One of the most annoying things I've ran into so far is that while there is an ability to attach a console to the program at startup (automatically), the stupid thing only attaches to the first task which of *course* magically disappears immediately because it launches another task.
Anyone know a good way to accomplish this (I already know how to start the console manually, thats annoying)? You can't just not launch another task, since it says that:
Quote:
* This function starts the robot code running by spawning a task. Currently tasks seemed to be
* started by LVRT without setting the VX_FP_TASK flag so floating point context is not saved on
* interrupts. Therefore the program experiences hard to debug and unpredictable results. So the
* LVRT code starts this function, and it, in turn, starts the actual user program.
|
I'm wondering if maybe I can just pass stdout to the next task, and hope the console doesn't die with the task. Of course, I don't actually have a robot to test with at the moment..