Comments (18)
Problem fixed on the referenced commit.
About your question, i think you can use the recommended routers on the Xie OpenWrt project page because i haven't tested CSI using off-the-shelf routers.
Best.,
from csi-monitor.
from csi-monitor.
You need to go to the gui folder (where the csi_monitor_gui.m file is available) or you need to include that directory to your working path on matlab.
from csi-monitor.
You need to go to the gui folder (where the csi_monitor_gui.m file is available) or you need to include that directory to your working path on matlab.
It worked! I opened up the csi_monitor_gui folder and run the command, and the GUI opened up. Thank you!
Another issue I got is after I run the command csi_monitor_gui and opened up the GUI window. On matlab, I got errors (attach in the following picture). Is that because I have not connected any device yet / have not configured the CSI Monitor GUI correctly?
Thanks for the help!
from csi-monitor.
you have not attached the picture.
from csi-monitor.
you have not attached the picture.
I am sorry about that. Here it is.
from csi-monitor.
@RusifE try to rename csi_monitor_gui.m and csi_monitor_gui.fig to realtime_view.m/.fig respectively. That was the first name of this files, maybe i need to change something on .fig file to make it works. After renaming you need to open using realtime_view command.
from csi-monitor.
@brunosoaresds ,
Yes, that worked! Also, run the command realtime_view instead of csi_monitor_gui since renamed it. Was wondered why it caused the issue?
Thanks for the help!
from csi-monitor.
Hi, I have the first issue up there. After I fixed the quotation mark, I am still receiving the same error. Any other suggestions?
csi-device-manager$ make gcc -pthread -c ./src/csi_fun.c -o ./build/csi_fun.o ./src/csi_fun.c: In function ‘record_status’: ./src/csi_fun.c:140:27: warning: left shift count >= width of type [-Wshift-count-overflow] ((buf_addr[0] << 56) & 0x00000000000000ff) | ((buf_addr[1] << 48) & 0x000000000000ff00) | ^ ./src/csi_fun.c:140:72: warning: left shift count >= width of type [-Wshift-count-overflow] ((buf_addr[0] << 56) & 0x00000000000000ff) | ((buf_addr[1] << 48) & 0x000000000000ff00) | ^ ./src/csi_fun.c:141:27: warning: left shift count >= width of type [-Wshift-count-overflow] ((buf_addr[2] << 40) & 0x0000000000ff0000) | ((buf_addr[3] << 32) & 0x00000000ff000000) | ^ ./src/csi_fun.c:141:72: warning: left shift count >= width of type [-Wshift-count-overflow] ((buf_addr[2] << 40) & 0x0000000000ff0000) | ((buf_addr[3] << 32) & 0x00000000ff000000) | ^ ./src/csi_fun.c:151:27: warning: left shift count >= width of type [-Wshift-count-overflow] ((buf_addr[7] << 56) & 0x00000000000000ff) | ((buf_addr[6] << 48) & 0x000000000000ff00) | ^ ./src/csi_fun.c:151:72: warning: left shift count >= width of type [-Wshift-count-overflow] ((buf_addr[7] << 56) & 0x00000000000000ff) | ((buf_addr[6] << 48) & 0x000000000000ff00) | ^ ./src/csi_fun.c:152:27: warning: left shift count >= width of type [-Wshift-count-overflow] ((buf_addr[5] << 40) & 0x0000000000ff0000) | ((buf_addr[4] << 32) & 0x00000000ff000000) | ^ ./src/csi_fun.c:152:72: warning: left shift count >= width of type [-Wshift-count-overflow] ((buf_addr[5] << 40) & 0x0000000000ff0000) | ((buf_addr[4] << 32) & 0x00000000ff000000) | ^ gcc -pthread -c ./src/socket.c -o ./build/socket.o gcc -pthread -c ./src/sender.c -o ./build/sender.o gcc -pthread -c ./src/csi_collector.c -o ./build/csi_collector.o gcc -pthread -c ./src/main.c -o ./build/main.o gcc -pthread ./build/csi_fun.o ./build/socket.o ./build/sender.o ./build/csi_collector.o ./build/main.o -o ./build/csi_device_manager
This is my Makefile:
`SRC_DIR = ./src
BUILD_DIR = ./build
BIN_PATH = $(BUILD_DIR)/csi_device_manager
DAEMON_FILE_PATH = ./init/csi-device-manager.daemon
INSTALLATION_DIR = /opt/csi-device-manager
INSTALLATION_BIN_PATH = $(INSTALLATION_DIR)/csi_device_manager
INTERFACE_ID_FILE = $(INSTALLATION_DIR)/interface_id
PORT_ID_FILE = $(INSTALLATION_DIR)/port_id
INIT_FILE_PATH = /etc/init.d/csi-device-manager
INSTALLATION_OUTPUT_FILES_DIR = $(INSTALLATION_DIR)/outputs
OBJS = csi_fun.o socket.o sender.o csi_collector.o main.o
BUILD_OBJS =
CC = gcc -pthread
csi_device_manager: $(OBJS)
@mkdir -p $(BUILD_DIR)
csi_fun.o:
@mkdir -p $(BUILD_DIR)
socket.o:
@mkdir -p $(BUILD_DIR)
sender.o:
@mkdir -p $(BUILD_DIR)
csi_collector.o:
@mkdir -p $(BUILD_DIR)
main.o:
@mkdir -p $(BUILD_DIR)
clean:
rm -f
@if [ -d "$(BUILD_DIR)" ]; then
rm -r $(BUILD_DIR);
fi
install:
@if [ ! -d "$(BUILD_DIR)" ] || [ ! -f "$(BIN_PATH)" ] ; then
echo "Project not builded yet.";
exit 2;
else
if [ -d "$(INSTALLATION_DIR)" ]; then
$(INIT_FILE_PATH) force-stop;
update-rc.d -f csi-device-manager remove;
rm -r $(INSTALLATION_DIR);
fi;
mkdir $(INSTALLATION_DIR);
cp
cp
read -p "Enter WLAN interface that the CSI Device manager will manage:" interface_in;
echo "$$interface_in" > $(INTERFACE_ID_FILE);
read -p "Enter the server port to be used (Default/Enter: 3000):" port_in;
echo "$$port_in" > $(PORT_ID_FILE);
mkdir $(INSTALLATION_OUTPUT_FILES_DIR);
chmod a+x $(INIT_FILE_PATH);
update-rc.d csi-device-manager defaults;
echo "========== Congratulations!! ==========";
echo "======== Installation done :) =========";
echo "If you need to change server port or WLAN interface, please change '$(PORT_ID_FILE)' and '$(INTERFACE_ID_FILE)' files.";
echo "You can start the service running $(INIT_FILE_PATH) start";
echo "============== All done! ==============";
fi`
Thanks
from csi-monitor.
@aynurm, this is only warnings, if you see build dir the program was successfully compiled. You can proceed without a problem.
from csi-monitor.
Great! Yes, build dir is available right now. Thank you
from csi-monitor.
Hi, I have the following error. I try to start the csi. It says CSI Device Manager started but when I check the status of it, it says that it is not running. Could you please explain what should I do to fix it?
`
/Downloads/csi-monitor-master/csi-device-manager$ /home/admin/Downloads/csi-monitor-master/csi-device-manager/init/csi-device-manager.daemon start
CSI Device Manager started!
/Downloads/csi-monitor-master/csi-device-manager$ /home/admin/Downloads/csi-monitor-master/csi-device-manager/init/csi-device-manager.daemon status
CSI Device Manager is not running!!!
from csi-monitor.
Also, where I should run this command at? In my machine or in receiver/sender?
hostapd -B scripts/hostapd<5|2.4>.conf
from csi-monitor.
After the installation, the service will be installed on system.d so you need to init using service csi-device-manager start and not calling the relative daemon script.
The hostapd you will run on the receiver or the sender (you need to choose what device will be the AP and who will be the client). The hostapd creates the AP.
from csi-monitor.
Hi @brunosoaresds ,
Even when I start it from init.d, the status shows that it is not running. Could you please explain why and how I can fix it? Also. could you please let me know how I can I check if hostapd is running on either receiver or the sender?
~$ /etc/init.d/csi-device-manager start
CSI Device Manager started!~$ /etc/init.d/csi-device-manager status
CSI Device Manager is not running!!!
from csi-monitor.
What is the output of the command if you run the chai manager binary directly on the /opt path?
About the hostapd you can check via ps aux and monitor the interface with iwconfig to see if the network was established
from csi-monitor.
I found the same problem.I am trying to install CSI on my ubuntu 14.04. I have Matlab and Python installed and SSH activated.I have received the csi by using xie tool.When I make.The warm is so on...
install./bin/sh: 25: Syntax error: Unterminated quoted string
make: *** [install] Error 2
you say you can use the recommended routers on the Xie OpenWrt project page because i haven't tested CSI using off-the-shelf routers.Does it mean I need to run the installing of Xie OpenWrt?
I only used the tool on ubuntu.
Thanks a lot!
from csi-monitor.
Do you have updated the repo? I have fixed the quoted problem in the latest commit. About the router I have only used in my thesis the Ubuntu version too. But you can try (if you want to) use the openwrt version.
from csi-monitor.
Related Issues (11)
- Rearranging CSI based on perm - (get_csi_streams.m) HOT 1
- csi-device-manager on OpenWRT HOT 3
- Request WiDMove Dataset
- Rearranging CSI based on perm HOT 2
- Epoch/Unix timestamp in received csi data HOT 3
- question about on csi-monitor HOT 1
- Is it possible to use the CSI Monitor tool for just the log file? HOT 1
- GUI not running: undefined function or variable 'realtime_view' HOT 2
- Could not connect to sender HOT 11
- Ssh needed for CSI Monitor GUI on 2 devices? HOT 3
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 csi-monitor.