Finding translation and rotation using M4
Finding translation and rotation using M4
I am new to OpenMV and am using an M4. I am trying to use it to find translational movement and rotational movement. I came across the find_displacement class but it is not supported for the M4. Therefore, I'm wondering if there is an find_displacement equivalent for the M4 camera.
Re: Finding translation and rotation using M4
Hi, we removed these features from the M4 camera because of flash space exhaustion to fit the feature. You can re-enable this in our firmware if you modify our code. otherwise, you need to buy the OpenMV Cam M7 or back us for the OpenMV Cam H7.
Nyamekye,
Re: Finding translation and rotation using M4
How should I go about re-enabling the library in the firmware?
Re: Finding translation and rotation using M4
Just go here and uncomment this line:
https://github.com/openmv/openmv/blob/m ... nfig.h#L61
https://github.com/openmv/openmv/blob/m ... nfig.h#L58
That said, the firmware won't fit once you do that. So, go somewhere else in the code and comment out features that aren't needed for your app. The easiest way to do this is to comment out something here: https://github.com/openmv/openmv/blob/m ... ge.c#L5241 and then the function that the table pointed to in the file.
https://github.com/openmv/openmv/blob/m ... nfig.h#L61
https://github.com/openmv/openmv/blob/m ... nfig.h#L58
That said, the firmware won't fit once you do that. So, go somewhere else in the code and comment out features that aren't needed for your app. The easiest way to do this is to comment out something here: https://github.com/openmv/openmv/blob/m ... ge.c#L5241 and then the function that the table pointed to in the file.
Nyamekye,
Return to “Technical Discussion”
Who is online
Users browsing this forum: No registered users and 2 guests