File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 99.PHONY : format
1010format :
1111 ruff format ./src ./tests
12- ruff check --select I --fix ./src ./tests
12+ ruff check --extend- select I --fix ./src ./tests
1313
1414.PHONY : buf
1515buf : clean
Original file line number Diff line number Diff line change @@ -75,7 +75,15 @@ async def move(
7575 world_state (viam.proto.common.WorldState): When supplied, the motion service will create a plan that obeys any constraints
7676 expressed in the WorldState message.
7777 constraints (viam.proto.service.motion.Constraints): When supplied, the motion service will create a plan that obeys any
78- specified constraints.
78+ specified constraints. These can include:
79+ - LinearConstraint: Specifies that the component being moved should move linearly relative to its goal.
80+ - OrientationConstraint: Specifies that the component being moved will not deviate its orientation beyond some threshold
81+ relative to the goal.
82+ - CollisionSpecification: Used to selectively apply obstacle avoidance to specific parts of the robot.
83+ - PseudolinearConstraint: Specifies that the component being moved should not deviate from the straight-line path to their
84+ goal by more than a factor proportional to the distance from start to goal. For example, if a component is moving 100mm,
85+ then a LineToleranceFactor of 1.0 means that the component will remain within a 100mm radius of the straight-line
86+ start-goal path.
7987
8088 Returns:
8189 bool: Whether the move was successful.
You can’t perform that action at this time.
0 commit comments