RoboticsAcademy
RoboticsAcademy copied to clipboard
[Obstacle Avoidance] improvements in the forces GUI display
- [ ] the car should not be red, as the repulsive forces are already red, and so they are not distinguished. Maybe gold+black, as the current F1 car.
- [ ] the car should be located in the center of the display, not in the lower part. This way the repulsive forces will be properly displayed, they usually point to the rear part of the car as the laser sensor is looking forward
- [ ] 10m and 25m are wrong, they should be replaced by real distances in meters. They can be estimated according to the laser sensor readings.
@jmplaza Can I work on this issue? Or is it already assigned to ango1994 and the work is in progress?
Sure. There is no "booking mechanism". Feel free to submit a PullRequest solving this issue.
In case of several people working in the issue, the first received PR effectively solving it will be reviewed and merged :-)
@jmplaza
- I have changed the color to gold
- Located the car in the center of the first square
I didn't quite understand the third issue. Will you please elaborate on that more?
Sure @AnushkaGharage ,
the 10m and 25m rectangles at the current frontend are not located in true real distances.
They should be replaced with the real distances, and maybe moved a little bit to "round numbers".
Could you share a snapshot of the frontend with your changes?
@jmplaza I tried running 'yarn run dev' and it shows following error - """ ERROR in ./src/exercise-index.js 91:19-62 Module not found: Error: Can't resolve 'exercises' in 'C:\Users\ghara\OneDrive\Desktop\RADI\RoboticsAcademy\react_frontend\src' """
And below error after running 'python3 manage.py runserver' """ WebpackError at /exercises/ ModuleNotFoundError in Module not found: Error: Can't resolve 'exercises' in 'C:\Users\ghara\OneDrive\Desktop\RADI\RoboticsAcademy\react_frontend\src' """ But there is no directory inside src named exercises
So I am trying to find a solution for this error.
Hey @jmplaza,
I have changed the color of the position of arrows and laser scans, but i'm not sure about how to move the rectangles(10m and 25m) or convert their scale.
Well done @damodardatta. The rectangles are wrong now, their motivation is to show to the student an estimate of the real distances around the car. Maybe 10m and 25m are too far, and the good numbers should be 3m and 5m. Maybe you can look at the laser values (as they are measured in meters or centimeters) to set the rectangle scale...
Hi @jmplaza, i changed the values and changed the rectangles to semicircle as i felt they would be more intuitive. Let know if this is ok?
As this UI has already been updated I will close this issue.
If you want to continue modifying this UI please open a new one