#1 Re: Any Questions » Launch ROS processes in Intel Edison » 2016-10-04 15:34:33

hi Wingcloud,

i tried and obviously there are BLEnode and Controlnode that not being run during the launch. 
is there a way to re-compile the run package and we can initialized all the node again ?
what is the command line involve ?
thanks again.

Lee

#2 Re: Any Questions » Launch ROS processes in Intel Edison » 2016-10-04 13:22:32

hi Wingcloud,

i faced some problem now that after i modified / replace the controlNode.py file, the ROS can not start automatically anymore.
the PcToControl node down and error.  is there a way to recover this ?  do we normally required to rerun the setup.bash file ? 
i couldnt find the setup.bash .  Need urgent help on this. thanks

Lee

#3 Re: Any Questions » Launch ROS processes in Intel Edison » 2016-10-02 16:35:44

hi Wingcloud,

is it possible to copy the bleNode.py file from your plen-dev ? and send over me through email ?  i would like to check if the file is corrupted.  the python file located at /opt/ros/indigo/lib/plen .. 

thanks a lot
Lee

#4 Re: Any Questions » Launch ROS processes in Intel Edison » 2016-09-30 07:40:38

thanks for the great help wingcloud,  is there an email contact i can send request to ?  i need urgent helps on this too....

appreciate your great support

Lee

#5 Re: Any Questions » Launch ROS processes in Intel Edison » 2016-09-29 14:10:27

hi wingcloud,

i tried and can not,  it was never able to control my PLEN2Dev using PLENconnect (from andriod app).. 

does this indicate something wrong with the control board  from Edison ?  however when i use USB connection and motion editor from laptop (with server running)  it can move.

thanks
Lee

#6 Re: Any Questions » Launch ROS processes in Intel Edison » 2016-09-29 11:28:42

hi Wingcloud,

i have tried swap the connector on the head board too.  its seem like my case have no issue to turn on and off of the LED (Edison board) but when i need to control the arduino board, its has problem to issue command to the board.  do you know if there is a way to debug this ? how can i know if the connection is made successful ?

is there any command to initialize the arduino board before command can be issued ?


thanks
Lee

#7 Re: Any Questions » Launch ROS processes in Intel Edison » 2016-09-28 15:30:40

hi Wingcloud, 

i reinstall all the motion and its seem not working as well,  what will cause such issue ? GPIO is working but play motion is not working ?

in fact i run the rostopic pub command from the putty connection in the plen2Dev.  is this matter ? do i need to run from my ubuntu ROS ?
by the way i notice there is 2 connectors from the Plen head board to the arduino controller board, is the connection of the between headboard and controller board matter ?  which one i should attached to ?

thanks and really need help on this .

Lee

#8 Re: Any Questions » Launch ROS processes in Intel Edison » 2016-09-27 22:18:00

hi wingcloud,

i tried
rostopic pub -1 /PcToControl std_msgs/String -- 'serial,w,$pm04'
rostopic pub -1 /GpioToControl std_msgs/String -- 'serial,w,$pm04' etc ...

and each of the control topic too,  its doesnt seem working.  need help to let me know if i have missed anything ?
thanks for the great helps

Lee

#9 Re: Any Questions » Launch ROS processes in Intel Edison » 2016-09-27 16:37:47

hi Wingcloud,

i manage to run the LED blink command smoothly now as follow:
LED ON:
laptop> rostopic pub -1 /PcToControl std_msgs/String -- "gpio,w,on"
LED OFF:
laptop> rostopic pub -1 /PcToControl std_msgs/String -- "gpio,w,off"

but when i try to play a motion to robot, its doesnt move at all,  is the command i used below correct ?
rostopic pub -1 /PcToControl std_msgs/String -- "serial,w,$pm04"

do i miss out anything in order to play the motion ?

thanks

#10 Re: Any Questions » Launch ROS processes in Intel Edison » 2016-09-27 02:57:04

thanks again Wingcloud for the helps.

yes, i finally figured out the error was cause by one of the batch file that export the MASTER_URI to 192.168.42.1 and i corrected the server address, its can start the roslaunch plen.launch properly and my laptop can perform the rostopic list properly.

just one challenge i facing now is the roslaunch some how stuck at the bleNode.py which causing the error of 
" bluetoothd : failed to read advertising features: xxxxxx
" bluetoothd : hci0 load connection parameters failed : unknown command (0x01)
.........

do i need to setup a BLE donggle to get the Plen bluetooth connected correctly ?  how do i pair the device with plen so that the communication started ?  i plan to use BLE to trigger plen "wake up"  is there a way to do so ?

