#1 Re: Any Questions » git repo access? » 2016-10-18 03:00:48

Hi Guvalif,

Thank you for your comment. I'm so glad to hear that your git repository is back.
I know any trouble within the team is sad and exhausting, but it's sometimes NOT avoidable...
Cheer up!

#2 Re: Any Questions » Launch ROS processes in Intel Edison » 2016-10-05 14:02:23

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&

#3 Re: Any Questions » Launch ROS processes in Intel Edison » 2016-10-04 14:39:51

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.

#5 Re: Any Questions » Launch ROS processes in Intel Edison » 2016-09-30 07:36:34

Hi Lee,

I see. You can control your plendev's motion through USB connection,
but you cannot do through BLE/Wifi connection.
Because the control board has the USB connector and the Edison has BLE/Wifi chip,
the connection between the control board and the Edison is most suspicious.

Is it from the beginning? It is likely hardware trouble, I suppose.
You can check the cable by your multimeter of course,
but how about consulting the official support team first?

#6 Re: Any Questions » Launch ROS processes in Intel Edison » 2016-09-29 12:47:03

Hi Lee,

Can you get your plendev to move by the PLENconnect?

#7 Re: Any Questions » Launch ROS processes in Intel Edison » 2016-09-28 22:41:13

Hi Lee,

>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 ?
It does not matter at all.

>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 ?
I'm using the left one. If you can control your plendev by the PLENconnect, it must be OK.

In the plendev please run
  rostopic echo /BleToControl
