Comments (3)
No, you need to make your code remember what position you have moved it
to. In the general case someone can force a servo position and there is no
interface to read the actual position from the servo.
On 26 Mar 2016 8:15 am, "timbuktu031" [email protected] wrote:
Can I get current servo position?
I need current position to reverse direction.
advise me.—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
#60
from pibits.
thanks.
2016-03-27 6:05 GMT+09:00 richardghirst [email protected]:
No, you need to make your code remember what position you have moved it
to. In the general case someone can force a servo position and there is no
interface to read the actual position from the servo.
On 26 Mar 2016 8:15 am, "timbuktu031" [email protected] wrote:Can I get current servo position?
I need current position to reverse direction.
advise me.—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
#60—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
#60 (comment)
from pibits.
I have a similar need to show actual servo position. My idea would be to show the value of "servo1=servo1+2" after each keystroke next to the left, right, up, down which is shown on screen. My servos (pan and tilt) mid position is 150 and limited between 70 and 230. With which syntax can I get the value servo1 shown on screen ? Greatful for any advice how to acheive this !
calleblyh helsinki
from pibits.
Related Issues (20)
- Debian Buster : undefined reference to `makedev' -> (need define sys/sysmacros.h) HOT 5
- Catastrophic Segfault on PI 4 (crash-loop the ssh server forever) HOT 2
- Servoblaster for Pi4 HOT 2
- Teapot Demo HOT 2
- Installed servoblaster for Raspberry Pi 3 Model B+ but an error occured HOT 15
- MPU6050 Remote I/O error on RasberryPI 4 HOT 2
- one pi to another HOT 4
- Bug. Unable to play audio music files when servod is launched. HOT 3
- Stop continuous servo sg90 with servoblaster HOT 1
- servod: Cannot parse the hardware name string HOT 1
- Cannot compile servod on Pi Zero with Raspbian Buster HOT 2
- is it important that /proc/cpuinfo for the Pi Zero varies by the OS version ? HOT 2
- Servoblaster for Pi4 B HOT 3
- brushless motors run few seconds HOT 5
- modprobe: FATAL: Module servoblaster not found in directory /lib/modules/5.4.79-v7l+ HOT 5
- Me Arm Raspberry Pi issue HOT 7
- complie issue of Pi4 8GB HOT 2
- Servoblaster does not work well on new Raspberry installation HOT 4
- ERROR: /dev/servoblaster does not exist
- ServoBlaster and Bullseye
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pibits.