-
Allow the root user to access the running X server
xhost +local:root
- Pull the prebuild docker image. (For
non-Nvidia GPU)
| /* | |
| ** SegmentalController.cpp | |
| ** | |
| ** Copyright (C) 2013-2019 Thomas Geijtenbeek and contributors. All rights | |
| *reserved. | |
| ** | |
| ** This file is part of SCONE. For more information, see http://scone.software. | |
| */ | |
| #include "SegmentalController.h" |
Allow the root user to access the running X server
xhost +local:root
non-Nvidia GPU)| import rclpy | |
| import time | |
| import numpy as np | |
| from rclpy.node import Node | |
| from std_msgs.msg import Float32 | |
| def main(): | |
| rclpy.init() | |
| node = Node('my_node') | |
| rv_publisher = node.create_publisher(Float32, 'my_rv', 1) |
| import numpy as np | |
| import tensorflow as tf | |
| from keras.models import Model | |
| from keras.layers import Input | |
| from keras.layers.core import Reshape, Dense, Dropout, Flatten | |
| from keras.layers.advanced_activations import LeakyReLU | |
| from keras.losses import MSE | |
| from keras.optimizers import SGD | |
| from keras import backend as K | |
| from keras import initializers |