Re: [ros-users] how to "rosparam set" with a negative number…

トップ ページ
添付ファイル:
Eメールのメッセージ
+ (text/plain)
このメッセージを削除
このメッセージに返信
著者: Ken Conley
日付:  
To: ros-users
題目: Re: [ros-users] how to "rosparam set" with a negative number?
The issue is telling optparse that options are over:

rosparam set /longitude -- -97.728524

Not the most obvious solution, blame POSIX :)

- Ken

On Tue, Apr 13, 2010 at 8:21 AM, Jack O'Quin <> wrote:
> Maybe I'm overlooking something obvious here, but this fails:
>
> $ rosparam set /longitude -97.728524
> Usage: rosparam set [options] parameter value
>
> rosparam: error: no such option: -9
>
> Is there some trick? Quoting does not help.
>
> I can rosparam load the value from a YAML file, but I still wonder how
> to do it from the command line.
> --
>  joq
> _______________________________________________
> ros-users mailing list
>
> https://code.ros.org/mailman/listinfo/ros-users
>