#26 2016-10-02 16:35:44

ylee12
Member
Registered: 2016-04-19
Posts: 15

Re: Launch ROS processes in Intel Edison

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

Offline

#27 2016-10-04 13:22:32

ylee12
Member
Registered: 2016-04-19
Posts: 15

Re: Launch ROS processes in Intel Edison

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

Offline

#28 2016-10-04 14:39:51

wingcloud
Moderator
Registered: 2016-05-26
Posts: 24

Re: Launch ROS processes in Intel Edison

Hi Lee,

Our plendev uses systemd to run /home/root/plen-dev.sh.

To confirm it, run
  systemctl list-unit-files --type=service | grep plen
  cat /etc/systemd/system/plen-dev.service
on your plendev.

You can start or stop plen-dev.service by yourself:
  systemctl [start/stop] plen-dev
and check the status:
  systemctl status plen-dev

I hope it would help you.


wingcloud

Offline

#29 2016-10-04 15:34:33

ylee12
Member
Registered: 2016-04-19
Posts: 15

Re: Launch ROS processes in Intel Edison

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

Offline

#30 2016-10-05 14:02:23

wingcloud
Moderator
Registered: 2016-05-26
Posts: 24

Re: Launch ROS processes in Intel Edison

Hi Lee,

In my understanding, you can initialize plendev nodes step-by-step as follows:
  rfkill unblock bluetooth // enable bluetooth
  roscore&                     // launch roscore/rosmaster
  python /opt/ros/indigo/lib/plen/bleNode.py& // initialize each node (in no particular order)
  python /opt/ros/indigo/lib/plen/serialNode.py&
  python /opt/ros/indigo/lib/plen/gpioNode.py&
  python /opt/ros/indigo/lib/plen/controlNode.py&
  python /opt/ros/indigo/lib/plen/i2cNode.py&


wingcloud

Offline

Board footer

Powered by FluxBB