Home > Net > C # multithreaded project practical problem
C # multithreaded project practical problem
Time:11-11
Understanding of multithreading is limited to definition, and currently doing a robot grasping objects on the conveyor belt of PC, involve the conveyor belt movement, object position, grasping position calculation, several modules such as robot control, how to use the multithreading control several modules and orderly operation? , that is to say, how to use multithreading do get processed information, immediately calculation; The calculated results, immediately grab; A grab is completed, immediately grab the next, and, similar to this practice, and narrative is a little bit more, hope the great god grant instruction, particularly grateful!
CodePudding user response:
Personal advice directly with Ross
Than again let you use the ans says something new, mainly Ross can simulate test, a simulation environment, better than you what all not smooth by mouth and say to be practical
CodePudding user response:
ROS in the control arm grab target routine https://blog.csdn.net/zzu_seu/article/details/91347757
CodePudding user response:
With Ros is also tell you the actual project, never a person like this every day for the so-called threads, think how great the thread,
, even Ros that project is using the message queue, pipline do isolation, rather than a day and night for the thread
CodePudding user response:
Didn't contact with ros, and then the above mentioned several modules have been completed, the use of ABB robot, simulation in Robotstudio,,, now is that I wish to put the pieces together, and if to learn ros may take more time,,, thank you very much for your precious advice!
CodePudding user response:
Don't tube thread thread, this thing you want to be bumped into a thread even if into the pit, to climb out, and here have been demonstrated countless times see hammer like "threads", 100% into the pit, and 100% would hit their hand
Such thing as the first step is to write the context, because is not what you want the thread, but "to track the execution state", to perform an action can parallel/concurrency, but the core is state instead of thread
CodePudding user response:
This is a core never Ros such systems on the thread, the core of his design is the Node Node, is the message, is a dataflow data flow, is a state machine