Skip to content

Logging with Python, ROS, and C++

I have a codebase of Python and C++ code, including heavy use of ROS. Logging is done throughout the Python code with both system logger and rospy logging — contrived example: As for C++ code we need to add logging, probably with glog but I’m open to other options. Is there a way to integrate the …

How to install Python packages in a specific environment?

I installed Anaconda3 so I can create environments and install different packages in each environment. But I fail to understand the difference between the Python in and I can seem to access Python 3.6.5 Anaconda from both, why is that? And, what is the difference between both? Furthermore, I would like to ins…

degree decimal to utm conversion, python

I got surprised when I tried to convert degree decimal coordinates into utm by using available library in anacondautm. my coordinates looks like: and lat values are: when I made scatter plot it looks like normal: After converting coordinates in to utm distribution of the points change completely and looks str…

ModuleNotFoundError when running script from Terminal

I have the following folder structure: app __init__.py utils __init__.py transform.py products __init__.py fish.py In fish.py I’m importing transform as following: import utils.transform. When I’m running fish.py from Pycharm, it works perfectly fine. However when I am running fish.py from the Ter…