etsardou / intelligent_robot_systems_2016 Goto Github PK
View Code? Open in Web Editor NEWExercise for the Intelligent Robot Systems course, School of Electrical and Compute Engineering, AUTH, 2016
License: GNU General Public License v3.0
Exercise for the Intelligent Robot Systems course, School of Electrical and Compute Engineering, AUTH, 2016
License: GNU General Public License v3.0
intelligent_robot_systems_2016/art_autonomous_exploration/src/topology.py
Lines 136 to 137 in 5dd96db
for i in range(1, img.shape[0] - 1):
for j in range(1, img.shape[1] - 1):
I get the error below when executing roslaunch art_autonomous_exploration everything.launch:
Map & coverage expansion!
Coverage copy new size: (500, 500)
New coverage info: (500, 500)
[ERROR] [1494008375.553133]: bad callback: <bound method RobotPerception.readMap of <robot_perception.RobotPerception instance at 0x7fb04691d908>>
Traceback (most recent call last):
File "/opt/ros/kinetic/lib/python2.7/dist-packages/rospy/topics.py", line 750, in _invoke_callback
cb(msg)
File "/home/achilleas/Documents/int_robot_sys/catkin_ws/src/intelligent_robot_systems_2016/art_autonomous_exploration/src/robot_perception.py", line 237, in readMap
if self.ogm[xx + i, yy + j] > 49 or self.ogm[xx + i, yy + j] == -1:
IndexError: only integers, slices (`:`), ellipsis (`...`), numpy.newaxis (`None`) and integer or boolean arrays are valid indices
The error appears on vanilla code, I haven't yet added anything. I'm on Ubuntu 16.04, with ROS Kinetic.
Before that error I was getting:
ImportError: No module named yaml and then ImportError: No module named rospkg. I installed them with pip, and then the error above appeared.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.