| Conditions | 2 |
| Total Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 5 |
| CRAP Score | 2 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | """Contain mechanism for changing position.""" |
||
| 28 | 1 | def update_position(self, velocities, control_params): |
|
| 29 | """Update positions.""" |
||
| 30 | 1 | for stage in velocities: |
|
| 31 | 1 | new_control_params = control_params[stage] + velocities[stage] |
|
| 32 | 1 | control_params[stage] = self._fix_coordinates(stage, |
|
| 33 | new_control_params) |
||
| 34 | 1 | return control_params |
|
| 35 | |||
| 44 |
This can be caused by one of the following:
1. Missing Dependencies
This error could indicate a configuration issue of Pylint. Make sure that your libraries are available by adding the necessary commands.
2. Missing __init__.py files
This error could also result from missing
__init__.pyfiles in your module folders. Make sure that you place one file in each sub-folder.