-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Depth sensors can only measure the distance up to a sample. As such, this information must be translated in the robot's workspace to be usable. This is currently done within the get_data function of the sensor class. More precisely, the get_rectified_data function, which itself is called out of the class (which, as a sidenote, probably hinders modularity).
I see two ways to go about improving this:
- Only return the raw distance measured by the sensor from get_data, and leave anything to do with the robot outside of the sensor class. Positions will only be set ad-hoc or within the robot class in that case.
- Or change the template by adding a get_rectified_data function, or such, which will use data from measured from get_data to send a new position for the robot.
What do you think?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request