mayacakmak / se2

Control interfaces for manipulating SE2 configurations
BSD 2-Clause "Simplified" License
1 stars 0 forks source link

Flexible target visualizations #6

Closed mayacakmak closed 4 years ago

mayacakmak commented 4 years ago

Currently the interface has 'exact' targets, where the SE2 object (dot and line specified by an x,y position and theta rotation) needs to be taken to an exact target pose (even though there is a small threshold around the exact pose). We would like to be able to specify flexible targets, where the goal is to bring the object within some range near a given SE2 pose. We can do this by changing that small threshold but we need the visualization of the target to reflect the thresholds.

kavidey commented 4 years ago

I put together some possible visualization in photoshop (these were all done by hand but could easily be done on the website)

image

a and b are different ways to show flexible rotation d and e are different ways to show flexible position c and f are ways that we might show both flexible position and rotation

mayacakmak commented 4 years ago

Between the dashed line indicators and faded crag indicators, I prefer the faded gray ones for better visibility (they're also likely to be easier to implement).

For the systematic study we should probably allow situations similar to (f).

One idea that came up in our meeting is to visualize the thresh_xy and thresh_theta variables with slightly different colors (perhaps shades of gray or two shades of a different color). Keep the thresh_xy circle at the front. Keep the size of the thresh_theta pizza slice slightly longer than max_xy so it is still visible even when thresh_xy is largest.

kavidey commented 4 years ago

I have implemented a basic version of this: image I think that it works pretty well, though it does create some weird situations such as this, where because the size of the wedge is not increased with the flexible position, there are solutions that don't seem possible (though mathematically they are totally correct) image

An interesting option would be to make everything the same color, and increase the size of the wedge to adjust for the flexible position. These are two versions with and without the original dot and line ee. image image

Even with the above solution, there are still oddities like this: image