Comments (13)
https://github.com/stanfordroboticsclub/UDPComms
DEFAULT_IP = "10.0.0.255"
ip By default UDPComms sends to the 10.0.0.X subnet, but can be changed to a different ip using this argument.
Set to localhost (127.0.0.1) for development on the same computer.
from stanfordquadruped.
i have the same question ,still unsolved
from stanfordquadruped.
try running python3 /home/pi/PupperCommand/joystick.py
to run the joystick program without systemd. What does it output?
from stanfordquadruped.
try running
python3 /home/pi/PupperCommand/joystick.py
to run the joystick program without systemd. What does it output?
pi@pi(rw):~/PupperCommand$ sudo python3 joystick.py
Can't get device info: No such device
Traceback (most recent call last):
File "/usr/local/lib/python3.9/dist-packages/ds4drv/backends/bluetooth.py", line 89, in setup
subprocess.check_output(["hcitool", "clock"],
File "/usr/lib/python3.9/subprocess.py", line 424, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File "/usr/lib/python3.9/subprocess.py", line 528, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['hcitool', 'clock']' returned non-zero exit status 1.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/pi/PupperCommand/joystick.py", line 14, in
joystick = Joystick()
File "/usr/local/lib/python3.9/dist-packages/PS4Joystick.py", line 85, in init
backend.setup()
File "/usr/local/lib/python3.9/dist-packages/ds4drv/backends/bluetooth.py", line 92, in setup
raise BackendError("'hcitool clock' returned error. Make sure "
ds4drv.exceptions.BackendError: 'hcitool clock' returned error. Make sure your bluetooth device is powered up with 'hciconfig hciX up'.
from stanfordquadruped.
have you tired running hciconfig hciX up
before running that command? Its a bit weird because I think joystick.py should run that on its own but I want to make sure
from stanfordquadruped.
sudo hciconfig hciX up
Can't get device info: No such device
from stanfordquadruped.
To start with,I didnt use offical img ,instead i used version _2021 bulleyes( 2021-10-30-raspios-bullseye),and followed the offical document to install the software
from stanfordquadruped.
It seems like the pi's bluetooth module is not showing up at all. What version of Pi are you using? What's the output of hcitool dev
?
from stanfordquadruped.
raspberry 4b ,pi@pi(rw):~/PupperCommand$ hcitool dev
Devices:
device is blank
from stanfordquadruped.
It's possible something changed between raspios versions. A quick googling brings this up which suggests early bullseye versions had something wrong with bluetooth. I would recommend updating raspios (it should be possible to do in place without reinstalling) and seeing if that fixes things
from stanfordquadruped.
pi@pi(rw):$ sudo nano /etc/apt/sources.list.d/raspi.list$ sudo apt-get update
pi@pi(rw):
Hit:1 http://mirrors.tuna.tsinghua.edu.cn/raspbian/raspbian bullseye InRelease
Hit:2 http://mirrors.tuna.tsinghua.edu.cn/raspberrypi bullseye InRelease
Reading package lists... Done
pi@pi(rw):$ sudo apt-get upgrade$ sudo hcitool dev
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
pi@pi(rw):
Devices:
still blank
i think maybe i need to reinstall it to the newest version
from stanfordquadruped.
It's possible something changed between raspios versions. A quick googling brings this up which suggests early bullseye versions had something wrong with bluetooth. I would recommend updating raspios (it should be possible to do in place without reinstalling) and seeing if that fixes things
thanks for your advice
from stanfordquadruped.
pi@pi(rw):
$ sudo nano /etc/apt/sources.list.d/raspi.list pi@pi(rw):$ sudo apt-get update Hit:1 http://mirrors.tuna.tsinghua.edu.cn/raspbian/raspbian bullseye InRelease Hit:2 http://mirrors.tuna.tsinghua.edu.cn/raspberrypi bullseye InRelease Reading package lists... Done pi@pi(rw):$ sudo apt-get upgrade Reading package lists... Done Building dependency tree... Done Reading state information... Done Calculating upgrade... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. pi@pi(rw):$ sudo hcitool dev Devices: still blank i think maybe i need to reinstall it to the newest version
Did you solve it ? Totally same problem, though I am in the Debian 10.
from stanfordquadruped.
Related Issues (20)
- joystick.service HOT 1
- Raspberry Pi Login Information HOT 2
- Inverse Kinematic for a single leg HOT 7
- Update instructions for easier wireless SSHing
- Questions about vision sensors HOT 1
- self.udp_publisher.send ConnectionRefusedError on second call
- Need update raspbian buster lite to a new version
- Abnormal process about pwm_to_duty_cycle HOT 1
- Inverse Kinematics HOT 3
- Unsuccessful loading of stanford pupper code, multiple errors. HOT 2
- Is there any ROS support for this thing? HOT 1
- walk
- circuit diagram! HOT 1
- ps4 HOT 2
- install.sh error HOT 3
- reverse servomotors
- How to activate the robot after calibration.
- Excitement for Pupper v3 Release
- Anticipation for Pupper v3 Release and Request for Updates HOT 5
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 stanfordquadruped.