Aufgrund einer Wartung wird GitLab am 21.09. zwischen 8:00 und 9:00 Uhr kurzzeitig nicht zur Verfügung stehen. / Due to maintenance, GitLab will be temporarily unavailable on 21.09. between 8:00 and 9:00 am.

Commit fc744dae authored by Nicola Gatto's avatar Nicola Gatto
Browse files

Reshape environment state for multidimensional states

parent 3366990b
Pipeline #149570 failed with stages
......@@ -212,7 +212,7 @@ class RosEnvironment(Environment):
rospy.signal_shutdown('Program ended!')
def __state_callback(self, data):
self.__last_received_state = np.array(, dtype='float32')
self.__last_received_state = np.array(, dtype='float32').reshape((<#list config.stateDim as d>${d},</#list>))
rospy.logdebug('Received state: {}'.format(self.__last_received_state))
self.__waiting_for_state_update = False
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment