Some questions from a greenhand,Help me plz:-)
Hello,everyone,I'm a greenhand come to MSRS world.there are some(may be many) questions to ask U.
1)If I want to study MSRS,How to read articals is a good way(like vpl-ccr-dss ..)?
2)In VPL how to "define" a variable?Is all variable have a initial value "0"?
3)I can't understand if a "line" connect some blocks,all variables in the start block can access at last block
I "draw" a picture:
Block_1(varible a) \
Block_2(varible b) -mergeBlock_4-Block_5
block_3(varible c) /
can block_5 access varible a,b,c ?
4)How to understand "get" method?
I also "draw" a picture:
Join
=======
.... -|input|
|state| - Get|Variable State|...
This means "state" was overwrite by "Varible State" or "Variable State" was added to this dataflow?
5)If I define a varible in a action,can I access this varible in diagram?I means is there varible effect field in VPL?
6)In Robotic tutorials III(Creating Reusable Orchestration Services)
There is a program segment:
if (!string.IsNullOrEmpty(s.Name) &&
s.Name.ToLowerInvariant().Contains("front"))
{
SpawnIterator<double>(-1,BackUpTurnAndMove);
return;
}
if (!string.IsNullOrEmpty(s.Name) &&
s.Name.ToLowerInvariant().Contains("rear"))
{
SpawnIterator<double>(1,BackUpTurnAndMove);
return;
}
how to define a "front" or "rear" sensor?
7)How to understand "replace" and "update" ? What different from them?

