BCLab-UNM / SC2

Swarmathon Team Code for the NASA Space Challenge 2 Competition
MIT License
2 stars 0 forks source link

Implement object detection #124

Closed Antonio-Griego closed 3 years ago

Antonio-Griego commented 3 years ago

This pull request implements object detection

The Detection Message:

Integer ID number for the object being detected ID's are defined in Obstacles.msg in the obstacle package:

Heading in radians needed to turn to face the detected object

Estimated distance to the detected object in metres

Estimated XYZ coordinates of the detected object

Logo Detection

The camera angle is expected to be set to 0 rad. Lights can be on or off depending on shading.

Leg Detection

The camera angle is expected to be set to 0 rad. Lights can be on or off depending on shading.

Volatile Detection

The camera angle is expected to be set to -15 deg (-0.26 rad); this is still being tested and may change. The lights are expected to be ON for maximum object recognition.

Cubesat Detection

The camera angle is expected to be set to +0.78 rad (45 deg); if this detector is on when the camera is facing forward it will publish bad object recognition messages. Lights can be off (they do not help when pointed to the sky in this sim)

gmfricke commented 3 years ago

requires

sudo pip install imutils

and

sudo pip install scipy

Carter90 commented 3 years ago

@gmfricke see https://github.com/BCLab-UNM/SC2/wiki/Other-packages-to-install