I am trying to use a model.h5 (witch I created on python3,tensorflow2) on a node on ROS kinetic (ubuntu 16.04) to predict the steering angle of a turtlebot3 (running on gazebo7) after receiving a frame/image. The incompatibility of ROS with any other python versions takes me to a deadend since I tried everything I could think of. I tried installing a venv of python 3, but as soon as I change the python alternative or the script's python version ROS won't run and none of the other possible solutions that I found online worked for me. Thanks in advance!
Trying to create a ROS Kinetic Node which depends on python 3.6 but Kinetic supports only python version 2
266 views Asked by Pavlos Pseimadas At
1
There are 1 answers
Related Questions in PYTHON
- How to store a date/time in sqlite (or something similar to a date)
- Instagrapi recently showing HTTPError and UnknownError
- How to Retrieve Data from an MySQL Database and Display it in a GUI?
- How to create a regular expression to partition a string that terminates in either ": 45" or ",", without the ": "
- Python Geopandas unable to convert latitude longitude to points
- Influence of Unused FFN on Model Accuracy in PyTorch
- Seeking Python Libraries for Removing Extraneous Characters and Spaces in Text
- Writes to child subprocess.Popen.stdin don't work from within process group?
- Conda has two different python binarys (python and python3) with the same version for a single environment. Why?
- Problem with add new attribute in table with BOTO3 on python
- Can't install packages in python conda environment
- Setting diagonal of a matrix to zero
- List of numbers converted to list of strings to iterate over it. But receiving TypeError messages
- Basic Python Question: Shortening If Statements
- Python and regex, can't understand why some words are left out of the match
Related Questions in PYTHON-3.X
- SQLAlchemy 2 Can't add additional column when specifying __table__
- Writes to child subprocess.Popen.stdin don't work from within process group?
- Platform Generation for a Sky Hop clone
- What's the best way to breakup a large test in pytest
- chess endgame engine in Python doesn't work perfectly
- Function to create matrix of zeros and ones, with a certain density of ones
- how to create a polars dataframe giving the colum-names from a list
- Django socketio process
- How to decode audio stream using tornado websocket?
- Getting website metadata (Excel VBA/Python)
- How to get text and other elements to display over the Video in Tkinter?
- Tkinter App - My Toplevel window is not appearing. App is stuck in mainloop
- Can I use local resources for mp4 playback?
- How to pass the value of a function of one class to a function of another with the @property decorator
- Python ModuleNotFoundError for command line tools built with setup.py
Related Questions in UBUNTU-16.04
- Store website username/password on Elinks for Ubuntu
- Having issues joining my kubernetes worker noed to a controller node
- Request Content-Length 198664571 exceeds the configured limit of 31457280
- ASP.NET Core app does not redirects to ssl port on nginx + ubuntu
- Error in installing imagick due to dependencies issue
- How can I build python3.11 with ssl for ubuntu 16.04
- GTK/GDK/X11 Issue With Window Titles Larger Than Window on Ubuntu 16.04
- Write multiple commands in a row to WSL ubuntu terminal
- Error installing python3.7 on ubuntu 16.04
- I am trying to install Ubuntu OS and I encounter an input/output error while installing the system
- How do I get the data I extract from NetCDF using NCO to be in correct format?
- Web server not using TLS 1.2 when connecting to Amazon SES via SMTP
- Why is gem telling me the current ruby version is 2.5.0 when it's not?
- Not able Unlock Window Vm which is configured inside the ubuntu server QEMU/KVM
- Docker apt-get update fails during building phase
Related Questions in ROS
- Python cv2 imwrite() - RGB or BGR
- How do I stream data from TUM RGB-D to ORB-SLAM3 and analyse/record data from that
- px4 Drone does not follow Mavsdk control
- (ros melodic) Lidar odometry is not working well
- cmake and g++ cross compilation looking for library in host sysroot path instead of target sysroot
- How to Reset Quadcopters' Position and Velocity in Gazebo Using Python Script Without Relaunching the Launch File?
- Ros publisher and arduino subscriber
- Transform error while launching multiple turtlebots in ROS NOETIC
- How to convert local radar laser to global position?
- Unable to apply Camera Distortion on Gazebo Harmonic
- Extracting obstacle information from hectorslam map data
- KITTI dataset: ground truth labels (bird's eye view) match after an image generation?
- How to install pyyaml into `/usr/lib/python3/dist-packages`
- ros noetic installation problem on ubuntu
- How do I modify this DC motor encoder code to work with 4 DC motors?
Related Questions in TENSORFLOW2
- Unable to install Tensorflow 2.15 and some dependencies
- How to use Tensorboard to autonomously draw loss, acc, and model architecture diagrams
- How can I combine a py_function inside a map function?
- I am noticing lower validation accuracy on my dataset between Tensorflow 2.4 and Tensorflow 2.9
- How to do inference with tensorflow2 with multi GPUs
- How to save histogram plots from Tensorboard 2 to disk, just like you can do with scalars?
- Obtain Uint8 Tensor from BufferedImage - java
- AttributeError: type object 'DatasetV2' has no attribute 'save'
- Can't install TensorFlow 2.7.0 on an A10 GPU
- Loading Tensorflow 2.6 protocol buffers into Java 8
- How to use the optimizer in tensorflow2 correctly?
- Is the CUDA version listed in the Tensorflow installation instructions the maximum or minimum version that can/should be installed?
- Converting RGB Dataset to Grayscale Dataset by averaging color channels with Numpy
- Trying to create a ROS Kinetic Node which depends on python 3.6 but Kinetic supports only python version 2
- iterating over `tf.Tensor` is not allowed
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Popular Tags
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
You won't be able to run a ros node with Python3 under Kinetic. As mentioned in a comment Noetic would be your best option if you need Python3, however, you cannot run Noetic on 16.04; it would need to be 20.04. If both python3 and Kinetic/16.04 nodes are absolutely needed you'll have to use another way to communicate. The best way to do this is most likely abstracting out the ros parts from your python3 scripts and having it communicate via TCP/UDP socket.