and tap the 'bow' motion in the PLENconnect, then you will get a message on your console like this:
>data: serial,w,$MP04
>---
>data: gpio,w,act
>---
(If you don't get anything, please tap several times.
I don't know why, but sometimes it seems to fail to show these messages.)
This means the message 'serial,w,$MP04' was sent on the topic /BleToControl.
And your plendev read them and bowed, didn't he/she?
So, if you send the same message on the same topic, your plendev must bow.
  rostopic pub -1 /BleToControl std_msgs/String -- 'serial,w,$MP04'

Take it easy.

#8 Re: Any Questions » git repo access? » 2016-09-28 09:57:13

Hi mtakahar,

It seems to be a serious problem.
The original author of some CAD files claims that they must be removed from the plenproject repository.
https://github.com/github/dmca/blob/mas … 20-PLEN.md

His claim sounds reasonable.
I wait for the plenproject team's explanation. I'm very very sorry.

#9 Re: Any Questions » Launch ROS processes in Intel Edison » 2016-09-28 03:47:34

Hi ylee12,

Hmm.. It worked for my plendev.
As the tutorial says, 'serial,w,$pm04' means 'play the motion in the slot #4'.
The slot #4 of your plendev may be empty.

How about other slots?
Or you can try (re)installing motions into your plendev by motioninstaller.

#10 Re: Any Questions » Launch ROS processes in Intel Edison » 2016-09-27 17:44:11

Hi ylee12,

try:
rostopic pub -1 /PcToControl std_msgs/String -- 'serial,w,$pm04'

bash may consider $xxx in double quotes as an environment variable.

#11 Re: Any Questions » Launch ROS processes in Intel Edison » 2016-09-27 05:37:07

Hi ylee12,

>  i plan to use BLE to trigger plen "wake up"  is there a way to do so ?
It must be cute! I believe it's not so difficult, theoretically.

First, you need to ensure to connect your ble device to the intel edison of your plendev somehow.
[BLE device]->[Intel Edison(plendev)]-[Control Board(plendev)]
You can find some good guides about it online.
For example:
https://software.intel.com/en-us/articl … tel-edison

Then, it's ok to write a small ROS program to publish a ROS message to the /BleToControl topic when the BLE event is caught.
[BLE device]->[Intel Edison(plendev)]->[Control Board(plendev)]

I would be happy if it's of some help.

#12 Re: Any Questions » Launch ROS processes in Intel Edison » 2016-09-26 23:20:23

Hi ylee12,

Sorry for my very late response.
Your ROS setting seems to be correct. I don't know why your laptop couldn't connect to the master...
If you often lose the connection to your plendev, I recommend you to check your network setting up.
That's all I come up with. But the network trouble is always nightmare, isn't it? :(
I'm sorry that I wasn't very helpful.

> 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 ?

You don't need to do anything special. It's enough to turn LED off:
  rostopic pub -1 /I2cToControl std_msgs/String -- "gpio,w,off"
Plendev is always waiting for your command even before your first command by ROS(ROS message).
More precisely, the process called "ControlNode" of plendev is watching these topics
and receives various commands through them:
/BleToControl
/GpioToControl
/I2cToControl
/PcToControl
/SerialToControl

#13 Re: Any Questions » Launch ROS processes in Intel Edison » 2016-08-18 12:26:47

Hi ylee12,

I'm glad to hear your plen has recovered. Congrats!

In our plendev, ROS is running by default.
But because you changed the network setting, you need to reconfigure several ROS environment variables of your plendev as follows:
ROS_MASTER_URI=http://192.168.1.175:11311
ROS_IP=192.168.1.175
ROS_HOSTNAME=192.168.1.175

I recommend you reboot your plendev once here.
Your laptop should bet set as follows:
ROS_MASTER_URI=http://192.168.1.175:11311
ROS_IP=192.168.1.94
ROS_HOSTNAME=192.168.1.94
(If you haven't installed ROS to your laptop, please install it.)

Then, your plendev and laptop must be in one ROS system now.
To make sure of it, please run
laptop> rostopic list
You will receive the list of topics in your ROS system like this:
/BleToControl
/ControlToBle
/ControlToGpio
/ControlToI2c
/ControlToSerial
/GpioToControl
/I2cToControl
/PcToControl
/SerialToControl
/rosout
/rosout_agg

How about controlling the LEDs of your plen from your laptop for the next step?
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"

Enjoy!

#14 Re: Any Questions » Launch ROS processes in Intel Edison » 2016-08-17 10:16:40

Hi ylee12,

I see...
You might fail to configure the auto-connection of your plendev to your local router
and your plendev rebooted unintetionally. Can't you find the PLEN2devxxxx network either?
If not so, you need Arduino expansion board or mini breakout board to recover, in my understanding.
FYI:
https://plen.jp/playground/forum/viewtopic.php?id=67
https://software.intel.com/en-us/connec … t-over-usb

To tell the truth, I was obliged to buy a mini breakout board for my plendev, but it was worth buying for me.

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

Hi, ylee12

Do you mean you ran your first two export commands on your control PC
and suddenly it lost the connection with PLENDEV?
That sounds very strange.
Your export commands couldn't affect your wifi connection
because they just set some environment variables of ROS.

I'm afraid your PLENDEV and PC have another problem.
Did you surely connect your PLENDEV to the router?
By default, our PLENDEV makes his own local wifi network.
(SSID:PLEN2devXXXX)

#17 Re: Any Questions » Launch ROS processes in Intel Edison » 2016-07-17 11:58:42

Hi, brjapon

* Ensure the PC to connect to the ROS_MASTER_URI
I found a small mistake in the tutorial.
Try setting ROS_MASTER_URI with "http://" like this:
  export ROS_MASTER_URI=http://192.168.42.1:11311
To make sure that the PC is connected to the master process in the PLEN2,
run
  $ rostopic list
on the control PC, for example.

* Launch ROS processes in PLEN2
If you want to launch ROS processes in PLEN2 automatically,
add a command to run your script to
  /home/root/plen-dev.sh

* Launch ROS processes in control PC for running the blink LED script
As the tutorial says:
  $ python <CREATED_SCRIPT_NAME>

I think ROS is fun as well as PLEN2. Let's enjoy!

#18 Re: Any Questions » Smoke from a servo! » 2016-06-12 14:06:35

Hi, hyperhobby

I emailed to support@plen.jp,
but it should be OK to contact through http://plen.jp/contact/.

#19 Re: Any Questions » Plen 2 servos moving in random positions » 2016-06-12 13:33:55

Oh, dangerous! I'm afraid that too.
Let's wait for the official answer together.

#20 Re: Any Questions » Plen 2 servos moving in random positions » 2016-06-11 12:08:43

Hi, NiQui

I'm just a PLEN2 user. FYI:
I have experienced very similar motion several times
when my battery was almost empty.
Is your PLEN battery charged enough?

#21 Re: Any Questions » I can't use "PLEN connect" for PLEN2 dev » 2016-05-29 12:05:19

Hi, Guavalif

It worked!
I need to change BLESERIAL_BAUDRATE if I use wifi connection instead of BLE, right?
Thank you so much.

By the way, today in Sunday. Don't work too hard! :)

#22 Any Questions » I can't use "PLEN connect" for PLEN2 dev » 2016-05-29 02:51:35

wingcloud
Replies: 2

Hello again,

I enjoy to control my USB-connected PLEN2 dev by online Motion Editor and Control Server 1.3.0 now.
Next, I'd like to control it wirelessly. So I tried to use "PLEN connect" (iOS), but I failed...

I connect my iPhone to my PLEN2 dev through wifi(SSID:"PLEN2devXXX..", PASS:"plenproject")
then my PLEN2's LED blinks when I tap control icons of PLEN connect.
I think my PLEN2 receives some signals from PLEN connect successfully,
but it never moves.
From my understanding, PLEN connect runs installed motions in my PLEN2.
I already installed all motion samples to my PLEN2 dev by MotionInstaller.
What's wrong?

Thank you for your kindness.

#23 Re: Any Questions » Smoke from a servo! » 2016-05-27 09:51:27

Hi Guvalif,

Fortunately, the support team offered me to give a new servo for the broken one,
because it's likely an early failure. I'm happy!

Anyway, I understand we need to avoid big servo stress for safety.
Thank you.

#24 Any Questions » Smoke from a servo! » 2016-05-26 23:17:04

wingcloud
Replies: 4

Hi,

I received a PLEN2 dev edition assembly kit yesterday.
I believe I assembled it and I tuned up home positions without any troubles.
I could control all servos from ControlServer while tuning positions.

However, I found smoke from a servo when I switched it on today morning.
The servo seems to be broken. OMG.
I didn't send any signals yet today.
What happened and did I take some mistakes by any chance?
I'm new to use servos.

Thank you for your kindness.

Board footer

Powered by FluxBB