thanks for the advice again .

#11 Re: Any Questions » Launch ROS processes in Intel Edison » 2016-09-20 15:35:28

hi Wingcloud,

i manage to get the ubuntu installed in my laptop, but when when i run "rostopic list" in my ubuntu,  the error message of "un-able to connect to master" come out.  i tried in both root and catkin directory and its failed.  i have done the env setup as proposed below:
plendev:
ROS_MASTER_URI=http://192.168.1.175:11311
ROS_IP=192.168.1.175
ROS_HOSTNAME=192.168.1.175

laptop :
ROS_MASTER_URI=http://192.168.1.175:11311
ROS_IP=192.168.1.94
ROS_HOSTNAME=192.168.1.94
...
i also tried to run the command from the Plendev using putty line :
laptop> rostopic pub -1 /I2cToControl std_msgs/String -- "gpio,w,on" 

and its works now but my plendev is kind of stuck at this LED blink ... is there a way for me to gain control back to Plendev ?
now i lost the connection to my PlenDev, IP ping doesnt seem to work now and putty connection lost to PlenDev

thanks for the great helps

#12 Re: Any Questions » Launch ROS processes in Intel Edison » 2016-08-22 13:41:45

thank you wingcloud.  appreciate your guidance

#13 Re: Any Questions » Launch ROS processes in Intel Edison » 2016-08-17 15:31:37

hi Wingcloud,

i manage to get communication back to my PLEN2dev after reset. what i notice is when i check the environment with "env" command, i notice below response from the Edison:

root@PLEN2devxxxxx:~# env
TERM=xterm
SHELL=/bin/sh
ROS_ROOT=/opt/ros/indigo
SSH_CLIENT=192.168.1.94 62991 22
ROS_PACKAGE_PATH=/opt/ros/indigo/share
ROS_MASTER_URI=http://192.168.42.1:11311
OLDPWD=/home/root/catkin_ws
SSH_TTY=/dev/pts/0
USER=root
LD_LIBRARY_PATH=/opt/ros/indigo/lib
MAIL=/var/mail/root
PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/opt/ros/indigo/bin:/usr/local/libexec/bluetooth/
PWD=/home/root
EDITOR=/bin/vi
ROS_HOSTNAME=192.168.42.1
NODE_PATH=/usr/lib/node_modules/
PS1=u@h:w$
SHLVL=1
HOME=/home/root
ROS_DISTRO=indigo
PYTHONPATH=/opt/ros/indigo/lib/python2.7/site-packages
LOGNAME=root
ROS_IP=192.168.42.1
SSH_CONNECTION=192.168.1.94 62991 192.168.1.75 22
CMAKE_PREFIX_PATH=/opt/ros/indigo
_=/usr/bin/env

with this setting, has the ROS installed successfully ? what are the next steps i need to work on in order to get my PLEN2dev to be able to run with ROS ? 

p/s: 192.168.1.175 - DHCP IP assigned by my local router through wifi.
       192.168.1.94 is - DHCP IP assigned for my laptop

thanks for the prompt response.

#14 Re: Any Questions » Launch ROS processes in Intel Edison » 2016-08-17 07:05:21

hi Wingcloud,

what i did was, i connect the SSID : Plen2devxxxx first, then i register the Plen2dev to my local router and associate it to a local IP which assigned by my router through DHCP.  I use the new DHCP ip to connect to Plen2dev via Putty.  i have the userid: root and password as plenproject for access.  I manage to access to the root directory.  The next step i did was to export the ROS IP and ROS hostname with the local IP address assigned by DHCP.   the moment i export the hostname, before i can export the ROS_MASTER_URI, the connection to my putty lost and i cant ping the Plen2dev anymore.

do you know if there a way to recover the communication to the Edison on the head board ?  thanks in advance

#15 Re: Any Questions » Launch ROS processes in Intel Edison » 2016-08-17 00:11:39

hi,

i am facing problem to re-connect to my PLENDEV via WIFI after i done the first two export command.

export ROS_IP=<PC_IP_ADDRESS>  -- (done)
export ROS_HOSTNAME=<PC_IP_ADDRESS> -- (done)
export ROS_MASTER_URI=http://192.168.42.1:11311 -- (not done and the PLENDEV communication stop)

i now cant connect back to my PLENDEV with the original local wifi connection through my local router.
its seem like after export command the PLENDEV LED (both eyes) are blinking on and off.

appreciate if you can help on getting me back to the robot communication.  thanks

Board footer

Powered by FluxBB