Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [python]

Python is a widely used high-level, general-purpose, interpreted, dynamic programming language.

1
vote
1answer
453 views

EKF-SLAM, how best to manage the 'P' covariance matrix, programatically

I've recently been learning about SLAM and EKF-SLAM. I've began my implementation in python, but have had trouble managing the updating of P, especially when it comes to adding new landmarks. ...
0
votes
1answer
289 views

SLAM noob here, a few questions regarding EKF-SLAM

I've recently been learning about SLAM and have been attempting to implement EKF-SLAM in python. I've been using this great article as a guide. Some progress has been made, but I'm still confused by ...
2
votes
1answer
279 views

where can I get openinterface.py?

I am trying to program the create2 irobot using python. there is a script called openinterface.py. where can I download this script?
4
votes
1answer
8k views

How to get a python node in ROS subscribe to multiple topics?

How a ROS node written in Python could subscribe to multiple topics and publish to multiple topics? All examples I found were for a single topic. Is this an event-driven model so subscription to ...
0
votes
2answers
720 views

Help with code that is supposed to drive a servo controller

I posted a similar question before as I was just getting started with the project but I wasn't specific enough so got a weak response from the SE community. But now I am at a point where I have Python ...
0
votes
2answers
294 views

Nano Quadcopters Microcontroller and battery

I am looking into building a nano quadcopter, But as i watch more resources and videos i get more confused, regarding some of the things that i hope would be answered here. I am in very basic level of ...
0
votes
2answers
424 views

Robotics simulation from PNG map

I am a complete beginner at this. I have an arbitrary map as a PNG file (black and white, only). And I'm supposed to draw a robot at a position(x,y) and then I'm supposed to simulate the robot taking ...
0
votes
1answer
638 views

Visibility Graph Toolbox for Python [closed]

I'm searching for a python toolbox/library to do visibility graph based motion planning. I have searched on the internet, but couldn't find anything. I'm probably missing out... Is there any package, ...
6
votes
1answer
2k views

Unwanted Arduino reconnect: Servo + Arduino + Python (Raspberry Pi)

I am having difficulty sustaining a connection between my Raspberry Pi (Model B running Raspbian) and my Arduino (Uno) while sending signals from the Raspberry Pi to a continuously rotating servo (...
0
votes
0answers
243 views

What dependencies do I need for USB programing in python with pyUSB?

I am trying to get the usb.find command to work properly in a python script I'm writing on Angstrom for the Beagleboard. Here is my code: ...
6
votes
1answer
264 views

Using Armatures in Morse Robotic Simulator

I'm trying to add my own robot in Morse 1.1 (using Ubuntu 12.04). I am struggling to add an armature actuator and armature pose sensor to an existing robot. Can someone please explain how this can be ...
1
vote
1answer
170 views

Roboticize an old netbook? [closed]

I have an old beat-up netbook that is currently collecting dust. I've also only taken stuff apart, without having to worry about putting it back together, so please bear with my possibly stupid ...
1
vote
1answer
1k views

How to retrieve parameters from mavlink .tlog using pymavlink?

I've been able to use pymavlink.mavutil to read telemetry from a .tlog created by MissionPlanner. To do this, I create a mavlogfile like this: ...
8
votes
1answer
1k views

How can I manipulate real-time sonar data from my Arducopter in Arduino?

I have a APM 3DR Quad with a 3DR radio telemetry kit. I would like to send real-time sonar data to my laptop (running Windows 7) in order to manipulate it in an additional Arduino Sketch. The ...
1
vote
1answer
144 views

Python3 Modules for motor movement

Are there any Python3 modules used to program robotic movement by declaring a device or component and then providing the instructions? I am not looking for modules that test the components.
5
votes
1answer
10k views

Send Arduino sensor data to server with GPRS shield

I'm trying to send Arduino sensor data to a server using a GPRS shield (SIM900 shield from Geeetech). I have this particular set up because the data will be updated to a website and the device will be ...
5
votes
1answer
690 views

Numpy alternatives for linear algebra and kinematics in python?

Are there any decent python numerical package libraries besides numpy for python? Numpy relies on gfortan which itself must be compiled correctly for your platform to avoid hidden/insidious numerical ...
8
votes
2answers
517 views

Red [ERROR] output in python in ROS

In ROS, I cannot get [ERROR] logs to print in red when I use python. How can I make them appear in red instead of black? For example, the following Python: ...