Updating The modules files from Hello AI world

I’ve noticed that some functions were absent while testing some of them from the jetson.utils module like GetMousePosition() and GetID() for a glDisplay object as I were getting a AttributeError.

I noticed that the files inside “Utils” from the step “git submodule update --init” from Building the Project from Source in Hello AI world were Old ones:

old commit: https://github.com/dusty-nv/jetson-utils/tree/798c416c175d509571859c9290257bd5cce1fd63

newest commit: https://github.com/dusty-nv/jetson-utils

as a example, the glDisplay.h files, the oldest doesn’t have these functions.

I managed to update the files from jetson-inference with the command “git submodule update --remote --merge” and tried again the last instructions to create new files (jetson_inference_python.so & jetson_utils_python.so )

restarted my nano, but in the end I still can’t use any of these command and possibly many others I have yet to try

So how it’s possible to update the module ?

I’m really sorry if I haven’t been clear enough with the deatils

Hi,

Not sure if this fixed is for compatibility.

You can update the utils into the latest with these command:

$ git clone https://github.com/dusty-nv/jetson-inference.git
$ cd jetson-inference
$ git submodule update --init
$ cd utils/
$ git checkout master

Thanks.