This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pcm.!default { | |
type plug | |
slave { | |
pcm "hw:1,0" | |
} | |
} | |
ctl.!default { | |
type hw | |
card 1 | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This is the SCUTTLE replacement for the adafruit_pwm.py file | |
# Use this program to overwrite the original adafruit_pwm.py contents. | |
def setup(robot_config): # setup is a required function for the selected hardware program | |
return | |
# A function for sending command to a file in the temporary folder | |
def tmpFile(value): # this function takes a 2-element array called val | |
txt = open("/tmp/commandFile.txt",'w+') # file with specified name | |
txt.write(str(value)) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# the Lidar returns some error values when it can't get a measurement. | |
# any value below 16mm indicates a bad reading or other problem. | |
# this code is practice for trimming the bad readings out of the array | |
# containing distances & angles. | |
import numpy as np | |
np.set_printoptions(suppress=True) | |
# create an array with some distances which returned invalid (ie 0, 0.002) | |
scan= np.array([ \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Handling distance vectors in the robot coordinate frame | |
# Import external libraries | |
import numpy as np | |
from numpy import exp, abs, angle | |
import time | |
# Import internal programs | |
import L1_lidar as lidar |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I have followed both the guided installation and manual installation of the remotv controller on a Raspberry Pi and was able to control a robot successfully. I am now trying to get the remotv controller to run on a BeagleBone Blue which has not been successful. When I run the controller.py program, remo.tv says the robot is online and only streams audio while the video stays black. I have checked that the webcam does show up on /dev/video0 which is also what I have set in my controller.conf file. When I run the program I get this output: | |
debian@beaglebone:~/remotv$ python controller.py | |
04:48:27 - controller.py : RemoTV Controller Starting up | |
modprobe: FATAL: Module bcm2835_wdt not found in directory /lib/modules/4.14.71-ti-r80 | |
aplay: main:788: audio open error: No such file or directory | |
04:48:29 - controller.py : RemoTV Controller Started | |
04:48:29 - controller.py : Unknown event type | |
Video does not stream but audio does. | |
Also as a comparison, I connected to remo.tv using a raspberry pian and had success str |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"id": "267bf868.5e6a88", | |
"type": "tab", | |
"label": "ScuttleFlowGeneral", | |
"disabled": false, | |
"info": "" | |
}, | |
{ | |
"id": "84aaf1fd.4870b", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# data output functions to txt files for NodeRed and MQTT | |
# Import external programs | |
import numpy as np # for array manipulation | |
import time # for keeping time | |
# Import internal programs | |
import L1_encoder as enc | |
import L2_log as log | |
import L2_heading as head |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"id": "267bf868.5e6a88", | |
"type": "tab", | |
"label": "My Export Flow", | |
"disabled": false, | |
"info": "" | |
}, | |
{ | |
"id": "84aaf1fd.4870b", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"id": "6cb40ed0.4205e", | |
"type": "tab", | |
"label": "Flow 1", | |
"disabled": false, | |
"info": "" | |
}, | |
{ | |
"id": "975b262b.d595d8", |